0. RealtekUSB网卡dongle

czl@czl-VirtualBox:~/WorkSpace$ lsusb -d 0bda:8176 -vBus 001 Device 003: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Couldn't open device, some information will be missing
Device Descriptor:bLength                18bDescriptorType         1bcdUSB               1.10bDeviceClass            0 (Defined at Interface level)bDeviceSubClass         0 bDeviceProtocol         0 bMaxPacketSize0        64idVendor           0x0bda Realtek Semiconductor Corp.idProduct          0x8176 RTL8188CUS 802.11n WLAN AdapterbcdDevice            2.00iManufacturer           1 iProduct                2 iSerial                 3 bNumConfigurations      1Configuration Descriptor:bLength                 9bDescriptorType         2wTotalLength           46bNumInterfaces          1bConfigurationValue     1iConfiguration          0 bmAttributes         0x80(Bus Powered)MaxPower              500mAInterface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        0bAlternateSetting       0bNumEndpoints           4bInterfaceClass       255 Vendor Specific ClassbInterfaceSubClass    255 Vendor Specific SubclassbInterfaceProtocol    255 Vendor Specific ProtocoliInterface              0 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x81  EP 1 INbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0200  1x 512 bytesbInterval               0Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x02  EP 2 OUTbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0200  1x 512 bytesbInterval               0Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x03  EP 3 OUTbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0200  1x 512 bytesbInterval               0Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x84  EP 4 INbmAttributes            3Transfer Type            InterruptSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0040  1x 64 bytesbInterval               1
czl@czl-VirtualBox:~/WorkSpace$

1.Sandisk Card Reader

czl@czl-RedmiBook-14:~$ lsusb -d 0781:cfcb -vBus 001 Device 012: ID 0781:cfcb SanDisk Corp.
Couldn't open device, some information will be missing
Device Descriptor:bLength                18bDescriptorType         1bcdUSB               2.10bDeviceClass            0 (Defined at Interface level)bDeviceSubClass         0 bDeviceProtocol         0 bMaxPacketSize0        64idVendor           0x0781 SanDisk Corp.idProduct          0xcfcb bcdDevice           29.20iManufacturer           3 iProduct                4 iSerial                 2 bNumConfigurations      1Configuration Descriptor:bLength                 9bDescriptorType         2wTotalLength           32bNumInterfaces          1bConfigurationValue     1iConfiguration          0 bmAttributes         0x80(Bus Powered)MaxPower              500mAInterface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        0bAlternateSetting       0bNumEndpoints           2bInterfaceClass         8 Mass StoragebInterfaceSubClass      6 SCSIbInterfaceProtocol     80 Bulk-OnlyiInterface              0 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x81  EP 1 INbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0200  1x 512 bytesbInterval               0Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x02  EP 2 OUTbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0200  1x 512 bytesbInterval               0
czl@czl-RedmiBook-14:~$

2.PSSD disk:

czl@czl-RedmiBook-14:~$ lsusb -d 2109:0715 -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 10000M|__ Port 2: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M|__ Port 10: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M|__ Port 10: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
czl@czl-RedmiBook-14:~$ lsusb -d 2109:0715 -vBus 002 Device 002: ID 2109:0715 VIA Labs, Inc.
Couldn't open device, some information will be missing
Device Descriptor:bLength                18bDescriptorType         1bcdUSB               3.10bDeviceClass            0 (Defined at Interface level)bDeviceSubClass         0 bDeviceProtocol         0 bMaxPacketSize0         9idVendor           0x2109 VIA Labs, Inc.idProduct          0x0715 bcdDevice           f0.00iManufacturer           1 iProduct                2 iSerial                 3 bNumConfigurations      1Configuration Descriptor:bLength                 9bDescriptorType         2wTotalLength          121bNumInterfaces          1bConfigurationValue     1iConfiguration          0 bmAttributes         0x80(Bus Powered)MaxPower              224mAInterface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        0bAlternateSetting       0bNumEndpoints           2bInterfaceClass         8 Mass StoragebInterfaceSubClass      6 SCSIbInterfaceProtocol     80 Bulk-OnlyiInterface              0 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x81  EP 1 INbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0400  1x 1024 bytesbInterval               0bMaxBurst              15Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x02  EP 2 OUTbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0400  1x 1024 bytesbInterval               0bMaxBurst              15Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        0bAlternateSetting       1bNumEndpoints           4bInterfaceClass         8 Mass StoragebInterfaceSubClass      6 SCSIbInterfaceProtocol     98 iInterface              0 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x04  EP 4 OUTbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0400  1x 1024 bytesbInterval               0bMaxBurst               0Command pipe (0x01)Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x85  EP 5 INbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0400  1x 1024 bytesbInterval               0bMaxBurst              15MaxStreams             32Data-in pipe (0x03)Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x06  EP 6 OUTbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0400  1x 1024 bytesbInterval               0bMaxBurst              15MaxStreams             32Data-out pipe (0x04)Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x87  EP 7 INbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0400  1x 1024 bytesbInterval               0bMaxBurst               0MaxStreams             32Status pipe (0x02)
czl@czl-RedmiBook-14:~$

3.same sd card but with another card reader compare item 2.

czl@czl-RedmiBook-14:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 021: ID 14cd:125d Super Top
Bus 001 Device 003: ID 8087:0aaa Intel Corp.
Bus 001 Device 002: ID 2717:5001
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
czl@czl-RedmiBook-14:~$ lsusb -d 14cd:125d -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 10000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M|__ Port 2: Dev 21, If 0, Class=Mass Storage, Driver=usb-storage, 480M|__ Port 10: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M|__ Port 10: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
czl@czl-RedmiBook-14:~$ lsusb -d 14cd:125d -vBus 001 Device 021: ID 14cd:125d Super Top
Couldn't open device, some information will be missing
Device Descriptor:bLength                18bDescriptorType         1bcdUSB               2.00bDeviceClass            0 (Defined at Interface level)bDeviceSubClass         0 bDeviceProtocol         0 bMaxPacketSize0        64idVendor           0x14cd Super TopidProduct          0x125d bcdDevice            1.00iManufacturer           1 iProduct                3 iSerial                 2 bNumConfigurations      1Configuration Descriptor:bLength                 9bDescriptorType         2wTotalLength           32bNumInterfaces          1bConfigurationValue     1iConfiguration          0 bmAttributes         0x80(Bus Powered)MaxPower              100mAInterface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        0bAlternateSetting       0bNumEndpoints           2bInterfaceClass         8 Mass StoragebInterfaceSubClass      6 SCSIbInterfaceProtocol     80 Bulk-OnlyiInterface              0 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x81  EP 1 INbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0200  1x 512 bytesbInterval               0Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x02  EP 2 OUTbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0200  1x 512 bytesbInterval               0
czl@czl-RedmiBook-14:~$

4.sunxi fex device

