USB声卡描述符
本文地址:http://txm.tongxinmao.com/Article/Detail/id/228
    =========================== USB Port5 ===========================
Connection Status        : 0x01 (Device is connected)
Port Chain               : 1-5
      ======================== USB Device ========================
        +++++++++++++++++ Device Information ++++++++++++++++++
Device Description       : USB Composite Device
Device Path              : \\.\usb#vid_0c76&pid_1607#5&20c67efd&0&5#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
Device ID                : USB\VID_0C76&PID_1607\5&20C67EFD&0&5
Hardware IDs             : USB\VID_0C76&PID_1607&REV_0100 USB\VID_0C76&PID_1607
Driver KeyName           : {36fc9e60-c465-11cf-8056-444553540000}\0050 (GUID_DEVCLASS_USB)
Driver Inf               : C:\Windows\inf\usb.inf
Legacy BusType           : PNPBus
Class                    : USB
Class GUID               : {36fc9e60-c465-11cf-8056-444553540000} (GUID_DEVCLASS_USB)
Interface GUID           : {a5dcbf10-6530-11d2-901f-00c04fb951ed} (GUID_DEVINTERFACE_USB_DEVICE)
Service                  : usbccgp
Enumerator               : USB
Location Info            : Port_#0005.Hub_#0001
Location IDs             : PCIROOT(0)#PCI(1400)#USBROOT(0)#USB(5)
Container ID             : {78ff5958-d7fc-11e7-a1b2-001a7dda7113}
Manufacturer Info        : (标准 USB 主控制器)
Capabilities             : 0x84 (Removable, SurpriseRemovalOK)
Status                   : 0x0180600A (DN_DRIVER_LOADED, DN_STARTED, DN_DISABLEABLE, DN_REMOVABLE, DN_NT_ENUMERATOR, DN_NT_DRIVER)
Problem Code             : 0
Address                  : 5
Power State              : D0 (supported: D0, D3, wake from D0)
 Child Device 1          : USB Audio Device
  Device ID              : USB\VID_0C76&PID_1607&MI_00\6&2970C395&0&0000
  Class                  : MEDIA
 Child Device 2          : USB Headphone Set
  Device ID              : USB\VID_0C76&PID_1607&MI_03\6&2970C395&0&0003
   Child Device 1        : 符合 HID 标准的用户控制设备
    Device ID            : HID\VID_0C76&PID_1607&MI_03\7&33CF726E&0&0000
    Class                : HIDClass
        ---------------- Connection Information ---------------
Connection Index         : 0x05 (5)
Connection Status        : 0x01 (DeviceConnected)
Current Config Value     : 0x01
Device Address           : 0x0F (15)
Is Hub                   : 0x00 (no)
Number Of Open Pipes     : 0x01 (1)
Device Bus Speed         : 0x01 (Full-Speed)
Pipe0ScheduleOffset      : 0x00 (0)
Data (HexDump)           : 05 00 00 00 12 01 10 01 00 00 00 40 76 0C 07 16   ...........@v...
                           00 01 00 01 00 01 01 01 00 0F 00 01 00 00 00 01   ................
                           00 00 00 07 05 83 03 04 00 08 00 00 00 00         ..............
    ---------------------- Device Descriptor ----------------------
bLength                  : 0x12 (18 bytes)
bDescriptorType          : 0x01 (Device Descriptor)
bcdUSB                   : 0x110 (USB Version 1.10)
bDeviceClass             : 0x00 (defined by the interface descriptors)
bDeviceSubClass          : 0x00
bDeviceProtocol          : 0x00
bMaxPacketSize0          : 0x40 (64 bytes)
idVendor                 : 0x0C76 (Solid State System Co., Ltd.)
idProduct                : 0x1607
bcdDevice                : 0x0100
iManufacturer            : 0x00 (No String Descriptor)
iProduct                 : 0x01 (String Descriptor 1)
 Language 0x0409         : "USB Headphone Set°°°°°°°°°°"
