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 bDeviceClass - USB device class code 20 max_speed maximum spee !! 20 bDeviceSubClass - USB device subclass code 21 names are su !! 21 bDeviceProtocol - USB device protocol code 22 high-speed, !! 22 bMaxPacketSize0 - maximum endpoint 0 packet size 23 !! 23 bcdDevice - bcd device release number 24 bDeviceClass USB device c !! 24 bcdUSB - bcd USB specification version number 25 bDeviceSubClass USB device s !! 25 idProduct - product ID 26 bDeviceProtocol USB device p !! 26 idVendor - vendor ID 27 bMaxPacketSize0 maximum endp << 28 bcdDevice bcd device r << 29 bcdUSB bcd USB spec << 30 idProduct product ID << 31 idVendor vendor ID << 32 ================ ============ << 33 27 34 What: /config/usb-gadget/gadget/conf 28 What: /config/usb-gadget/gadget/configs 35 Date: Jun 2013 29 Date: Jun 2013 36 KernelVersion: 3.11 30 KernelVersion: 3.11 37 Description: 31 Description: 38 This group contains a USB gadg 32 This group contains a USB gadget's configurations 39 33 40 What: /config/usb-gadget/gadget/conf 34 What: /config/usb-gadget/gadget/configs/config 41 Date: Jun 2013 35 Date: Jun 2013 42 KernelVersion: 3.11 36 KernelVersion: 3.11 43 Description: 37 Description: 44 The attributes of a configurat 38 The attributes of a configuration: 45 39 46 ================ ============ !! 40 bmAttributes - configuration characteristics 47 bmAttributes configuratio !! 41 MaxPower - maximum power consumption from the bus 48 MaxPower maximum powe << 49 ================ ============ << 50 42 51 What: /config/usb-gadget/gadget/conf 43 What: /config/usb-gadget/gadget/configs/config/strings 52 Date: Jun 2013 44 Date: Jun 2013 53 KernelVersion: 3.11 45 KernelVersion: 3.11 54 Description: 46 Description: 55 This group contains subdirecto 47 This group contains subdirectories for language-specific 56 strings for this configuration 48 strings for this configuration. 57 49 58 What: /config/usb-gadget/gadget/conf 50 What: /config/usb-gadget/gadget/configs/config/strings/language 59 Date: Jun 2013 51 Date: Jun 2013 60 KernelVersion: 3.11 52 KernelVersion: 3.11 61 Description: 53 Description: 62 The attributes: 54 The attributes: 63 55 64 ================ ============ !! 56 configuration - configuration description 65 configuration configuratio << 66 ================ ============ << 67 57 68 58 69 What: /config/usb-gadget/gadget/func 59 What: /config/usb-gadget/gadget/functions 70 Date: Jun 2013 60 Date: Jun 2013 71 KernelVersion: 3.11 61 KernelVersion: 3.11 72 Description: 62 Description: 73 This group contains functions 63 This group contains functions available to this USB gadget. 74 64 75 What: /config/usb-gadget/gadget/func 65 What: /config/usb-gadget/gadget/functions/<func>.<inst>/interface.<n> 76 Date: May 2014 66 Date: May 2014 77 KernelVersion: 3.16 67 KernelVersion: 3.16 78 Description: 68 Description: 79 This group contains "Feature D 69 This group contains "Feature Descriptors" specific for one 80 gadget's USB interface or one 70 gadget's USB interface or one interface group described 81 by an IAD. 71 by an IAD. 82 72 83 The attributes: 73 The attributes: 84 74 85 ================= ====== !! 75 compatible_id - 8-byte string for "Compatible ID" 86 compatible_id 8-byte !! 76 sub_compatible_id - 8-byte string for "Sub Compatible ID" 87 sub_compatible_id 8-byte << 88 ================= ====== << 89 77 90 What: /config/usb-gadget/gadget/func 78 What: /config/usb-gadget/gadget/functions/<func>.<inst>/interface.<n>/<property> 91 Date: May 2014 79 Date: May 2014 92 KernelVersion: 3.16 80 KernelVersion: 3.16 93 Description: 81 Description: 94 This group contains "Extended 82 This group contains "Extended Property Descriptors" specific for one 95 gadget's USB interface or one 83 gadget's USB interface or one interface group described 96 by an IAD. 84 by an IAD. 97 85 98 The attributes: 86 The attributes: 99 87 100 ===== ============== !! 88 type - value 1..7 for interpreting the data 101 type value 1..7 for !! 89 1: unicode string 102 !! 90 2: unicode string with environment variable 103 - 1: unicode s !! 91 3: binary 104 - 2: unicode s !! 92 4: little-endian 32-bit 105 - 3: binary !! 93 5: big-endian 32-bit 106 - 4: little-en !! 94 6: unicode string with a symbolic link 107 - 5: big-endia !! 95 7: multiple unicode strings 108 - 6: unicode s !! 96 data - blob of data to be interpreted depending on 109 - 7: multiple << 110 data blob of data t << 111 type 97 type 112 ===== ============== << 113 98 114 What: /config/usb-gadget/gadget/stri 99 What: /config/usb-gadget/gadget/strings 115 Date: Jun 2013 100 Date: Jun 2013 116 KernelVersion: 3.11 101 KernelVersion: 3.11 117 Description: 102 Description: 118 This group contains subdirecto 103 This group contains subdirectories for language-specific 119 strings for this gadget. 104 strings for this gadget. 120 105 121 What: /config/usb-gadget/gadget/stri 106 What: /config/usb-gadget/gadget/strings/language 122 Date: Jun 2013 107 Date: Jun 2013 123 KernelVersion: 3.11 108 KernelVersion: 3.11 124 Description: 109 Description: 125 The attributes: 110 The attributes: 126 111 127 ============ ============== !! 112 serialnumber - gadget's serial number (string) 128 serialnumber gadget's seria !! 113 product - gadget's product description 129 product gadget's produ !! 114 manufacturer - gadget's manufacturer description 130 manufacturer gadget's manuf << 131 ============ ============== << 132 115 133 What: /config/usb-gadget/gadget/os_d 116 What: /config/usb-gadget/gadget/os_desc 134 Date: May 2014 117 Date: May 2014 135 KernelVersion: 3.16 118 KernelVersion: 3.16 136 Description: 119 Description: 137 This group contains "OS String 120 This group contains "OS String" extension handling attributes. 138 121 139 ============= ============== !! 122 use - flag turning "OS Desctiptors" support on/off 140 use flag turning " !! 123 b_vendor_code - one-byte value used for custom per-device and 141 b_vendor_code one-byte value << 142 per-interface 124 per-interface requests 143 qw_sign an identifier !! 125 qw_sign - an identifier to be reported as "OS String" 144 proper 126 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 ============= ============== <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.