czl@czl-RedmiBook-14:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 024: ID 1f3a:efe8 Onda (unverified) V972 tablet in flashing mode
Bus 001 Device 003: ID 8087:0aaa Intel Corp.
Bus 001 Device 002: ID 2717:5001
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
czl@czl-RedmiBook-14:~$ lsusb -d 1f3a:efe8 -vBus 001 Device 024: ID 1f3a:efe8 Onda (unverified) V972 tablet in flashing mode
Device Descriptor:bLength                18bDescriptorType         1bcdUSB               1.10bDeviceClass            0 (Defined at Interface level)bDeviceSubClass         0 bDeviceProtocol         0 bMaxPacketSize0        64idVendor           0x1f3a Onda (unverified)idProduct          0xefe8 V972 tablet in flashing modebcdDevice            2.b3iManufacturer           0 iProduct                0 iSerial                 0 bNumConfigurations      1Configuration Descriptor:bLength                 9bDescriptorType         2wTotalLength           32bNumInterfaces          1bConfigurationValue     1iConfiguration          0 bmAttributes         0x80(Bus Powered)MaxPower              300mAInterface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        0bAlternateSetting       0bNumEndpoints           2bInterfaceClass       255 Vendor Specific ClassbInterfaceSubClass    255 Vendor Specific SubclassbInterfaceProtocol    255 Vendor Specific ProtocoliInterface              0 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x01  EP 1 OUTbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0040  1x 64 bytesbInterval               0Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x82  EP 2 INbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0040  1x 64 bytesbInterval               0
Device Status:     0x20c0(Bus Powered)Debug Mode
czl@czl-RedmiBook-14:~$

5 USB IPC Camera:

