Back to home page

OSCL-LXR

 
 

    


0001 What:           /config/usb-gadget
0002 Date:           Jun 2013
0003 KernelVersion:  3.11
0004 Description:
0005                 This group contains sub-groups corresponding to created
0006                 USB gadgets.
0007 
0008 What:           /config/usb-gadget/gadget
0009 Date:           Jun 2013
0010 KernelVersion:  3.11
0011 Description:
0012 
0013                 The attributes of a gadget:
0014 
0015                 ================  ============================================
0016                 UDC               bind a gadget to UDC/unbind a gadget;
0017                                   write UDC's name found in /sys/class/udc/*
0018                                   to bind a gadget, empty string "" to unbind.
0019 
0020                 max_speed         maximum speed the driver supports. Valid
0021                                   names are super-speed-plus, super-speed,
0022                                   high-speed, full-speed, and low-speed.
0023 
0024                 bDeviceClass      USB device class code
0025                 bDeviceSubClass   USB device subclass code
0026                 bDeviceProtocol   USB device protocol code
0027                 bMaxPacketSize0   maximum endpoint 0 packet size
0028                 bcdDevice         bcd device release number
0029                 bcdUSB            bcd USB specification version number
0030                 idProduct         product ID
0031                 idVendor          vendor ID
0032                 ================  ============================================
0033 
0034 What:           /config/usb-gadget/gadget/configs
0035 Date:           Jun 2013
0036 KernelVersion:  3.11
0037 Description:
0038                 This group contains a USB gadget's configurations
0039 
0040 What:           /config/usb-gadget/gadget/configs/config
0041 Date:           Jun 2013
0042 KernelVersion:  3.11
0043 Description:
0044                 The attributes of a configuration:
0045 
0046                 ================  ======================================
0047                 bmAttributes      configuration characteristics
0048                 MaxPower          maximum power consumption from the bus
0049                 ================  ======================================
0050 
0051 What:           /config/usb-gadget/gadget/configs/config/strings
0052 Date:           Jun 2013
0053 KernelVersion:  3.11
0054 Description:
0055                 This group contains subdirectories for language-specific
0056                 strings for this configuration.
0057 
0058 What:           /config/usb-gadget/gadget/configs/config/strings/language
0059 Date:           Jun 2013
0060 KernelVersion:  3.11
0061 Description:
0062                 The attributes:
0063 
0064                 ================  =========================
0065                 configuration     configuration description
0066                 ================  =========================
0067 
0068 
0069 What:           /config/usb-gadget/gadget/functions
0070 Date:           Jun 2013
0071 KernelVersion:  3.11
0072 Description:
0073                 This group contains functions available to this USB gadget.
0074 
0075 What:           /config/usb-gadget/gadget/functions/<func>.<inst>/interface.<n>
0076 Date:           May 2014
0077 KernelVersion:  3.16
0078 Description:
0079                 This group contains "Feature Descriptors" specific for one
0080                 gadget's USB interface or one interface group described
0081                 by an IAD.
0082 
0083                 The attributes:
0084 
0085                 =================       =====================================
0086                 compatible_id           8-byte string for "Compatible ID"
0087                 sub_compatible_id       8-byte string for "Sub Compatible ID"
0088                 =================       =====================================
0089 
0090 What:           /config/usb-gadget/gadget/functions/<func>.<inst>/interface.<n>/<property>
0091 Date:           May 2014
0092 KernelVersion:  3.16
0093 Description:
0094                 This group contains "Extended Property Descriptors" specific for one
0095                 gadget's USB interface or one interface group described
0096                 by an IAD.
0097 
0098                 The attributes:
0099 
0100                 =====           ===============================================
0101                 type            value 1..7 for interpreting the data
0102 
0103                                 - 1: unicode string
0104                                 - 2: unicode string with environment variable
0105                                 - 3: binary
0106                                 - 4: little-endian 32-bit
0107                                 - 5: big-endian 32-bit
0108                                 - 6: unicode string with a symbolic link
0109                                 - 7: multiple unicode strings
0110                 data            blob of data to be interpreted depending on
0111                                 type
0112                 =====           ===============================================
0113 
0114 What:           /config/usb-gadget/gadget/strings
0115 Date:           Jun 2013
0116 KernelVersion:  3.11
0117 Description:
0118                 This group contains subdirectories for language-specific
0119                 strings for this gadget.
0120 
0121 What:           /config/usb-gadget/gadget/strings/language
0122 Date:           Jun 2013
0123 KernelVersion:  3.11
0124 Description:
0125                 The attributes:
0126 
0127                 ============    =================================
0128                 serialnumber    gadget's serial number (string)
0129                 product         gadget's product description
0130                 manufacturer    gadget's manufacturer description
0131                 ============    =================================
0132 
0133 What:           /config/usb-gadget/gadget/os_desc
0134 Date:           May 2014
0135 KernelVersion:  3.16
0136 Description:
0137                 This group contains "OS String" extension handling attributes.
0138 
0139                 =============   ===============================================
0140                 use             flag turning "OS Descriptors" support on/off
0141                 b_vendor_code   one-byte value used for custom per-device and
0142                                 per-interface requests
0143                 qw_sign         an identifier to be reported as "OS String"
0144                                 proper
0145                 =============   ===============================================