iSerialNumber            : 0x00 (No String Descriptor)
bNumConfigurations       : 0x01 (1 Configuration)
Data (HexDump)           : 12 01 10 01 00 00 00 40 76 0C 07 16 00 01 00 01   .......@v.......
                           00 01                                             ..
    ------------------ Configuration Descriptor -------------------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x02 (Configuration Descriptor)
wTotalLength             : 0x00F7 (247 bytes)
bNumInterfaces           : 0x04 (4 Interfaces)
bConfigurationValue      : 0x01 (Configuration 1)
iConfiguration           : 0x00 (No String Descriptor)
bmAttributes             : 0x80
 D7: Reserved, set 1     : 0x01
 D6: Self Powered        : 0x00 (no)
 D5: Remote Wakeup       : 0x00 (no)
 D4..0: Reserved, set 0  : 0x00
MaxPower                 : 0x32 (100 mA)
Data (HexDump)           : 09 02 F7 00 04 01 00 80 32 09 04 00 00 00 01 01   ........2.......
                           00 00 0A 24 01 00 01 64 00 02 01 02 0C 24 02 01   ...$...d.....$..
                           01 01 00 02 03 00 00 00 0C 24 02 02 01 02 00 01   .........$......
                           01 00 00 00 09 24 03 11 01 03 00 31 00 09 24 03   .....$.....1..$.
                           12 01 01 02 21 00 07 24 05 21 01 32 00 0A 24 06   ....!..$.!.2..$.
                           31 41 01 01 02 02 00 09 24 06 32 02 01 43 00 00   1A......$.2..C..
                           09 24 06 33 02 01 03 00 00 0D 24 04 41 02 01 33   .$.3......$.A..3
                           02 03 00 00 00 00 09 04 01 00 00 01 02 00 00 09   ................
                           04 01 01 01 01 02 00 00 07 24 01 01 01 01 00 0B   .........$......
                           24 02 01 02 02 10 01 80 BB 00 09 05 01 09 C8 00   $...............
                           01 00 00 07 25 01 00 01 01 00 09 04 02 00 00 01   ....%...........
                           02 00 00 09 04 02 01 01 01 02 00 00 07 24 01 12   .............$..
                           01 01 00 0B 24 02 01 01 02 10 01 80 BB 00 09 05   ....$...........
                           82 05 64 00 01 00 00 07 25 01 00 00 00 00 09 04   ..d.....%.......
                           03 00 01 03 00 00 00 09 21 00 01 00 01 22 32 00   ........!...."2.
                           07 05 83 03 04 00 08                              .......
        ---------------- Interface Descriptor -----------------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x04 (Interface Descriptor)
bInterfaceNumber         : 0x00
bAlternateSetting        : 0x00
bNumEndpoints            : 0x00 (Default Control Pipe only)
bInterfaceClass          : 0x01 (Audio)
bInterfaceSubClass       : 0x01 (Audio Control)
bInterfaceProtocol       : 0x00
iInterface               : 0x00 (No String Descriptor)
Data (HexDump)           : 09 04 00 00 00 01 01 00 00                        .........
        ------ Audio Control Interface Header Descriptor ------
bLength                  : 0x0A (10 bytes)
bDescriptorType          : 0x24 (Audio Interface Descriptor)
bDescriptorSubtype       : 0x01 (Header)
bcdADC                   : 0x0100
wTotalLength             : 0x0064 (100 bytes)
bInCollection            : 0x02
baInterfaceNr[1]         : 0x01
baInterfaceNr[2]         : 0x02
Data (HexDump)           : 0A 24 01 00 01 64 00 02 01 02                     .$...d....
        ------- Audio Control Input Terminal Descriptor -------
bLength                  : 0x0C (12 bytes)
bDescriptorType          : 0x24 (Audio Interface Descriptor)
bDescriptorSubtype       : 0x02 (Input Terminal)
bTerminalID              : 0x01
wTerminalType            : 0x0101 (USB streaming)
bAssocTerminal           : 0x00
bNrChannels              : 0x02
wChannelConfig           : 0x0003
iChannelNames            : 0x00 (No String Descriptor)
iTerminal                : 0x00 (No String Descriptor)
Data (HexDump)           : 0C 24 02 01 01 01 00 02 03 00 00 00               .$..........
        ------- Audio Control Input Terminal Descriptor -------