caozilong@caozilong-Vostro-3268:~/Workspace/camera$ lsusb -d 1b3f:2247 -vBus 001 Device 016: ID 1b3f:2247 Generalplus Technology Inc.
Couldn't open device, some information will be missing
Device Descriptor:bLength                18bDescriptorType         1bcdUSB               2.00bDeviceClass          239 Miscellaneous DevicebDeviceSubClass         2 ?bDeviceProtocol         1 Interface AssociationbMaxPacketSize0        64idVendor           0x1b3f Generalplus Technology Inc.idProduct          0x2247 bcdDevice            1.00iManufacturer           1 iProduct                2 iSerial                 0 bNumConfigurations      1Configuration Descriptor:bLength                 9bDescriptorType         2wTotalLength         1207bNumInterfaces          4bConfigurationValue     1iConfiguration          0 bmAttributes         0x80(Bus Powered)MaxPower              100mAInterface Association:bLength                 8bDescriptorType        11bFirstInterface         0bInterfaceCount         2bFunctionClass         14 VideobFunctionSubClass       3 Video Interface CollectionbFunctionProtocol       0 iFunction               4 Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        0bAlternateSetting       0bNumEndpoints           1bInterfaceClass        14 VideobInterfaceSubClass      1 Video ControlbInterfaceProtocol      0 iInterface              4 VideoControl Interface Descriptor:bLength                13bDescriptorType        36bDescriptorSubtype      1 (HEADER)bcdUVC               1.00wTotalLength          109dwClockFrequency        6.000000MHzbInCollection           1baInterfaceNr( 0)       1VideoControl Interface Descriptor:bLength                18bDescriptorType        36bDescriptorSubtype      2 (INPUT_TERMINAL)bTerminalID             1wTerminalType      0x0201 Camera SensorbAssocTerminal          0iTerminal               0 wObjectiveFocalLengthMin      0wObjectiveFocalLengthMax      0wOcularFocalLength            0bControlSize                  3bmControls           0x0000000aAuto-Exposure ModeExposure Time (Absolute)VideoControl Interface Descriptor:bLength                11bDescriptorType        36bDescriptorSubtype      5 (PROCESSING_UNIT)Warning: Descriptor too shortbUnitID                 5bSourceID               1wMaxMultiplier      16384bControlSize            2bmControls     0x00000407BrightnessContrastHuePower Line FrequencyiProcessing             0 bmVideoStandards     0x1dNonePAL - 625/50SECAM - 625/50NTSC - 625/50VideoControl Interface Descriptor:bLength                29bDescriptorType        36bDescriptorSubtype      6 (EXTENSION_UNIT)bUnitID                 6guidExtensionCode         {7033f028-1163-2e4a-ba2c-6890eb334016}bNumControl             4bNrPins                 1baSourceID( 0)          5bControlSize            4bmControls( 0)       0x0fbmControls( 1)       0x00bmControls( 2)       0x00bmControls( 3)       0x00iExtension              0 VideoControl Interface Descriptor:bLength                29bDescriptorType        36bDescriptorSubtype      6 (EXTENSION_UNIT)bUnitID                 7guidExtensionCode         {82066163-7050-ab49-b8cc-b3855e8d221d}bNumControl            20bNrPins                 1baSourceID( 0)          6bControlSize            4bmControls( 0)       0xffbmControls( 1)       0xffbmControls( 2)       0x71bmControls( 3)       0x00iExtension              0 VideoControl Interface Descriptor:bLength                 9bDescriptorType        36bDescriptorSubtype      3 (OUTPUT_TERMINAL)bTerminalID             3wTerminalType      0x0101 USB StreamingbAssocTerminal          0bSourceID               7iTerminal               0 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x83  EP 3 INbmAttributes            3Transfer Type            InterruptSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0040  1x 64 bytesbInterval              32Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        1bAlternateSetting       0bNumEndpoints           0bInterfaceClass        14 VideobInterfaceSubClass      2 Video StreamingbInterfaceProtocol      0 iInterface              0 VideoStreaming Interface Descriptor:bLength                            15bDescriptorType                    36bDescriptorSubtype                  1 (INPUT_HEADER)bNumFormats                         2wTotalLength                      796bEndPointAddress                  133bmInfo                              0bTerminalLink                       3bStillCaptureMethod                 2bTriggerSupport                     1bTriggerUsage                       0bControlSize                        1bmaControls( 0)                    11bmaControls( 1)                    11VideoStreaming Interface Descriptor:bLength                            11bDescriptorType                    36bDescriptorSubtype                  6 (FORMAT_MJPEG)bFormatIndex                        1bNumFrameDescriptors               12bFlags                              1Fixed-size samples: YesbDefaultFrameIndex                  1bAspectRatioX                       0bAspectRatioY                       0bmInterlaceFlags                 0x00Interlaced stream or variable: NoFields per frame: 1 fieldsField 1 first: NoField pattern: Field 1 onlybCopyProtect                      0VideoStreaming Interface Descriptor:bLength                            30bDescriptorType                    36bDescriptorSubtype                  7 (FRAME_MJPEG)bFrameIndex                         1bmCapabilities                   0x00Still image unsupportedwWidth                           1920wHeight                          1080dwMinBitRate                   912384dwMaxBitRate                   912384dwMaxVideoFrameBufferSize      614400dwDefaultFrameInterval         333333bFrameIntervalType                  1dwFrameInterval( 0)            333333VideoStreaming Interface Descriptor:bLength                            30bDescriptorType                    36bDescriptorSubtype                  7 (FRAME_MJPEG)bFrameIndex                         2bmCapabilities                   0x00Still image unsupportedwWidth                           1440wHeight                          1080dwMinBitRate                   912384dwMaxBitRate                   912384dwMaxVideoFrameBufferSize      614400dwDefaultFrameInterval         333333bFrameIntervalType                  1dwFrameInterval( 0)            333333VideoStreaming Interface Descriptor:bLength                            30bDescriptorType                    36bDescriptorSubtype                  7 (FRAME_MJPEG)bFrameIndex                         3bmCapabilities                   0x00Still image unsupportedwWidth                           1280wHeight                           720dwMinBitRate                   912384dwMaxBitRate                   912384dwMaxVideoFrameBufferSize      614400dwDefaultFrameInterval         333333bFrameIntervalType                  1dwFrameInterval( 0)            333333VideoStreaming Interface Descriptor:bLength                            30bDescriptorType                    36bDescriptorSubtype                  7 (FRAME_MJPEG)bFrameIndex                         4bmCapabilities                   0x00Still image unsupportedwWidth                            800wHeight                           600dwMinBitRate                   912384dwMaxBitRate                   912384dwMaxVideoFrameBufferSize      614400dwDefaultFrameInterval         333333bFrameIntervalType                  1dwFrameInterval( 0)            333333VideoStreaming Interface Descriptor:bLength                            30bDescriptorType                    36bDescriptorSubtype                  7 (FRAME_MJPEG)bFrameIndex                         5bmCapabilities                   0x00Still image unsupportedwWidth                            800wHeight                           480dwMinBitRate                   912384dwMaxBitRate                   912384dwMaxVideoFrameBufferSize      614400dwDefaultFrameInterval         333333bFrameIntervalType                  1dwFrameInterval( 0)            333333VideoStreaming Interface Descriptor:bLength                            30bDescriptorType                    36bDescriptorSubtype                  7 (FRAME_MJPEG)bFrameIndex                         6bmCapabilities                   0x00Still image unsupportedwWidth                            720wHeight                           480dwMinBitRate                   912384dwMaxBitRate                   912384dwMaxVideoFrameBufferSize      614400dwDefaultFrameInterval         333333bFrameIntervalType                  1dwFrameInterval( 0)            333333VideoStreaming Interface Descriptor:bLength                            30bDescriptorType                    36bDescriptorSubtype                  7 (FRAME_MJPEG)bFrameIndex                         7bmCapabilities                   0x00Still image unsupportedwWidth                            640wHeight                           480dwMinBitRate                   912384dwMaxBitRate                   912384dwMaxVideoFrameBufferSize      614400dwDefaultFrameInterval         333333bFrameIntervalType                  1dwFrameInterval( 0)            333333VideoStreaming Interface Descriptor:bLength                            30bDescriptorType                    36bDescriptorSubtype                  7 (FRAME_MJPEG)bFrameIndex                         8bmCapabilities                   0x00Still image unsupportedwWidth                            640wHeight                           360dwMinBitRate                   912384dwMaxBitRate                   912384dwMaxVideoFrameBufferSize      614400dwDefaultFrameInterval         333333bFrameIntervalType                  1dwFrameInterval( 0)            333333VideoStreaming Interface Descriptor:bLength                            30bDescriptorType                    36bDescriptorSubtype                  7 (FRAME_MJPEG)bFrameIndex                         9bmCapabilities                   0x00Still image unsupportedwWidth                            480wHeight                           270dwMinBitRate                   912384dwMaxBitRate                   912384dwMaxVideoFrameBufferSize      614400dwDefaultFrameInterval         333333bFrameIntervalType                  1dwFrameInterval( 0)            333333VideoStreaming Interface Descriptor:bLength                            30bDescriptorType                    36bDescriptorSubtype                  7 (FRAME_MJPEG)bFrameIndex                        10bmCapabilities                   0x00Still image unsupportedwWidth                            320wHeight                           240dwMinBitRate                   912384dwMaxBitRate                   912384dwMaxVideoFrameBufferSize      614400dwDefaultFrameInterval         333333bFrameIntervalType                  1dwFrameInterval( 0)            333333VideoStreaming Interface Descriptor:bLength                            30bDescriptorType                    36bDescriptorSubtype                  7 (FRAME_MJPEG)bFrameIndex                        11bmCapabilities                   0x00Still image unsupportedwWidth                            176wHeight                           144dwMinBitRate                   912384dwMaxBitRate                   912384dwMaxVideoFrameBufferSize      614400dwDefaultFrameInterval         333333bFrameIntervalType                  1dwFrameInterval( 0)            333333VideoStreaming Interface Descriptor:bLength                            30bDescriptorType                    36bDescriptorSubtype                  7 (FRAME_MJPEG)bFrameIndex                        12bmCapabilities                   0x00Still image unsupportedwWidth                           1920wHeight                          1080dwMinBitRate                   912384dwMaxBitRate                   912384dwMaxVideoFrameBufferSize      614400dwDefaultFrameInterval         333333bFrameIntervalType                  1dwFrameInterval( 0)            333333VideoStreaming Interface Descriptor:bLength                            58bDescriptorType                    36bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)bEndpointAddress                    0bNumImageSizePatterns              12wWidth( 0)                       1920wHeight( 0)                      1080wWidth( 1)                       1440wHeight( 1)                      1080wWidth( 2)                       1280wHeight( 2)                       720wWidth( 3)                        800wHeight( 3)                       600wWidth( 4)                        800wHeight( 4)                       480wWidth( 5)                        720wHeight( 5)                       480wWidth( 6)                        640wHeight( 6)                       480wWidth( 7)                        640wHeight( 7)                       360wWidth( 8)                        480wHeight( 8)                       270wWidth( 9)                        320wHeight( 9)                       240wWidth(10)                        176wHeight(10)                       144wWidth(11)                       1920wHeight(11)                      1080bNumCompressionPatterns            12bCompression( 0)                    1bCompression( 1)                    5bCompression( 2)                   10bCompression( 3)                   20VideoStreaming Interface Descriptor:bLength                             6bDescriptorType                    36bDescriptorSubtype                 13 (COLORFORMAT)bColorPrimaries                     1 (BT.709,sRGB)bTransferCharacteristics            1 (BT.709)bMatrixCoefficients                 4 (SMPTE 170M (BT.601))VideoStreaming Interface Descriptor:bLength                            27bDescriptorType                    36bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)bFormatIndex                        2bNumFrameDescriptors                9guidFormat                            {59555932-0000-1000-8000-00aa00389b71}bBitsPerPixel                      16bDefaultFrameIndex                  1bAspectRatioX                       0bAspectRatioY                       0bmInterlaceFlags                 0x00Interlaced stream or variable: NoFields per frame: 2 fieldsField 1 first: NoField pattern: Field 1 onlybCopyProtect                      0VideoStreaming Interface Descriptor:bLength                            30bDescriptorType                    36bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)bFrameIndex                         1bmCapabilities                   0x00Still image unsupportedwWidth                            800wHeight                           480dwMinBitRate                 73728000dwMaxBitRate                147456000dwMaxVideoFrameBufferSize      768000dwDefaultFrameInterval         333333bFrameIntervalType                  1dwFrameInterval( 0)            333333VideoStreaming Interface Descriptor:bLength                            30bDescriptorType                    36bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)bFrameIndex                         2bmCapabilities                   0x00Still image unsupportedwWidth                            720wHeight                           480dwMinBitRate                 73728000dwMaxBitRate                147456000dwMaxVideoFrameBufferSize      691200dwDefaultFrameInterval         333333bFrameIntervalType                  1dwFrameInterval( 0)            333333VideoStreaming Interface Descriptor:bLength                            30bDescriptorType                    36bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)bFrameIndex                         3bmCapabilities                   0x00Still image unsupportedwWidth                            640wHeight                           480dwMinBitRate                 73728000dwMaxBitRate                147456000dwMaxVideoFrameBufferSize      614400dwDefaultFrameInterval         333333bFrameIntervalType                  1dwFrameInterval( 0)            333333VideoStreaming Interface Descriptor:bLength                            30bDescriptorType                    36bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)bFrameIndex                         4bmCapabilities                   0x00Still image unsupportedwWidth                            640wHeight                           360dwMinBitRate                 73728000dwMaxBitRate                147456000dwMaxVideoFrameBufferSize      460800dwDefaultFrameInterval         333333bFrameIntervalType                  1dwFrameInterval( 0)            333333VideoStreaming Interface Descriptor:bLength                            30bDescriptorType                    36bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)bFrameIndex                         5bmCapabilities                   0x00Still image unsupportedwWidth                            480wHeight                           270dwMinBitRate                 73728000dwMaxBitRate                147456000dwMaxVideoFrameBufferSize      259200dwDefaultFrameInterval         333333bFrameIntervalType                  1dwFrameInterval( 0)            333333VideoStreaming Interface Descriptor:bLength                            30bDescriptorType                    36bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)bFrameIndex                         6bmCapabilities                   0x00Still image unsupportedwWidth                            320wHeight                           240dwMinBitRate                 73728000dwMaxBitRate                147456000dwMaxVideoFrameBufferSize      153600dwDefaultFrameInterval         333333bFrameIntervalType                  1dwFrameInterval( 0)            333333VideoStreaming Interface Descriptor:bLength                            30bDescriptorType                    36bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)bFrameIndex                         7bmCapabilities                   0x00Still image unsupportedwWidth                            176wHeight                           144dwMinBitRate                 73728000dwMaxBitRate                147456000dwMaxVideoFrameBufferSize       50688dwDefaultFrameInterval         333333bFrameIntervalType                  1dwFrameInterval( 0)            333333VideoStreaming Interface Descriptor:bLength                            30bDescriptorType                    36bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)bFrameIndex                         8bmCapabilities                   0x00Still image unsupportedwWidth                            800wHeight                           480dwMinBitRate                 73728000dwMaxBitRate                147456000dwMaxVideoFrameBufferSize      768000dwDefaultFrameInterval         333333bFrameIntervalType                  1dwFrameInterval( 0)            333333VideoStreaming Interface Descriptor:bLength                            30bDescriptorType                    36bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)bFrameIndex                         9bmCapabilities                   0x00Still image unsupportedwWidth                            800wHeight                           480dwMinBitRate                 73728000dwMaxBitRate                147456000dwMaxVideoFrameBufferSize      768000dwDefaultFrameInterval         333333bFrameIntervalType                  1dwFrameInterval( 0)            333333VideoStreaming Interface Descriptor:bLength                            43bDescriptorType                    36bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)bEndpointAddress                    0bNumImageSizePatterns               9wWidth( 0)                        800wHeight( 0)                       480wWidth( 1)                        720wHeight( 1)                       480wWidth( 2)                        640wHeight( 2)                       480wWidth( 3)                        640wHeight( 3)                       360wWidth( 4)                        480wHeight( 4)                       270wWidth( 5)                        320wHeight( 5)                       240wWidth( 6)                        176wHeight( 6)                       144wWidth( 7)                        800wHeight( 7)                       480wWidth( 8)                        800wHeight( 8)                       480bNumCompressionPatterns             9bCompression( 0)                    1VideoStreaming Interface Descriptor:bLength                             6bDescriptorType                    36bDescriptorSubtype                 13 (COLORFORMAT)bColorPrimaries                     1 (BT.709,sRGB)bTransferCharacteristics            1 (BT.709)bMatrixCoefficients                 4 (SMPTE 170M (BT.601))Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        1bAlternateSetting       1bNumEndpoints           1bInterfaceClass        14 VideobInterfaceSubClass      2 Video StreamingbInterfaceProtocol      0 iInterface              0 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x85  EP 5 INbmAttributes            5Transfer Type            IsochronousSynch Type               AsynchronousUsage Type               DatawMaxPacketSize     0x0100  1x 256 bytesbInterval               1Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        1bAlternateSetting       2bNumEndpoints           1bInterfaceClass        14 VideobInterfaceSubClass      2 Video StreamingbInterfaceProtocol      0 iInterface              0 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x85  EP 5 INbmAttributes            5Transfer Type            IsochronousSynch Type               AsynchronousUsage Type               DatawMaxPacketSize     0x0200  1x 512 bytesbInterval               1Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        1bAlternateSetting       3bNumEndpoints           1bInterfaceClass        14 VideobInterfaceSubClass      2 Video StreamingbInterfaceProtocol      0 iInterface              0 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x85  EP 5 INbmAttributes            5Transfer Type            IsochronousSynch Type               AsynchronousUsage Type               DatawMaxPacketSize     0x0400  1x 1024 bytesbInterval               1Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        1bAlternateSetting       4bNumEndpoints           1bInterfaceClass        14 VideobInterfaceSubClass      2 Video StreamingbInterfaceProtocol      0 iInterface              0 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x85  EP 5 INbmAttributes            5Transfer Type            IsochronousSynch Type               AsynchronousUsage Type               DatawMaxPacketSize     0x0b00  2x 768 bytesbInterval               1Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        1bAlternateSetting       5bNumEndpoints           1bInterfaceClass        14 VideobInterfaceSubClass      2 Video StreamingbInterfaceProtocol      0 iInterface              0 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x85  EP 5 INbmAttributes            5Transfer Type            IsochronousSynch Type               AsynchronousUsage Type               DatawMaxPacketSize     0x0c00  2x 1024 bytesbInterval               1Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        1bAlternateSetting       6bNumEndpoints           1bInterfaceClass        14 VideobInterfaceSubClass      2 Video StreamingbInterfaceProtocol      0 iInterface              0 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x85  EP 5 INbmAttributes            5Transfer Type            IsochronousSynch Type               AsynchronousUsage Type               DatawMaxPacketSize     0x1354  3x 852 bytesbInterval               1Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        1bAlternateSetting       7bNumEndpoints           1bInterfaceClass        14 VideobInterfaceSubClass      2 Video StreamingbInterfaceProtocol      0 iInterface              0 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x85  EP 5 INbmAttributes            5Transfer Type            IsochronousSynch Type               AsynchronousUsage Type               DatawMaxPacketSize     0x1400  3x 1024 bytesbInterval               1Interface Association:bLength                 8bDescriptorType        11bFirstInterface         2bInterfaceCount         2bFunctionClass          1 AudiobFunctionSubClass       0 bFunctionProtocol       0 iFunction               4 Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        2bAlternateSetting       0bNumEndpoints           0bInterfaceClass         1 AudiobInterfaceSubClass      1 Control DevicebInterfaceProtocol      0 iInterface              4 AudioControl Interface Descriptor:bLength                 9bDescriptorType        36bDescriptorSubtype      1 (HEADER)bcdADC               1.00wTotalLength           38bInCollection           1baInterfaceNr( 0)       3AudioControl Interface Descriptor:bLength                12bDescriptorType        36bDescriptorSubtype      2 (INPUT_TERMINAL)bTerminalID             3wTerminalType      0x0201 MicrophonebAssocTerminal          0bNrChannels             1wChannelConfig     0x0000iChannelNames           0 iTerminal               0 AudioControl Interface Descriptor:bLength                 8bDescriptorType        36bDescriptorSubtype      6 (FEATURE_UNIT)bUnitID                 5bSourceID               3bControlSize            1bmaControls( 0)      0x03Mute ControlVolume ControliFeature                0 AudioControl Interface Descriptor:bLength                 9bDescriptorType        36bDescriptorSubtype      3 (OUTPUT_TERMINAL)bTerminalID             4wTerminalType      0x0101 USB StreamingbAssocTerminal          0bSourceID               5iTerminal               0 Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        3bAlternateSetting       0bNumEndpoints           0bInterfaceClass         1 AudiobInterfaceSubClass      2 StreamingbInterfaceProtocol      0 iInterface              0 Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        3bAlternateSetting       1bNumEndpoints           0bInterfaceClass         1 AudiobInterfaceSubClass      2 StreamingbInterfaceProtocol      0 iInterface              0 Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        3bAlternateSetting       2bNumEndpoints           0bInterfaceClass         1 AudiobInterfaceSubClass      2 StreamingbInterfaceProtocol      0 iInterface              0 Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        3bAlternateSetting       3bNumEndpoints           0bInterfaceClass         1 AudiobInterfaceSubClass      2 StreamingbInterfaceProtocol      0 iInterface              0 Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        3bAlternateSetting       4bNumEndpoints           0bInterfaceClass         1 AudiobInterfaceSubClass      2 StreamingbInterfaceProtocol      0 iInterface              0 Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        3bAlternateSetting       5bNumEndpoints           1bInterfaceClass         1 AudiobInterfaceSubClass      2 StreamingbInterfaceProtocol      0 iInterface              0 AudioStreaming Interface Descriptor:bLength                 7bDescriptorType        36bDescriptorSubtype      1 (AS_GENERAL)bTerminalLink           4bDelay                  1 frameswFormatTag              1 PCMAudioStreaming Interface Descriptor:bLength                11bDescriptorType        36bDescriptorSubtype      2 (FORMAT_TYPE)bFormatType             1 (FORMAT_TYPE_I)bNrChannels             1bSubframeSize           2bBitResolution         16bSamFreqType            1 DiscretetSamFreq[ 0]        16000Endpoint Descriptor:bLength                 9bDescriptorType         5bEndpointAddress     0x87  EP 7 INbmAttributes            1Transfer Type            IsochronousSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0100  1x 256 bytesbInterval               4bRefresh                0bSynchAddress           0AudioControl Endpoint Descriptor:bLength                 7bDescriptorType        37bDescriptorSubtype      1 (EP_GENERAL)bmAttributes         0x00bLockDelayUnits         0 UndefinedwLockDelay              0 Undefined
caozilong@caozilong-Vostro-3268:~/Workspace/camera$

