162306a36Sopenharmony_ciWhat: /config/usb-gadget 262306a36Sopenharmony_ciDate: Jun 2013 362306a36Sopenharmony_ciKernelVersion: 3.11 462306a36Sopenharmony_ciDescription: 562306a36Sopenharmony_ci This group contains sub-groups corresponding to created 662306a36Sopenharmony_ci USB gadgets. 762306a36Sopenharmony_ci 862306a36Sopenharmony_ciWhat: /config/usb-gadget/gadget 962306a36Sopenharmony_ciDate: Jun 2013 1062306a36Sopenharmony_ciKernelVersion: 3.11 1162306a36Sopenharmony_ciDescription: 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci The attributes of a gadget: 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ci ================ ============================================ 1662306a36Sopenharmony_ci UDC bind a gadget to UDC/unbind a gadget; 1762306a36Sopenharmony_ci write UDC's name found in /sys/class/udc/* 1862306a36Sopenharmony_ci to bind a gadget, empty string "" to unbind. 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci max_speed maximum speed the driver supports. Valid 2162306a36Sopenharmony_ci names are super-speed-plus, super-speed, 2262306a36Sopenharmony_ci high-speed, full-speed, and low-speed. 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ci bDeviceClass USB device class code 2562306a36Sopenharmony_ci bDeviceSubClass USB device subclass code 2662306a36Sopenharmony_ci bDeviceProtocol USB device protocol code 2762306a36Sopenharmony_ci bMaxPacketSize0 maximum endpoint 0 packet size 2862306a36Sopenharmony_ci bcdDevice bcd device release number 2962306a36Sopenharmony_ci bcdUSB bcd USB specification version number 3062306a36Sopenharmony_ci idProduct product ID 3162306a36Sopenharmony_ci idVendor vendor ID 3262306a36Sopenharmony_ci ================ ============================================ 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ciWhat: /config/usb-gadget/gadget/configs 3562306a36Sopenharmony_ciDate: Jun 2013 3662306a36Sopenharmony_ciKernelVersion: 3.11 3762306a36Sopenharmony_ciDescription: 3862306a36Sopenharmony_ci This group contains a USB gadget's configurations 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ciWhat: /config/usb-gadget/gadget/configs/config 4162306a36Sopenharmony_ciDate: Jun 2013 4262306a36Sopenharmony_ciKernelVersion: 3.11 4362306a36Sopenharmony_ciDescription: 4462306a36Sopenharmony_ci The attributes of a configuration: 4562306a36Sopenharmony_ci 4662306a36Sopenharmony_ci ================ ====================================== 4762306a36Sopenharmony_ci bmAttributes configuration characteristics 4862306a36Sopenharmony_ci MaxPower maximum power consumption from the bus 4962306a36Sopenharmony_ci ================ ====================================== 5062306a36Sopenharmony_ci 5162306a36Sopenharmony_ciWhat: /config/usb-gadget/gadget/configs/config/strings 5262306a36Sopenharmony_ciDate: Jun 2013 5362306a36Sopenharmony_ciKernelVersion: 3.11 5462306a36Sopenharmony_ciDescription: 5562306a36Sopenharmony_ci This group contains subdirectories for language-specific 5662306a36Sopenharmony_ci strings for this configuration. 5762306a36Sopenharmony_ci 5862306a36Sopenharmony_ciWhat: /config/usb-gadget/gadget/configs/config/strings/language 5962306a36Sopenharmony_ciDate: Jun 2013 6062306a36Sopenharmony_ciKernelVersion: 3.11 6162306a36Sopenharmony_ciDescription: 6262306a36Sopenharmony_ci The attributes: 6362306a36Sopenharmony_ci 6462306a36Sopenharmony_ci ================ ========================= 6562306a36Sopenharmony_ci configuration configuration description 6662306a36Sopenharmony_ci ================ ========================= 6762306a36Sopenharmony_ci 6862306a36Sopenharmony_ci 6962306a36Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions 7062306a36Sopenharmony_ciDate: Jun 2013 7162306a36Sopenharmony_ciKernelVersion: 3.11 7262306a36Sopenharmony_ciDescription: 7362306a36Sopenharmony_ci This group contains functions available to this USB gadget. 7462306a36Sopenharmony_ci 7562306a36Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/<func>.<inst>/interface.<n> 7662306a36Sopenharmony_ciDate: May 2014 7762306a36Sopenharmony_ciKernelVersion: 3.16 7862306a36Sopenharmony_ciDescription: 7962306a36Sopenharmony_ci This group contains "Feature Descriptors" specific for one 8062306a36Sopenharmony_ci gadget's USB interface or one interface group described 8162306a36Sopenharmony_ci by an IAD. 8262306a36Sopenharmony_ci 8362306a36Sopenharmony_ci The attributes: 8462306a36Sopenharmony_ci 8562306a36Sopenharmony_ci ================= ===================================== 8662306a36Sopenharmony_ci compatible_id 8-byte string for "Compatible ID" 8762306a36Sopenharmony_ci sub_compatible_id 8-byte string for "Sub Compatible ID" 8862306a36Sopenharmony_ci ================= ===================================== 8962306a36Sopenharmony_ci 9062306a36Sopenharmony_ciWhat: /config/usb-gadget/gadget/functions/<func>.<inst>/interface.<n>/<property> 9162306a36Sopenharmony_ciDate: May 2014 9262306a36Sopenharmony_ciKernelVersion: 3.16 9362306a36Sopenharmony_ciDescription: 9462306a36Sopenharmony_ci This group contains "Extended Property Descriptors" specific for one 9562306a36Sopenharmony_ci gadget's USB interface or one interface group described 9662306a36Sopenharmony_ci by an IAD. 9762306a36Sopenharmony_ci 9862306a36Sopenharmony_ci The attributes: 9962306a36Sopenharmony_ci 10062306a36Sopenharmony_ci ===== =============================================== 10162306a36Sopenharmony_ci type value 1..7 for interpreting the data 10262306a36Sopenharmony_ci 10362306a36Sopenharmony_ci - 1: unicode string 10462306a36Sopenharmony_ci - 2: unicode string with environment variable 10562306a36Sopenharmony_ci - 3: binary 10662306a36Sopenharmony_ci - 4: little-endian 32-bit 10762306a36Sopenharmony_ci - 5: big-endian 32-bit 10862306a36Sopenharmony_ci - 6: unicode string with a symbolic link 10962306a36Sopenharmony_ci - 7: multiple unicode strings 11062306a36Sopenharmony_ci data blob of data to be interpreted depending on 11162306a36Sopenharmony_ci type 11262306a36Sopenharmony_ci ===== =============================================== 11362306a36Sopenharmony_ci 11462306a36Sopenharmony_ciWhat: /config/usb-gadget/gadget/strings 11562306a36Sopenharmony_ciDate: Jun 2013 11662306a36Sopenharmony_ciKernelVersion: 3.11 11762306a36Sopenharmony_ciDescription: 11862306a36Sopenharmony_ci This group contains subdirectories for language-specific 11962306a36Sopenharmony_ci strings for this gadget. 12062306a36Sopenharmony_ci 12162306a36Sopenharmony_ciWhat: /config/usb-gadget/gadget/strings/language 12262306a36Sopenharmony_ciDate: Jun 2013 12362306a36Sopenharmony_ciKernelVersion: 3.11 12462306a36Sopenharmony_ciDescription: 12562306a36Sopenharmony_ci The attributes: 12662306a36Sopenharmony_ci 12762306a36Sopenharmony_ci ============ ================================= 12862306a36Sopenharmony_ci serialnumber gadget's serial number (string) 12962306a36Sopenharmony_ci product gadget's product description 13062306a36Sopenharmony_ci manufacturer gadget's manufacturer description 13162306a36Sopenharmony_ci ============ ================================= 13262306a36Sopenharmony_ci 13362306a36Sopenharmony_ciWhat: /config/usb-gadget/gadget/os_desc 13462306a36Sopenharmony_ciDate: May 2014 13562306a36Sopenharmony_ciKernelVersion: 3.16 13662306a36Sopenharmony_ciDescription: 13762306a36Sopenharmony_ci This group contains "OS String" extension handling attributes. 13862306a36Sopenharmony_ci 13962306a36Sopenharmony_ci ============= =============================================== 14062306a36Sopenharmony_ci use flag turning "OS Descriptors" support on/off 14162306a36Sopenharmony_ci b_vendor_code one-byte value used for custom per-device and 14262306a36Sopenharmony_ci per-interface requests 14362306a36Sopenharmony_ci qw_sign an identifier to be reported as "OS String" 14462306a36Sopenharmony_ci proper 14562306a36Sopenharmony_ci ============= =============================================== 14662306a36Sopenharmony_ci 14762306a36Sopenharmony_ciWhat: /config/usb-gadget/gadget/webusb 14862306a36Sopenharmony_ciDate: Dec 2022 14962306a36Sopenharmony_ciKernelVersion: 6.3 15062306a36Sopenharmony_ciDescription: 15162306a36Sopenharmony_ci This group contains "WebUSB" extension handling attributes. 15262306a36Sopenharmony_ci 15362306a36Sopenharmony_ci ============= =============================================== 15462306a36Sopenharmony_ci use flag turning "WebUSB" support on/off 15562306a36Sopenharmony_ci bcdVersion bcd WebUSB specification version number 15662306a36Sopenharmony_ci bVendorCode one-byte value used for custom per-device 15762306a36Sopenharmony_ci landingPage UTF-8 encoded URL of the device's landing page 15862306a36Sopenharmony_ci ============= =============================================== 159