brintos

brintos / linux-shallow public Read only

0
0
Text · 4.8 KiB · a8bb896 Raw
159 lines · plain
1What:		/config/usb-gadget2Date:		Jun 20133KernelVersion:	3.114Description:5		This group contains sub-groups corresponding to created6		USB gadgets.7 8What:		/config/usb-gadget/gadget9Date:		Jun 201310KernelVersion:	3.1111Description:12 13		The attributes of a gadget:14 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. Valid21				  names are super-speed-plus, super-speed,22				  high-speed, full-speed, and low-speed.23 24		bDeviceClass	  USB device class code25		bDeviceSubClass	  USB device subclass code26		bDeviceProtocol	  USB device protocol code27		bMaxPacketSize0	  maximum endpoint 0 packet size28		bcdDevice	  bcd device release number29		bcdUSB		  bcd USB specification version number30		idProduct	  product ID31		idVendor	  vendor ID32		================  ============================================33 34What:		/config/usb-gadget/gadget/configs35Date:		Jun 201336KernelVersion:	3.1137Description:38		This group contains a USB gadget's configurations39 40What:		/config/usb-gadget/gadget/configs/config41Date:		Jun 201342KernelVersion:	3.1143Description:44		The attributes of a configuration:45 46		================  ======================================47		bmAttributes	  configuration characteristics48		MaxPower	  maximum power consumption from the bus49		================  ======================================50 51What:		/config/usb-gadget/gadget/configs/config/strings52Date:		Jun 201353KernelVersion:	3.1154Description:55		This group contains subdirectories for language-specific56		strings for this configuration.57 58What:		/config/usb-gadget/gadget/configs/config/strings/language59Date:		Jun 201360KernelVersion:	3.1161Description:62		The attributes:63 64		================  =========================65		configuration	  configuration description66		================  =========================67 68 69What:		/config/usb-gadget/gadget/functions70Date:		Jun 201371KernelVersion:	3.1172Description:73		This group contains functions available to this USB gadget.74 75What:		/config/usb-gadget/gadget/functions/<func>.<inst>/interface.<n>76Date:		May 201477KernelVersion:	3.1678Description:79		This group contains "Feature Descriptors" specific for one80		gadget's USB interface or one interface group described81		by an IAD.82 83		The attributes:84 85		=================	=====================================86		compatible_id		8-byte string for "Compatible ID"87		sub_compatible_id	8-byte string for "Sub Compatible ID"88		=================	=====================================89 90What:		/config/usb-gadget/gadget/functions/<func>.<inst>/interface.<n>/<property>91Date:		May 201492KernelVersion:	3.1693Description:94		This group contains "Extended Property Descriptors" specific for one95		gadget's USB interface or one interface group described96		by an IAD.97 98		The attributes:99 100		=====		===============================================101		type		value 1..7 for interpreting the data102 103				- 1: unicode string104				- 2: unicode string with environment variable105				- 3: binary106				- 4: little-endian 32-bit107				- 5: big-endian 32-bit108				- 6: unicode string with a symbolic link109				- 7: multiple unicode strings110		data		blob of data to be interpreted depending on111				type112		=====		===============================================113 114What:		/config/usb-gadget/gadget/strings115Date:		Jun 2013116KernelVersion:	3.11117Description:118		This group contains subdirectories for language-specific119		strings for this gadget.120 121What:		/config/usb-gadget/gadget/strings/language122Date:		Jun 2013123KernelVersion:	3.11124Description:125		The attributes:126 127		============	=================================128		serialnumber	gadget's serial number (string)129		product		gadget's product description130		manufacturer	gadget's manufacturer description131		============	=================================132 133What:		/config/usb-gadget/gadget/os_desc134Date:		May 2014135KernelVersion:	3.16136Description:137		This group contains "OS String" extension handling attributes.138 139		=============	===============================================140		use		flag turning "OS Descriptors" support on/off141		b_vendor_code	one-byte value used for custom per-device and142				per-interface requests143		qw_sign		an identifier to be reported as "OS String"144				proper145		=============	===============================================146 147What:		/config/usb-gadget/gadget/webusb148Date:		Dec 2022149KernelVersion:	6.3150Description:151		This group contains "WebUSB" extension handling attributes.152 153		=============	===============================================154		use		flag turning "WebUSB" support on/off155		bcdVersion	bcd WebUSB specification version number156		bVendorCode	one-byte value used for custom per-device157		landingPage	UTF-8 encoded URL of the device's landing page158		=============	===============================================159