6.USB串口:

czl@czl-VirtualBox:~/WorkSpace$ lsusb -d 1a86:7523 -vBus 001 Device 004: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Couldn't open device, some information will be missing
Device Descriptor:bLength                18bDescriptorType         1bcdUSB               1.10bDeviceClass          255 Vendor Specific ClassbDeviceSubClass         0 bDeviceProtocol         0 bMaxPacketSize0         8idVendor           0x1a86 QinHeng ElectronicsidProduct          0x7523 HL-340 USB-Serial adapterbcdDevice            2.64iManufacturer           0 iProduct                2 iSerial                 0 bNumConfigurations      1Configuration Descriptor:bLength                 9bDescriptorType         2wTotalLength           39bNumInterfaces          1bConfigurationValue     1iConfiguration          0 bmAttributes         0x80(Bus Powered)MaxPower               98mAInterface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        0bAlternateSetting       0bNumEndpoints           3bInterfaceClass       255 Vendor Specific ClassbInterfaceSubClass      1 bInterfaceProtocol      2 iInterface              0 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x82  EP 2 INbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0020  1x 32 bytesbInterval               0Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x02  EP 2 OUTbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0020  1x 32 bytesbInterval               0Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x81  EP 1 INbmAttributes            3Transfer Type            InterruptSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0008  1x 8 bytesbInterval               1
czl@czl-VirtualBox:~/WorkSpace$