bLength                  : 0x0C (12 bytes)
bDescriptorType          : 0x24 (Audio Interface Descriptor)
bDescriptorSubtype       : 0x02 (Input Terminal)
bTerminalID              : 0x02
wTerminalType            : 0x0201 (Microphone)
bAssocTerminal           : 0x00
bNrChannels              : 0x01
wChannelConfig           : 0x0001
iChannelNames            : 0x00 (No String Descriptor)
iTerminal                : 0x00 (No String Descriptor)
Data (HexDump)           : 0C 24 02 02 01 02 00 01 01 00 00 00               .$..........
        ------- Audio Control Output Terminal Descriptor ------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x24 (Audio Interface Descriptor)
bDescriptorSubtype       : 0x03 (Output Terminal)
bTerminalID              : 0x11
wTerminalType            : 0x0301 (Speaker)
bAssocTerminal           : 0x00 (0)
bSourceID                : 0x31 (49)
iTerminal                : 0x00 (No String Descriptor)
Data (HexDump)           : 09 24 03 11 01 03 00 31 00                        .$.....1.
        ------- Audio Control Output Terminal Descriptor ------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x24 (Audio Interface Descriptor)
bDescriptorSubtype       : 0x03 (Output Terminal)
bTerminalID              : 0x12
wTerminalType            : 0x0101 (USB streaming)
bAssocTerminal           : 0x02 (2)
bSourceID                : 0x21 (33)
iTerminal                : 0x00 (No String Descriptor)
Data (HexDump)           : 09 24 03 12 01 01 02 21 00                        .$.....!.
        ------- Audio Control Selector Unit Descriptor --------
bLength                  : 0x07 (7 bytes)
bDescriptorType          : 0x24 (Audio Interface Descriptor)
bDescriptorSubtype       : 0x05 (Selector Unit)
bUnitID                  : 0x21
bNrInPins                : 0x01
baSourceID[1]            : 0x32
iSelector                : 0x00 (No String Descriptor)
Data (HexDump)           : 07 24 05 21 01 32 00                              .$.!.2.
        -------- Audio Control Feature Unit Descriptor --------
bLength                  : 0x0A (10 bytes)
bDescriptorType          : 0x24 (Audio Interface Descriptor)
bDescriptorSubtype       : 0x06 (Feature Unit)
bUnitID                  : 0x31 (49)
bSourceID                : 0x41 (65)
bControlSize             : 0x01 (1 byte per control)
bmaControls[0]           : 0x01
 D0: Mute                : 1 (yes)
 D1: Volume              : 0 (no)
 D2: Bass                : 0 (no)
 D3: Mid                 : 0 (no)
 D4: Treble              : 0 (no)
 D5: Graphic Equalizer   : 0 (no)
 D6: Automatic Gain      : 0 (no)
 D7: Delay               : 0 (no)
bmaControls[1]           : 0x02
 D0: Mute                : 0 (no)
 D1: Volume              : 1 (yes)
 D2: Bass                : 0 (no)
 D3: Mid                 : 0 (no)
 D4: Treble              : 0 (no)
 D5: Graphic Equalizer   : 0 (no)
 D6: Automatic Gain      : 0 (no)
 D7: Delay               : 0 (no)
bmaControls[2]           : 0x02
 D0: Mute                : 0 (no)
 D1: Volume              : 1 (yes)
 D2: Bass                : 0 (no)
 D3: Mid                 : 0 (no)
 D4: Treble              : 0 (no)
 D5: Graphic Equalizer   : 0 (no)
 D6: Automatic Gain      : 0 (no)
 D7: Delay               : 0 (no)
iFeature                 : 0x00 (No String Descriptor)
Data (HexDump)           : 0A 24 06 31 41 01 01 02 02 00                     .$.1A.....
        -------- Audio Control Feature Unit Descriptor --------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x24 (Audio Interface Descriptor)
