@@ -12,22 +12,24 @@ Description:
1212
1313 The attributes of a gadget:
1414
15- UDC - bind a gadget to UDC/unbind a gadget;
16- write UDC's name found in /sys/class/udc/*
17- to bind a gadget, empty string "" to unbind.
18-
19- max_speed - maximum speed the driver supports. Valid
20- names are super-speed-plus, super-speed,
21- high-speed, full-speed, and low-speed.
22-
23- bDeviceClass - USB device class code
24- bDeviceSubClass - USB device subclass code
25- bDeviceProtocol - USB device protocol code
26- bMaxPacketSize0 - maximum endpoint 0 packet size
27- bcdDevice - bcd device release number
28- bcdUSB - bcd USB specification version number
29- idProduct - product ID
30- idVendor - vendor ID
15+ ================ ============================================
16+ UDC bind a gadget to UDC/unbind a gadget;
17+ write UDC's name found in /sys/class/udc/*
18+ to bind a gadget, empty string "" to unbind.
19+
20+ max_speed maximum speed the driver supports. Valid
21+ names are super-speed-plus, super-speed,
22+ high-speed, full-speed, and low-speed.
23+
24+ bDeviceClass USB device class code
25+ bDeviceSubClass USB device subclass code
26+ bDeviceProtocol USB device protocol code
27+ bMaxPacketSize0 maximum endpoint 0 packet size
28+ bcdDevice bcd device release number
29+ bcdUSB bcd USB specification version number
30+ idProduct product ID
31+ idVendor vendor ID
32+ ================ ============================================
3133
3234What: /config/usb-gadget/gadget/configs
3335Date: Jun 2013
@@ -41,8 +43,10 @@ KernelVersion: 3.11
4143Description:
4244 The attributes of a configuration:
4345
44- bmAttributes - configuration characteristics
45- MaxPower - maximum power consumption from the bus
46+ ================ ======================================
47+ bmAttributes configuration characteristics
48+ MaxPower maximum power consumption from the bus
49+ ================ ======================================
4650
4751What: /config/usb-gadget/gadget/configs/config/strings
4852Date: Jun 2013
@@ -57,7 +61,9 @@ KernelVersion: 3.11
5761Description:
5862 The attributes:
5963
60- configuration - configuration description
64+ ================ =========================
65+ configuration configuration description
66+ ================ =========================
6167
6268
6369What: /config/usb-gadget/gadget/functions
@@ -76,8 +82,10 @@ Description:
7682
7783 The attributes:
7884
79- compatible_id - 8-byte string for "Compatible ID"
80- sub_compatible_id - 8-byte string for "Sub Compatible ID"
85+ ================= =====================================
86+ compatible_id 8-byte string for "Compatible ID"
87+ sub_compatible_id 8-byte string for "Sub Compatible ID"
88+ ================= =====================================
8189
8290What: /config/usb-gadget/gadget/functions/<func>.<inst>/interface.<n>/<property>
8391Date: May 2014
@@ -89,16 +97,19 @@ Description:
8997
9098 The attributes:
9199
92- type - value 1..7 for interpreting the data
93- 1: unicode string
94- 2: unicode string with environment variable
95- 3: binary
96- 4: little-endian 32-bit
97- 5: big-endian 32-bit
98- 6: unicode string with a symbolic link
99- 7: multiple unicode strings
100- data - blob of data to be interpreted depending on
100+ ===== ===============================================
101+ type value 1..7 for interpreting the data
102+
103+ - 1: unicode string
104+ - 2: unicode string with environment variable
105+ - 3: binary
106+ - 4: little-endian 32-bit
107+ - 5: big-endian 32-bit
108+ - 6: unicode string with a symbolic link
109+ - 7: multiple unicode strings
110+ data blob of data to be interpreted depending on
101111 type
112+ ===== ===============================================
102113
103114What: /config/usb-gadget/gadget/strings
104115Date: Jun 2013
@@ -113,18 +124,22 @@ KernelVersion: 3.11
113124Description:
114125 The attributes:
115126
116- serialnumber - gadget's serial number (string)
117- product - gadget's product description
118- manufacturer - gadget's manufacturer description
127+ ============ =================================
128+ serialnumber gadget's serial number (string)
129+ product gadget's product description
130+ manufacturer gadget's manufacturer description
131+ ============ =================================
119132
120133What: /config/usb-gadget/gadget/os_desc
121134Date: May 2014
122135KernelVersion: 3.16
123136Description:
124137 This group contains "OS String" extension handling attributes.
125138
126- use - flag turning "OS Desctiptors" support on/off
127- b_vendor_code - one-byte value used for custom per-device and
139+ ============= ===============================================
140+ use flag turning "OS Desctiptors" support on/off
141+ b_vendor_code one-byte value used for custom per-device and
128142 per-interface requests
129- qw_sign - an identifier to be reported as "OS String"
143+ qw_sign an identifier to be reported as "OS String"
130144 proper
145+ ============= ===============================================
0 commit comments