7: STM32F407G-DISC1平台接口配置

caozilong@caozilong-Vostro-3268:~$ lsusb -d 0483:374b -vBus 001 Device 009: ID 0483:374b STMicroelectronics ST-LINK/V2.1 (Nucleo-F103RB)
Couldn't open device, some information will be missing
Device Descriptor:bLength                18bDescriptorType         1bcdUSB               2.00bDeviceClass          239 Miscellaneous DevicebDeviceSubClass         2 ?bDeviceProtocol         1 Interface AssociationbMaxPacketSize0        64idVendor           0x0483 STMicroelectronicsidProduct          0x374b ST-LINK/V2.1 (Nucleo-F103RB)bcdDevice            1.00iManufacturer           1 iProduct                2 iSerial                 3 bNumConfigurations      1Configuration Descriptor:bLength                 9bDescriptorType         2wTotalLength          128bNumInterfaces          4bConfigurationValue     1iConfiguration          0 bmAttributes         0x80(Bus Powered)MaxPower              100mAInterface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        0bAlternateSetting       0bNumEndpoints           3bInterfaceClass       255 Vendor Specific ClassbInterfaceSubClass    255 Vendor Specific SubclassbInterfaceProtocol    255 Vendor Specific ProtocoliInterface              4 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x81  EP 1 INbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0040  1x 64 bytesbInterval               0Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x01  EP 1 OUTbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0040  1x 64 bytesbInterval               0Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x82  EP 2 INbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0020  1x 32 bytesbInterval               0Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        1bAlternateSetting       0bNumEndpoints           2bInterfaceClass         8 Mass StoragebInterfaceSubClass      6 SCSIbInterfaceProtocol     80 Bulk-OnlyiInterface              5 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x83  EP 3 INbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0040  1x 64 bytesbInterval               0Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x03  EP 3 OUTbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0040  1x 64 bytesbInterval               0Interface Association:bLength                 8bDescriptorType        11bFirstInterface         2bInterfaceCount         2bFunctionClass          2 CommunicationsbFunctionSubClass       2 Abstract (modem)bFunctionProtocol       1 AT-commands (v.25ter)iFunction               6 Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        2bAlternateSetting       0bNumEndpoints           1bInterfaceClass         2 CommunicationsbInterfaceSubClass      2 Abstract (modem)bInterfaceProtocol      1 AT-commands (v.25ter)iInterface              6 CDC Header:bcdCDC               1.10CDC Call Management:bmCapabilities       0x00bDataInterface          3CDC ACM:bmCapabilities       0x06sends breakline coding and serial stateCDC Union:bMasterInterface        2bSlaveInterface         3 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x84  EP 4 INbmAttributes            3Transfer Type            InterruptSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0002  1x 2 bytesbInterval             255Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        3bAlternateSetting       0bNumEndpoints           2bInterfaceClass        10 CDC DatabInterfaceSubClass      0 UnusedbInterfaceProtocol      0 iInterface              7 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x05  EP 5 OUTbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0008  1x 8 bytesbInterval               0Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x85  EP 5 INbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0010  1x 16 bytesbInterval               0
caozilong@caozilong-Vostro-3268:~$

