~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/configfs-usb-gadget

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/ABI/testing/configfs-usb-gadget (Version linux-6.12-rc7) and /Documentation/ABI/testing/configfs-usb-gadget (Version linux-5.6.19)


  1 What:           /config/usb-gadget                  1 What:           /config/usb-gadget
  2 Date:           Jun 2013                            2 Date:           Jun 2013
  3 KernelVersion:  3.11                                3 KernelVersion:  3.11
  4 Description:                                        4 Description:
  5                 This group contains sub-groups      5                 This group contains sub-groups corresponding to created
  6                 USB gadgets.                        6                 USB gadgets.
  7                                                     7 
  8 What:           /config/usb-gadget/gadget           8 What:           /config/usb-gadget/gadget
  9 Date:           Jun 2013                            9 Date:           Jun 2013
 10 KernelVersion:  3.11                               10 KernelVersion:  3.11
 11 Description:                                       11 Description:
 12                                                    12 
 13                 The attributes of a gadget:        13                 The attributes of a gadget:
 14                                                    14 
 15                 ================  ============ !!  15                 UDC             - bind a gadget to UDC/unbind a gadget;
 16                 UDC               bind a gadge !!  16                                 write UDC's name found in /sys/class/udc/*
 17                                   write UDC's  !!  17                                 to bind a gadget, empty string "" to unbind.
 18                                   to bind a ga !!  18 
 19                                                !!  19                 max_speed       - maximum speed the driver supports. Valid
 20                 max_speed         maximum spee !!  20                                 names are super-speed-plus, super-speed,
 21                                   names are su !!  21                                 high-speed, full-speed, and low-speed.
 22                                   high-speed,  !!  22 
 23                                                !!  23                 bDeviceClass    - USB device class code
 24                 bDeviceClass      USB device c !!  24                 bDeviceSubClass - USB device subclass code
 25                 bDeviceSubClass   USB device s !!  25                 bDeviceProtocol - USB device protocol code
 26                 bDeviceProtocol   USB device p !!  26                 bMaxPacketSize0 - maximum endpoint 0 packet size
 27                 bMaxPacketSize0   maximum endp !!  27                 bcdDevice       - bcd device release number
 28                 bcdDevice         bcd device r !!  28                 bcdUSB          - bcd USB specification version number
 29                 bcdUSB            bcd USB spec !!  29                 idProduct       - product ID
 30                 idProduct         product ID   !!  30                 idVendor        - vendor ID
 31                 idVendor          vendor ID    << 
 32                 ================  ============ << 
 33                                                    31 
 34 What:           /config/usb-gadget/gadget/conf     32 What:           /config/usb-gadget/gadget/configs
 35 Date:           Jun 2013                           33 Date:           Jun 2013
 36 KernelVersion:  3.11                               34 KernelVersion:  3.11
 37 Description:                                       35 Description:
 38                 This group contains a USB gadg     36                 This group contains a USB gadget's configurations
 39                                                    37 
 40 What:           /config/usb-gadget/gadget/conf     38 What:           /config/usb-gadget/gadget/configs/config
 41 Date:           Jun 2013                           39 Date:           Jun 2013
 42 KernelVersion:  3.11                               40 KernelVersion:  3.11
 43 Description:                                       41 Description:
 44                 The attributes of a configurat     42                 The attributes of a configuration:
 45                                                    43 
 46                 ================  ============ !!  44                 bmAttributes    - configuration characteristics
 47                 bmAttributes      configuratio !!  45                 MaxPower        - maximum power consumption from the bus
 48                 MaxPower          maximum powe << 
 49                 ================  ============ << 
 50                                                    46 
 51 What:           /config/usb-gadget/gadget/conf     47 What:           /config/usb-gadget/gadget/configs/config/strings
 52 Date:           Jun 2013                           48 Date:           Jun 2013
 53 KernelVersion:  3.11                               49 KernelVersion:  3.11
 54 Description:                                       50 Description:
 55                 This group contains subdirecto     51                 This group contains subdirectories for language-specific
 56                 strings for this configuration     52                 strings for this configuration.
 57                                                    53 
 58 What:           /config/usb-gadget/gadget/conf     54 What:           /config/usb-gadget/gadget/configs/config/strings/language
 59 Date:           Jun 2013                           55 Date:           Jun 2013
 60 KernelVersion:  3.11                               56 KernelVersion:  3.11
 61 Description:                                       57 Description:
 62                 The attributes:                    58                 The attributes:
 63                                                    59 
 64                 ================  ============ !!  60                 configuration   - configuration description
 65                 configuration     configuratio << 
 66                 ================  ============ << 
 67                                                    61 
 68                                                    62 
 69 What:           /config/usb-gadget/gadget/func     63 What:           /config/usb-gadget/gadget/functions
 70 Date:           Jun 2013                           64 Date:           Jun 2013
 71 KernelVersion:  3.11                               65 KernelVersion:  3.11
 72 Description:                                       66 Description:
 73                 This group contains functions      67                 This group contains functions available to this USB gadget.
 74                                                    68 
 75 What:           /config/usb-gadget/gadget/func     69 What:           /config/usb-gadget/gadget/functions/<func>.<inst>/interface.<n>
 76 Date:           May 2014                           70 Date:           May 2014
 77 KernelVersion:  3.16                               71 KernelVersion:  3.16
 78 Description:                                       72 Description:
 79                 This group contains "Feature D     73                 This group contains "Feature Descriptors" specific for one
 80                 gadget's USB interface or one      74                 gadget's USB interface or one interface group described
 81                 by an IAD.                         75                 by an IAD.
 82                                                    76 
 83                 The attributes:                    77                 The attributes:
 84                                                    78 
 85                 =================       ====== !!  79                 compatible_id           - 8-byte string for "Compatible ID"
 86                 compatible_id           8-byte !!  80                 sub_compatible_id       - 8-byte string for "Sub Compatible ID"
 87                 sub_compatible_id       8-byte << 
 88                 =================       ====== << 
 89                                                    81 
 90 What:           /config/usb-gadget/gadget/func     82 What:           /config/usb-gadget/gadget/functions/<func>.<inst>/interface.<n>/<property>
 91 Date:           May 2014                           83 Date:           May 2014
 92 KernelVersion:  3.16                               84 KernelVersion:  3.16
 93 Description:                                       85 Description:
 94                 This group contains "Extended      86                 This group contains "Extended Property Descriptors" specific for one
 95                 gadget's USB interface or one      87                 gadget's USB interface or one interface group described
 96                 by an IAD.                         88                 by an IAD.
 97                                                    89 
 98                 The attributes:                    90                 The attributes:
 99                                                    91 