bDescriptorSubtype       : 0x06 (Feature Unit)
bUnitID                  : 0x32 (50)
bSourceID                : 0x02 (2)
bControlSize             : 0x01 (1 byte per control)
bmaControls[0]           : 0x43
 D0: Mute                : 1 (yes)
 D1: Volume              : 1 (yes)
 D2: Bass                : 0 (no)
 D3: Mid                 : 0 (no)
 D4: Treble              : 0 (no)
 D5: Graphic Equalizer   : 0 (no)
 D6: Automatic Gain      : 1 (yes)
 D7: Delay               : 0 (no)
bmaControls[1]           : 0x00
 D0: Mute                : 0 (no)
 D1: Volume              : 0 (no)
 D2: Bass                : 0 (no)
 D3: Mid                 : 0 (no)
 D4: Treble              : 0 (no)
 D5: Graphic Equalizer   : 0 (no)
 D6: Automatic Gain      : 0 (no)
 D7: Delay               : 0 (no)
iFeature                 : 0x00 (No String Descriptor)
Data (HexDump)           : 09 24 06 32 02 01 43 00 00                        .$.2..C..
        -------- Audio Control Feature Unit Descriptor --------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x24 (Audio Interface Descriptor)
bDescriptorSubtype       : 0x06 (Feature Unit)
bUnitID                  : 0x33 (51)
bSourceID                : 0x02 (2)
bControlSize             : 0x01 (1 byte per control)
bmaControls[0]           : 0x03
 D0: Mute                : 1 (yes)
 D1: Volume              : 1 (yes)
 D2: Bass                : 0 (no)
 D3: Mid                 : 0 (no)
 D4: Treble              : 0 (no)
 D5: Graphic Equalizer   : 0 (no)
 D6: Automatic Gain      : 0 (no)
 D7: Delay               : 0 (no)
bmaControls[1]           : 0x00
 D0: Mute                : 0 (no)
 D1: Volume              : 0 (no)
 D2: Bass                : 0 (no)
 D3: Mid                 : 0 (no)
 D4: Treble              : 0 (no)
 D5: Graphic Equalizer   : 0 (no)
 D6: Automatic Gain      : 0 (no)
 D7: Delay               : 0 (no)
iFeature                 : 0x00 (No String Descriptor)
Data (HexDump)           : 09 24 06 33 02 01 03 00 00                        .$.3.....
        --------- Audio Control Mixer Unit Descriptor ---------
bLength                  : 0x0D (13 bytes)
bDescriptorType          : 0x24 (Audio Interface Descriptor)
bDescriptorSubtype       : 0x04 (Mixer Unit)
bUnitID                  : 0x41
bNrInPins                : 0x02
baSourceID[1]            : 0x01
baSourceID[2]            : 0x33
bNrChannels              : 0x02
wChannelConfig           : 0x0003
iChannelNames            : 0x00 (No String Descriptor)
bmControls (HexDump)     : 00                                                .
iMixer                   : 0x00 (No String Descriptor)
Data (HexDump)           : 0D 24 04 41 02 01 33 02 03 00 00 00 00            .$.A..3......
        ---------------- Interface Descriptor -----------------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x04 (Interface Descriptor)
bInterfaceNumber         : 0x01
bAlternateSetting        : 0x00
bNumEndpoints            : 0x00 (Default Control Pipe only)
bInterfaceClass          : 0x01 (Audio)
bInterfaceSubClass       : 0x02 (Audio Streaming)
bInterfaceProtocol       : 0x00
iInterface               : 0x00 (No String Descriptor)
Data (HexDump)           : 09 04 01 00 00 01 02 00 00                        .........
        ---------------- Interface Descriptor -----------------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x04 (Interface Descriptor)
bInterfaceNumber         : 0x01
bAlternateSetting        : 0x01
bNumEndpoints            : 0x01 (1 Endpoint)
bInterfaceClass          : 0x01 (Audio)
bInterfaceSubClass       : 0x02 (Audio Streaming)
bInterfaceProtocol       : 0x00
iInterface               : 0x00 (No String Descriptor)
Data (HexDump)           : 09 04 01 01 01 01 02 00 00                        .........
        -------- Audio Streaming Interface Descriptor ---------