8.FRDM K64F 平台的USB配置。

caozilong@caozilong-Vostro-3268:~$ lsusb -d 0d28:0204 -vBus 001 Device 012: ID 0d28:0204 NXP LPC1768
Couldn't open device, some information will be missing
Device Descriptor:bLength                18bDescriptorType         1bcdUSB               1.10bDeviceClass            2 CommunicationsbDeviceSubClass         0 bDeviceProtocol         0 bMaxPacketSize0         8idVendor           0x0d28 NXPidProduct          0x0204 LPC1768bcdDevice            1.00iManufacturer           1 iProduct                2 iSerial                 3 bNumConfigurations      1Configuration Descriptor:bLength                 9bDescriptorType         2wTotalLength          122bNumInterfaces          4bConfigurationValue     1iConfiguration          0 bmAttributes         0x80(Bus Powered)MaxPower              500mAInterface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        0bAlternateSetting       0bNumEndpoints           2bInterfaceClass         8 Mass StoragebInterfaceSubClass      6 SCSIbInterfaceProtocol     80 Bulk-OnlyiInterface              7 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x82  EP 2 INbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0040  1x 64 bytesbInterval               0Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x02  EP 2 OUTbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0040  1x 64 bytesbInterval               0Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        1bAlternateSetting       0bNumEndpoints           1bInterfaceClass         2 CommunicationsbInterfaceSubClass      2 Abstract (modem)bInterfaceProtocol      1 AT-commands (v.25ter)iInterface              4 CDC Header:bcdCDC               1.10CDC Call Management:bmCapabilities       0x03call managementuse DataInterfacebDataInterface          2CDC ACM:bmCapabilities       0x06sends breakline coding and serial stateCDC Union:bMasterInterface        1bSlaveInterface         2 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x83  EP 3 INbmAttributes            3Transfer Type            InterruptSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0010  1x 16 bytesbInterval              32Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        2bAlternateSetting       0bNumEndpoints           2bInterfaceClass        10 CDC DatabInterfaceSubClass      0 UnusedbInterfaceProtocol      0 iInterface              5 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x04  EP 4 OUTbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0040  1x 64 bytesbInterval               0Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x84  EP 4 INbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0040  1x 64 bytesbInterval               0Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        3bAlternateSetting       0bNumEndpoints           2bInterfaceClass         3 Human Interface DevicebInterfaceSubClass      0 No SubclassbInterfaceProtocol      0 NoneiInterface              6 HID Device Descriptor:bLength                 9bDescriptorType        33bcdHID               1.00bCountryCode            0 Not supportedbNumDescriptors         1bDescriptorType        34 ReportwDescriptorLength      33Report Descriptors: ** UNAVAILABLE **Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x81  EP 1 INbmAttributes            3Transfer Type            InterruptSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0040  1x 64 bytesbInterval               1Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x01  EP 1 OUTbmAttributes            3Transfer Type            InterruptSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0040  1x 64 bytesbInterval               1
caozilong@caozilong-Vostro-3268:~$

9.USB外置声卡

插入后,可以看到它使用的驱动是snd-usb-audio.