100                 =====           ============== !!  92                 type            - value 1..7 for interpreting the data
101                 type            value 1..7 for !!  93                                 1: unicode string
102                                                !!  94                                 2: unicode string with environment variable
103                                 - 1: unicode s !!  95                                 3: binary
104                                 - 2: unicode s !!  96                                 4: little-endian 32-bit
105                                 - 3: binary    !!  97                                 5: big-endian 32-bit
106                                 - 4: little-en !!  98                                 6: unicode string with a symbolic link
107                                 - 5: big-endia !!  99                                 7: multiple unicode strings
108                                 - 6: unicode s !! 100                 data            - blob of data to be interpreted depending on
109                                 - 7: multiple  << 
110                 data            blob of data t << 
111                                 type              101                                 type
112                 =====           ============== << 
113                                                   102 
114 What:           /config/usb-gadget/gadget/stri    103 What:           /config/usb-gadget/gadget/strings
115 Date:           Jun 2013                          104 Date:           Jun 2013
116 KernelVersion:  3.11                              105 KernelVersion:  3.11
117 Description:                                      106 Description:
118                 This group contains subdirecto    107                 This group contains subdirectories for language-specific
119                 strings for this gadget.          108                 strings for this gadget.
120                                                   109 
121 What:           /config/usb-gadget/gadget/stri    110 What:           /config/usb-gadget/gadget/strings/language
122 Date:           Jun 2013                          111 Date:           Jun 2013
123 KernelVersion:  3.11                              112 KernelVersion:  3.11
124 Description:                                      113 Description:
125                 The attributes:                   114                 The attributes:
126                                                   115 
127                 ============    ============== !! 116                 serialnumber    - gadget's serial number (string)
128                 serialnumber    gadget's seria !! 117                 product         - gadget's product description
129                 product         gadget's produ !! 118                 manufacturer    - gadget's manufacturer description
130                 manufacturer    gadget's manuf << 
131                 ============    ============== << 
132                                                   119 
133 What:           /config/usb-gadget/gadget/os_d    120 What:           /config/usb-gadget/gadget/os_desc
134 Date:           May 2014                          121 Date:           May 2014
135 KernelVersion:  3.16                              122 KernelVersion:  3.16
136 Description:                                      123 Description:
137                 This group contains "OS String    124                 This group contains "OS String" extension handling attributes.
138                                                   125 
139                 =============   ============== !! 126                 use             - flag turning "OS Desctiptors" support on/off
140                 use             flag turning " !! 127                 b_vendor_code   - one-byte value used for custom per-device and
141                 b_vendor_code   one-byte value << 
142                                 per-interface     128                                 per-interface requests
143                 qw_sign         an identifier  !! 129                 qw_sign         - an identifier to be reported as "OS String"
144                                 proper            130                                 proper
145                 =============   ============== << 
146                                                << 
147 What:           /config/usb-gadget/gadget/webu << 
148 Date:           Dec 2022                       << 
149 KernelVersion:  6.3                            << 
150 Description:                                   << 
151                 This group contains "WebUSB" e << 
152                                                << 
153                 =============   ============== << 
154                 use             flag turning " << 
155                 bcdVersion      bcd WebUSB spe << 
156                 bVendorCode     one-byte value << 
157                 landingPage     UTF-8 encoded  << 
158                 =============   ============== << 
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php