bLength                  : 0x07 (7 bytes)
bDescriptorType          : 0x24 (Audio Interface Descriptor)
bDescriptorSubtype       : 0x01
bTerminalLink            : 0x01
bDelay                   : 0x01
wFormatTag               : 0x0001 (PCM)
Data (HexDump)           : 07 24 01 01 01 01 00                              .$.....
        ------- Audio Streaming Format Type Descriptor --------
bLength                  : 0x0B (11 bytes)
bDescriptorType          : 0x24 (Audio Interface Descriptor)
bDescriptorSubtype       : 0x02 (Format Type)
bFormatType              : 0x01
bNrChannels              : 0x02 (2 channels)
bSubframeSize            : 0x02 (2 bytes per subframe)
bBitResolution           : 0x10 (16 bits per sample)
bSamFreqType             : 0x01 (supports 1 sample frequence)
tSamFreq[1]              : 0x0BB80 (48000 Hz)
Data (HexDump)           : 0B 24 02 01 02 02 10 01 80 BB 00                  .$.........
        ----------------- Endpoint Descriptor -----------------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x05 (Endpoint Descriptor)
bEndpointAddress         : 0x01 (Direction=OUT EndpointID=1)
bmAttributes             : 0x09 (TransferType=Isochronous  SyncType=Adaptive  EndpointType=Data)
wMaxPacketSize           : 0x00C8 (200 bytes)
bInterval                : 0x01 (1 ms)
bRefresh                 : 0x00
bSynchAddress            : 0x00
Data (HexDump)           : 09 05 01 09 C8 00 01 00 00                        .........
        ----------- Audio Data Endpoint Descriptor ------------
bLength                  : 0x07 (7 bytes)
bDescriptorType          : 0x25 (Audio Endpoint Descriptor)
bDescriptorSubtype       : 0x01 (General)
bmAttributes             : 0x00
bLockDelayUnits          : 0x01
wLockDelay               : 0x0001
Data (HexDump)           : 07 25 01 00 01 01 00                              .%.....
        ---------------- Interface Descriptor -----------------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x04 (Interface Descriptor)
bInterfaceNumber         : 0x02
bAlternateSetting        : 0x00
bNumEndpoints            : 0x00 (Default Control Pipe only)
bInterfaceClass          : 0x01 (Audio)
bInterfaceSubClass       : 0x02 (Audio Streaming)
bInterfaceProtocol       : 0x00
iInterface               : 0x00 (No String Descriptor)
Data (HexDump)           : 09 04 02 00 00 01 02 00 00                        .........
        ---------------- Interface Descriptor -----------------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x04 (Interface Descriptor)
bInterfaceNumber         : 0x02
bAlternateSetting        : 0x01
bNumEndpoints            : 0x01 (1 Endpoint)
bInterfaceClass          : 0x01 (Audio)
bInterfaceSubClass       : 0x02 (Audio Streaming)
bInterfaceProtocol       : 0x00
iInterface               : 0x00 (No String Descriptor)
Data (HexDump)           : 09 04 02 01 01 01 02 00 00                        .........
        -------- Audio Streaming Interface Descriptor ---------
bLength                  : 0x07 (7 bytes)
bDescriptorType          : 0x24 (Audio Interface Descriptor)
bDescriptorSubtype       : 0x01
bTerminalLink            : 0x12
bDelay                   : 0x01
wFormatTag               : 0x0001 (PCM)
Data (HexDump)           : 07 24 01 12 01 01 00                              .$.....
        ------- Audio Streaming Format Type Descriptor --------
bLength                  : 0x0B (11 bytes)
bDescriptorType          : 0x24 (Audio Interface Descriptor)
bDescriptorSubtype       : 0x02 (Format Type)
bFormatType              : 0x01
bNrChannels              : 0x01 (1 channel)
bSubframeSize            : 0x02 (2 bytes per subframe)
bBitResolution           : 0x10 (16 bits per sample)
bSamFreqType             : 0x01 (supports 1 sample frequence)
tSamFreq[1]              : 0x0BB80 (48000 Hz)
Data (HexDump)           : 0B 24 02 01 01 02 10 01 80 BB 00                  .$.........
        ----------------- Endpoint Descriptor -----------------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x05 (Endpoint Descriptor)