czl@czl-VirtualBox:~$ lsusb
Bus 001 Device 005: ID 0d8c:0014 C-Media Electronics, Inc.
Bus 001 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
czl@czl-VirtualBox:~$ lsusb -d 0d8c:0014 -vBus 001 Device 005: ID 0d8c:0014 C-Media Electronics, Inc.
Couldn't open device, some information will be missing
Device Descriptor:bLength                18bDescriptorType         1bcdUSB               1.10bDeviceClass            0 (Defined at Interface level)bDeviceSubClass         0 bDeviceProtocol         0 bMaxPacketSize0         8idVendor           0x0d8c C-Media Electronics, Inc.idProduct          0x0014 bcdDevice            1.00iManufacturer           1 iProduct                2 iSerial                 0 bNumConfigurations      1Configuration Descriptor:bLength                 9bDescriptorType         2wTotalLength          253bNumInterfaces          4bConfigurationValue     1iConfiguration          0 bmAttributes         0x80(Bus Powered)MaxPower              100mAInterface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        0bAlternateSetting       0bNumEndpoints           0bInterfaceClass         1 AudiobInterfaceSubClass      1 Control DevicebInterfaceProtocol      0 iInterface              0 AudioControl Interface Descriptor:bLength                10bDescriptorType        36bDescriptorSubtype      1 (HEADER)bcdADC               1.00wTotalLength          100bInCollection           2baInterfaceNr( 0)       1baInterfaceNr( 1)       2AudioControl Interface Descriptor:bLength                12bDescriptorType        36bDescriptorSubtype      2 (INPUT_TERMINAL)bTerminalID             1wTerminalType      0x0101 USB StreamingbAssocTerminal          0bNrChannels             2wChannelConfig     0x0003Left Front (L)Right Front (R)iChannelNames           0 iTerminal               0 AudioControl Interface Descriptor:bLength                12bDescriptorType        36bDescriptorSubtype      2 (INPUT_TERMINAL)bTerminalID             2wTerminalType      0x0201 MicrophonebAssocTerminal          0bNrChannels             1wChannelConfig     0x0001Left Front (L)iChannelNames           0 iTerminal               0 AudioControl Interface Descriptor:bLength                 9bDescriptorType        36bDescriptorSubtype      3 (OUTPUT_TERMINAL)bTerminalID             6wTerminalType      0x0301 SpeakerbAssocTerminal          0bSourceID               9iTerminal               0 AudioControl Interface Descriptor:bLength                 9bDescriptorType        36bDescriptorSubtype      3 (OUTPUT_TERMINAL)bTerminalID             7wTerminalType      0x0101 USB StreamingbAssocTerminal          0bSourceID               8iTerminal               0 AudioControl Interface Descriptor:bLength                 7bDescriptorType        36bDescriptorSubtype      5 (SELECTOR_UNIT)bUnitID                 8bNrInPins               1baSource( 0)           10iSelector               0 AudioControl Interface Descriptor:bLength                10bDescriptorType        36bDescriptorSubtype      6 (FEATURE_UNIT)bUnitID                 9bSourceID              15bControlSize            1bmaControls( 0)      0x01Mute ControlbmaControls( 1)      0x02Volume ControlbmaControls( 2)      0x02Volume ControliFeature                0 AudioControl Interface Descriptor:bLength                 9bDescriptorType        36bDescriptorSubtype      6 (FEATURE_UNIT)bUnitID                10bSourceID               2bControlSize            1bmaControls( 0)      0x43Mute ControlVolume ControlAutomatic Gain ControlbmaControls( 1)      0x00iFeature                0 AudioControl Interface Descriptor:bLength                 9bDescriptorType        36bDescriptorSubtype      6 (FEATURE_UNIT)bUnitID                13bSourceID               2bControlSize            1bmaControls( 0)      0x03Mute ControlVolume ControlbmaControls( 1)      0x00iFeature                0 AudioControl Interface Descriptor:bLength                13bDescriptorType        36bDescriptorSubtype      4 (MIXER_UNIT)bUnitID                15bNrInPins               2baSourceID( 0)          1baSourceID( 1)         13bNrChannels             2wChannelConfig     0x0003Left Front (L)Right Front (R)iChannelNames           0 bmControls         0x00iMixer                  0 Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        1bAlternateSetting       0bNumEndpoints           0bInterfaceClass         1 AudiobInterfaceSubClass      2 StreamingbInterfaceProtocol      0 iInterface              0 Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        1bAlternateSetting       1bNumEndpoints           1bInterfaceClass         1 AudiobInterfaceSubClass      2 StreamingbInterfaceProtocol      0 iInterface              0 AudioStreaming Interface Descriptor:bLength                 7bDescriptorType        36bDescriptorSubtype      1 (AS_GENERAL)bTerminalLink           1bDelay                  1 frameswFormatTag              1 PCMAudioStreaming Interface Descriptor:bLength                14bDescriptorType        36bDescriptorSubtype      2 (FORMAT_TYPE)bFormatType             1 (FORMAT_TYPE_I)bNrChannels             2bSubframeSize           2bBitResolution         16bSamFreqType            2 DiscretetSamFreq[ 0]        48000tSamFreq[ 1]        44100Endpoint Descriptor:bLength                 9bDescriptorType         5bEndpointAddress     0x01  EP 1 OUTbmAttributes            9Transfer Type            IsochronousSynch Type               AdaptiveUsage Type               DatawMaxPacketSize     0x00c8  1x 200 bytesbInterval               1bRefresh                0bSynchAddress           0AudioControl Endpoint Descriptor:bLength                 7bDescriptorType        37bDescriptorSubtype      1 (EP_GENERAL)bmAttributes         0x01Sampling FrequencybLockDelayUnits         1 MillisecondswLockDelay              1 MillisecondsInterface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        2bAlternateSetting       0bNumEndpoints           0bInterfaceClass         1 AudiobInterfaceSubClass      2 StreamingbInterfaceProtocol      0 iInterface              0 Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        2bAlternateSetting       1bNumEndpoints           1bInterfaceClass         1 AudiobInterfaceSubClass      2 StreamingbInterfaceProtocol      0 iInterface              0 AudioStreaming Interface Descriptor:bLength                 7bDescriptorType        36bDescriptorSubtype      1 (AS_GENERAL)bTerminalLink           7bDelay                  1 frameswFormatTag              1 PCMAudioStreaming Interface Descriptor:bLength                14bDescriptorType        36bDescriptorSubtype      2 (FORMAT_TYPE)bFormatType             1 (FORMAT_TYPE_I)bNrChannels             1bSubframeSize           2bBitResolution         16bSamFreqType            2 DiscretetSamFreq[ 0]        48000tSamFreq[ 1]        44100Endpoint Descriptor:bLength                 9bDescriptorType         5bEndpointAddress     0x82  EP 2 INbmAttributes           13Transfer Type            IsochronousSynch Type               SynchronousUsage Type               DatawMaxPacketSize     0x0064  1x 100 bytesbInterval               1bRefresh                0bSynchAddress           0AudioControl Endpoint Descriptor:bLength                 7bDescriptorType        37bDescriptorSubtype      1 (EP_GENERAL)bmAttributes         0x01Sampling FrequencybLockDelayUnits         0 UndefinedwLockDelay              0 UndefinedInterface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        3bAlternateSetting       0bNumEndpoints           1bInterfaceClass         3 Human Interface DevicebInterfaceSubClass      0 No SubclassbInterfaceProtocol      0 NoneiInterface              0 HID Device Descriptor:bLength                 9bDescriptorType        33bcdHID               1.00bCountryCode            0 Not supportedbNumDescriptors         1bDescriptorType        34 ReportwDescriptorLength      60Report Descriptors: ** UNAVAILABLE **Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x87  EP 7 INbmAttributes            3Transfer Type            InterruptSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0004  1x 4 bytesbInterval               2
czl@czl-VirtualBox:~$

10.USB2.0 100Mbps Ethernet Network Adaptor.USB-A 网卡

USB网卡使用的是亚信(ASIX)的网络IC芯片,它是位于台湾新竹科学园的一家芯片公司。

USB描述符如下,还是比较简单的,只有一个Interface用于实现网卡功能。

(base) caozilong@caozilong-Vostro-3268:~$ lsusb -d 0b95:772b -vBus 001 Device 008: ID 0b95:772b ASIX Electronics Corp. AX88772B
Couldn't open device, some information will be missing
Device Descriptor:bLength                18bDescriptorType         1bcdUSB               2.00bDeviceClass          255 Vendor Specific ClassbDeviceSubClass       255 Vendor Specific SubclassbDeviceProtocol         0 bMaxPacketSize0        64idVendor           0x0b95 ASIX Electronics Corp.idProduct          0x772b AX88772BbcdDevice            0.02iManufacturer           1 iProduct                2 iSerial                 3 bNumConfigurations      1Configuration Descriptor:bLength                 9bDescriptorType         2wTotalLength           39bNumInterfaces          1bConfigurationValue     1iConfiguration          4 bmAttributes         0xa0(Bus Powered)Remote WakeupMaxPower              200mAInterface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        0bAlternateSetting       0bNumEndpoints           3bInterfaceClass       255 Vendor Specific ClassbInterfaceSubClass    255 Vendor Specific SubclassbInterfaceProtocol      0 iInterface              7 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x81  EP 1 INbmAttributes            3Transfer Type            InterruptSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0008  1x 8 bytesbInterval              11Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x82  EP 2 INbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0200  1x 512 bytesbInterval               0Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x03  EP 3 OUTbmAttributes            2Transfer Type            BulkSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0200  1x 512 bytesbInterval               0
(base) caozilong@caozilong-Vostro-3268:~$

USB HUB

7口HUB

在HUB中,TT表示transaction translator,为了解决连接高速设备和低速设备兼容性问题设计的一块硬件电路,位于HUB中,负责高速,低速和全速的数据转换,如果一个高速设备中有了TT电路,那么就可以连接低速,全速设备了。要不然,低速,全速设备就没法连接到HUB上用。

