blob: 01e769d6984d575bc431b3be14f014434633427b [file] [log] [blame]
Andrzej Pietrasiewicz5b92f462013-06-13 10:37:26 +02001What: /config/usb-gadget
2Date: Jun 2013
3KenelVersion: 3.11
4Description:
5 This group contains sub-groups corresponding to created
6 USB gadgets.
7
8What: /config/usb-gadget/gadget
9Date: Jun 2013
10KenelVersion: 3.11
11Description:
12
13 The attributes of a gadget:
14
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 bDeviceClass - USB device class code
20 bDeviceSubClass - USB device subclass code
21 bDeviceProtocol - USB device protocol code
22 bMaxPacketSize0 - maximum endpoint 0 packet size
23 bcdDevice - bcd device release number
24 bcdUSB - bcd USB specification version number
25 idProduct - product ID
26 idVendor - vendor ID
27
28What: /config/usb-gadget/gadget/configs
29Date: Jun 2013
30KenelVersion: 3.11
31Description:
32 This group contains a USB gadget's configurations
33
34What: /config/usb-gadget/gadget/configs/config
35Date: Jun 2013
36KernelVersion: 3.11
37Description:
38 The attributes of a configuration:
39
40 bmAttributes - configuration characteristics
41 MaxPower - maximum power consumption from the bus
42
43What: /config/usb-gadget/gadget/configs/config/strings
44Date: Jun 2013
45KernelVersion: 3.11
46Description:
47 This group contains subdirectories for language-specific
48 strings for this configuration.
49
50What: /config/usb-gadget/gadget/configs/config/strings/language
51Date: Jun 2013
52KernelVersion: 3.11
53Description:
54 The attributes:
55
56 configuration - configuration description
57
58
59What: /config/usb-gadget/gadget/functions
60Date: Jun 2013
61KenelVersion: 3.11
62Description:
63 This group contains functions available to this USB gadget.
64
65What: /config/usb-gadget/gadget/strings
66Date: Jun 2013
67KenelVersion: 3.11
68Description:
69 This group contains subdirectories for language-specific
70 strings for this gadget.
71
72What: /config/usb-gadget/gadget/strings/language
73Date: Jun 2013
74KenelVersion: 3.11
75Description:
76 The attributes:
77
78 serialnumber - gadget's serial number (string)
79 product - gadget's product description
80 manufacturer - gadget's manufacturer description
81