bEndpointAddress         : 0x82 (Direction=IN EndpointID=2)
bmAttributes             : 0x05 (TransferType=Isochronous  SyncType=Asynchronous  EndpointType=Data)
wMaxPacketSize           : 0x0064 (100 bytes)
bInterval                : 0x01 (1 ms)
bRefresh                 : 0x00
bSynchAddress            : 0x00
Data (HexDump)           : 09 05 82 05 64 00 01 00 00                        ....d....
        ----------- Audio Data Endpoint Descriptor ------------
bLength                  : 0x07 (7 bytes)
bDescriptorType          : 0x25 (Audio Endpoint Descriptor)
bDescriptorSubtype       : 0x01 (General)
bmAttributes             : 0x00
bLockDelayUnits          : 0x00
wLockDelay               : 0x0000
Data (HexDump)           : 07 25 01 00 00 00 00                              .%.....
        ---------------- Interface Descriptor -----------------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x04 (Interface Descriptor)
bInterfaceNumber         : 0x03
bAlternateSetting        : 0x00
bNumEndpoints            : 0x01 (1 Endpoint)
bInterfaceClass          : 0x03 (HID - Human Interface Device)
bInterfaceSubClass       : 0x00 (None)
bInterfaceProtocol       : 0x00 (None)
iInterface               : 0x00 (No String Descriptor)
Data (HexDump)           : 09 04 03 00 01 03 00 00 00                        .........
        ------------------- HID Descriptor --------------------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x21 (HID Descriptor)
bcdHID                   : 0x0100 (HID Version 1.00)
bCountryCode             : 0x00 (00 = not localized)
bNumDescriptors          : 0x01
Data (HexDump)           : 09 21 00 01 00 01 22 32 00                        .!...."2.
Descriptor 1:
bDescriptorType          : 0x22 (Class=Report)
wDescriptorLength        : 0x0032 (50 bytes)
Error reading descriptor : ERROR_GEN_FAILURE
        ----------------- Endpoint Descriptor -----------------
bLength                  : 0x07 (7 bytes)
bDescriptorType          : 0x05 (Endpoint Descriptor)
bEndpointAddress         : 0x83 (Direction=IN EndpointID=3)
bmAttributes             : 0x03 (TransferType=Interrupt)
wMaxPacketSize           : 0x0004 (4 bytes)
bInterval                : 0x08 (8 ms)
Data (HexDump)           : 07 05 83 03 04 00 08                              .......
      -------------------- String Descriptors -------------------
             ------ String Descriptor 0 ------
bLength                  : 0x04 (4 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language ID[0]           : 0x0409 (English - United States)
Data (HexDump)           : 04 03 09 04                                       ....
             ------ String Descriptor 1 ------
bLength                  : 0x38 (56 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language 0x0409          : "USB Headphone Set°°°°°°°°°°"  *!*ERROR  contains 10 NULL characters
Data (HexDump)           : 38 03 55 00 53 00 42 00 20 00 48 00 65 00 61 00   8.U.S.B. .H.e.a.
                           64 00 70 00 68 00 6F 00 6E 00 65 00 20 00 53 00   d.p.h.o.n.e. .S.
                           65 00 74 00 00 00 00 00 00 00 00 00 00 00 00 00   e.t.............
                           00 00 00 00 00 00 00 00                           ........
             ------ String Descriptor 2 ------
bLength                  : 0x1A (26 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language 0x0409          : "000000000000"
Data (HexDump)           : 1A 03 30 00 30 00 30 00 30 00 30 00 30 00 30 00   ..0.0.0.0.0.0.0.
                           30 00 30 00 30 00 30 00 30 00                     0.0.0.0.0.上一篇:LINUX C网络抓包分析
下一篇:predictable network interface names 树莓派网卡名称改为eth0