(base) caozilong@caozilong-RedmiBook-14:~$ lsusb -d 1a40:0201 -vBus 001 Device 019: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Couldn't open device, some information will be missing
Device Descriptor:bLength                18bDescriptorType         1bcdUSB               2.00bDeviceClass            9 HubbDeviceSubClass         0 UnusedbDeviceProtocol         2 TT per portbMaxPacketSize0        64idVendor           0x1a40 Terminus Technology Inc.idProduct          0x0201 FE 2.1 7-port HubbcdDevice            1.00iManufacturer           0 iProduct                1 iSerial                 0 bNumConfigurations      1Configuration Descriptor:bLength                 9bDescriptorType         2wTotalLength           41bNumInterfaces          1bConfigurationValue     1iConfiguration          0 bmAttributes         0xe0Self PoweredRemote WakeupMaxPower              100mAInterface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        0bAlternateSetting       0bNumEndpoints           1bInterfaceClass         9 HubbInterfaceSubClass      0 UnusedbInterfaceProtocol      1 Single TTiInterface              0 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x81  EP 1 INbmAttributes            3Transfer Type            InterruptSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0001  1x 1 bytesbInterval              12Interface Descriptor:bLength                 9bDescriptorType         4bInterfaceNumber        0bAlternateSetting       1bNumEndpoints           1bInterfaceClass         9 HubbInterfaceSubClass      0 UnusedbInterfaceProtocol      2 TT per portiInterface              0 Endpoint Descriptor:bLength                 7bDescriptorType         5bEndpointAddress     0x81  EP 1 INbmAttributes            3Transfer Type            InterruptSynch Type               NoneUsage Type               DatawMaxPacketSize     0x0001  1x 1 bytesbInterval              12
(base) caozilong@caozilong-RedmiBook-14:~$

UVC的 USB 设备端的descriptor有哪些?

UVC_INPUT_HEADER_DESCRIPTOR, struct uvc_format_uncompressed, struct UVC_FRAME_MJPEG(3),struct UVC_FRAME_UNCOMPRESSED(3).

关于如何获取HUB口的数目,是根据hub descriptor的的来的

End.

USB各类设备描述符(usb device enumeration descriptors)相关推荐

  1. USB声卡驱动(二):USB音频设备描述符

    USB声卡驱动(二)USB音频设备描述符 本篇笔记,分两部分,第一部分,是基本知识的记录.第二部分是一个实际的例子. 一.基本知识 一个音频设备(Audio Device)含有多个音频功能(Audio ...

  2. 未知USB设备(设备描述符请求失败)是什么?

    未知USB 设备(设备描述符请求失败)是什么? 参考解决方案:Win10一个USB设备描述符请求失败解决方法 恕我直言,对我们没有什么用,我们需要的是不用插拔usb也能让错误消失

  3. CH330显示未知USB设备(设备描述符请求失败)

    CH330接上电脑后显示未知USB设备(设备描述符请求失败),原因是:VCC脚的0.1uF退耦电容一定必不可少!!

  4. USB标准设备描述符

    USB标准设备的描述符包括设备描述符.配置描述符.接口描述符.端点描述符.字符串描述符.设备限定描述符和其他速率配置描述符. USB 标准描述符的类型值及所占字节数 设备描述符类型           ...

  5. Windows10神州网信版的USB故障处理(设备描述符请求失败)

    给一台计算机安装了Windows的神州网信版,在安装打印机时遭遇奇葩的故障. USB设备描述符请求失败. 开始安装完Windows10的神州网信版操作系统以及其他软件,安装HP LaserJet MF ...

  6. CH343PT库使用<二>USB转串口设备描述符配置

    文章目录 前言 一.配置EEPROM接口函数介绍 1.1 芯片功能信息结构体 1.2 USB串口芯片配置EEPROM结构体 1.3 进入芯片配置模式和退出芯片配置模式 1.4 读取和写入芯片EEPRO ...

  7. 未知USB设备(设备描述符请求失败)伴随笔记本蓝牙消失

    本人使用的笔记本电脑已经两次遇到这种情况了,第一次遇到的时候是因为发现电脑开机之后蓝牙消失了.第二次也是一样的结果,当然第二次有经验了,很快就解决了. 首先呢,蓝牙消失的同时,设备管理器中会出黄色感叹 ...

  8. win10检查更新后,蓝牙没了,卸载usb也没有用,蓝牙 未知usb设备 设备描述符请求失败

    最后解决方案: 长按电源键30s放电: 将bios的所有设置恢复默认 然后就有了蓝牙

  9. stlink 未知usb设备 设备描述符请求失败

    一般是STLINK烧了,可以用STM32的串口下载程序: 只可以用UAART_1:PA9,PA10 需要软件:FlyMcu ① PA9:为TX,要接CH340的RX PA10:为RX,要接CH340的 ...

最新文章

  1. 机器学习的数学基础 - 期望,方差与协方差
  2. 【转】Python3 (入门6) 库的打包与安装
  3. python学习笔记系列----(五)输入和输出
  4. html5怎么跟安卓交互,html5怎么与android交互
  5. javascript KeyboardEvent
  6. 关闭layui的弹出层,还会遮罩后面的界面
  7. abd串口工具使用教程_一体机电脑维修工具下载及使用教程
  8. 单片机如何关掉蜂鸣器_如何有效编程单片机有源蜂鸣器驱动
  9. 标准盒模型与IE盒模型的区别
  10. 推荐几个编程学习网站,你值得拥有!
  11. [详细] 搭建hexo博客并部署阿里云服务器
  12. 2022年财务顾问FA行业研究报告
  13. 尚硅谷外卖项目笔记一
  14. 计算机专业法语词汇,法语词汇学习:计算机及网络词汇(1)
  15. ftp上传工具 免安装,ftp上传工具 免安装绿色破解版好用推荐
  16. LTE-UMTS长期演进与实践学习(1)——LTE基本架构
  17. linux有没有处理器漏洞,【图片】为什么linux mint上cpu漏洞直到现在也没完全修复?_linux吧_百度贴吧...
  18. 华为EROFS文件系统浅析
  19. 2020usnews计算机排名布朗,2020usnews布朗大学排名怎么样?
  20. HTML css——哔哩哔哩注册页面简易制作

热门文章

  1. html5 规定input域,HTML input tel 拨号域
  2. Adcp matlab contour,WinADCP 使用指南.pdf
  3. 魅族手机(魅蓝note)无法作为调试设备连接到mac问题的解决
  4. 知乎技术分享:知乎千万级并发的高性能长连接网关技术实践
  5. v79.01 鸿蒙内核源码分析(用户态锁篇) | 如何使用快锁Futex(上) | 百篇博客分析OpenHarmony源码
  6. 智能机器人为什么这么火爆
  7. 教你如何免费获取0.1米高精度卫星地图
  8. IP-Spoofing(IP欺骗)
  9. SAP 成本中心分配和分摊
  10. win7启动提示:bootMGR被压缩