CH-LINK USB DESC IAD CDC

    本文地址:http://www.tongxinmao.com/Article/Detail/id/479


        =========================== USB Port6 ===========================


    Connection Status        : 0x01 (Device is connected)

    Port Chain               : 1-6


          ======================== USB Device ========================


            +++++++++++++++++ Device Information ++++++++++++++++++

    Device Description       : USB Composite Device

    Device Path              : \\?\usb#vid_1a86&pid_8010#0001a0000001#{a5dcbf10-6530-11d2-901f-00c04fb951ed}

    Device ID                : USB\VID_1A86&PID_8010\0001A0000001

    Hardware IDs             : USB\VID_1A86&PID_8010&REV_0102 USB\VID_1A86&PID_8010

    Driver KeyName           : {36fc9e60-c465-11cf-8056-444553540000}\0048 (GUID_DEVCLASS_USB)

    Driver                   : C:\Windows\system32\DRIVERS\usbccgp.sys (Version: 6.1.7601.17514  Date: 2010-11-21)

    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_#0006.Hub_#0001

    Location IDs             : PCIROOT(0)#PCI(1400)#USBROOT(0)#USB(6)

    Container ID             : {190233aa-7621-52b0-ac48-32e370faa353}

    Manufacturer Info        : (标准 USB 主控制器)

    Capabilities             : 0x94 (Removable, UniqueID, SurpriseRemovalOK)

    Status                   : 0x0180600A (DN_DRIVER_LOADED, DN_STARTED, DN_DISABLEABLE, DN_REMOVABLE, DN_NT_ENUMERATOR, DN_NT_DRIVER)

    Problem Code             : 0

    Address                  : 6

    Power State              : D0 (supported: D0, D3, wake from D0)

     Child Device 1          : WCH-LinkRV

      Device ID              : USB\VID_1A86&PID_8010&MI_00\6&1EE0F0BE&0&0000

      Class                  : WCH

     Child Device 2          : WCH-Link

      Device ID              : USB\VID_1A86&PID_8010&MI_01\6&1EE0F0BE&0&0001

      Class                  : Ports

      COM-Port               : COM19 ()

      Problem                : 1 (CM_PROB_NOT_CONFIGURED)


            ---------------- Connection Information ---------------

    Connection Index         : 0x06 (6)

    Connection Status        : 0x01 (DeviceConnected)

    Current Config Value     : 0x01

    Device Address           : 0x06 (6)

    Is Hub                   : 0x00 (no)

    Number Of Open Pipes     : 0x07 (7)

    Device Bus Speed         : 0x01 (Full-Speed)

    Pipe0ScheduleOffset      : 0x00 (0)

    Pipe1ScheduleOffset      : 0x00 (0)

    Pipe2ScheduleOffset      : 0x00 (0)

    Pipe3ScheduleOffset      : 0x00 (0)

    Pipe4ScheduleOffset      : 0x00 (0)

    Pipe5ScheduleOffset      : 0x00 (0)

    Pipe6ScheduleOffset      : 0x00 (0)

    Data (HexDump)           : 06 00 00 00 12 01 10 01 EF 02 01 08 86 1A 10 80   ................

                               02 01 01 02 03 01 01 01 00 06 00 07 00 00 00 01   ................

                               00 00 00 07 05 82 02 40 00 00 00 00 00 00 07 05   .......@........

                               02 02 40 00 00 00 00 00 00 07 05 81 02 40 00 00   ..@..........@..

                               00 00 00 00 07 05 01 02 40 00 00 00 00 00 00 07   ........@.......

                               05 84 03 08 00 01 00 00 00 00 07 05 83 02 40 00   ..............@.

                               00 00 00 00 00 07 05 03 02 40 00 00 00 00 00 00   .........@......


            ------------------ Device Descriptor ------------------

    bLength                  : 0x12 (18 bytes)

    bDescriptorType          : 0x01 (Device Descriptor)

    bcdUSB                   : 0x110 (USB Version 1.10)

    bDeviceClass             : 0xEF (Miscellaneous)

    bDeviceSubClass          : 0x02

    bDeviceProtocol          : 0x01 (IAD)

    bMaxPacketSize0          : 0x08 (8 bytes)

    idVendor                 : 0x1A86

    idProduct                : 0x8010

    bcdDevice                : 0x0102

    iManufacturer            : 0x01 (String Descriptor 1)

     Language 0x0409         : "wch.cn"

    iProduct                 : 0x02 (String Descriptor 2)

     Language 0x0409         : "WCH-Link"

    iSerialNumber            : 0x03 (String Descriptor 3)

     Language 0x0409         : "0001A0000001"

    bNumConfigurations       : 0x01

    Data (HexDump)           : 12 01 10 01 EF 02 01 08 86 1A 10 80 02 01 01 02   ................

                               03 01                                             ..


            ------------------ 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                  : 0x0E (14 bytes)

    bDescriptorType          : 0x03 (String Descriptor)

    Language 0x0409          : "wch.cn"

    Data (HexDump)           : 0E 03 77 00 63 00 68 00 2E 00 63 00 6E 00         ..w.c.h...c.n.

                 ------ String Descriptor 2 ------

    bLength                  : 0x12 (18 bytes)

    bDescriptorType          : 0x03 (String Descriptor)

    Language 0x0409          : "WCH-Link"

    Data (HexDump)           : 12 03 57 00 43 00 48 00 2D 00 4C 00 69 00 6E 00   ..W.C.H.-.L.i.n.

                               6B 00                                             k.

                 ------ String Descriptor 3 ------

    bLength                  : 0x1A (26 bytes)

    bDescriptorType          : 0x03 (String Descriptor)

    Language 0x0409          : "0001A0000001"

    Data (HexDump)           : 1A 03 30 00 30 00 30 00 31 00 41 00 30 00 30 00   ..0.0.0.1.A.0.0.

                               30 00 30 00 30 00 30 00 31 00                     0.0.0.0.1.

                 ------ String Descriptor 4 ------

    bLength                  : 0x12 (18 bytes)

    bDescriptorType          : 0x03 (String Descriptor)

    Language 0x0409          : "WCH-Link"

    Data (HexDump)           : 12 03 57 00 43 00 48 00 2D 00 4C 00 69 00 6E 00   ..W.C.H.-.L.i.n.

                               6B 00                                             k.


          ---------------- Configuration Descriptor -----------------

    bLength                  : 0x09 (9 bytes)

    bDescriptorType          : 0x02 (Configuration Descriptor)

    wTotalLength             : 0x0078 (120 bytes)

    bNumInterfaces           : 0x03

    bConfigurationValue      : 0x01

    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 78 00 03 01 00 80 32 08 0B 00 01 FF 00 00   ..x.....2.......

                               02 09 04 00 00 04 FF 80 55 00 07 05 82 02 40 00   ........U.....@.

                               00 07 05 02 02 40 00 00 07 05 81 02 40 00 00 07   .....@......@...

                               05 01 02 40 00 00 08 0B 01 02 02 02 01 04 09 04   ...@............

                               01 00 01 02 02 01 00 05 24 00 10 01 05 24 01 01   ........$....$..

                               00 04 24 02 02 05 24 06 00 01 07 05 84 03 08 00   ..$...$.........

                               01 09 04 02 00 02 0A 00 00 00 07 05 83 02 40 00   ..............@.

                               00 07 05 03 02 40 00 00                           .....@..


            ------------------- IAD Descriptor --------------------

    bLength                  : 0x08 (8 bytes)

    bDescriptorType          : 0x0B

    bFirstInterface          : 0x00

    bInterfaceCount          : 0x01

    *!*ERROR  bInterfaceCount must be greater than 1

    bFunctionClass           : 0xFF (Vendor Specific)

    bFunctionSubClass        : 0x00

    bFunctionProtocol        : 0x00

    iFunction                : 0x02 (String Descriptor 2)

     Language 0x0409         : "WCH-Link"

    Data (HexDump)           : 08 0B 00 01 FF 00 00 02                           ........


            ---------------- Interface Descriptor -----------------

    bLength                  : 0x09 (9 bytes)

    bDescriptorType          : 0x04 (Interface Descriptor)

    bInterfaceNumber         : 0x00

    bAlternateSetting        : 0x00

    bNumEndpoints            : 0x04 (4 Endpoints)

    bInterfaceClass          : 0xFF (Vendor Specific)

    bInterfaceSubClass       : 0x80

    bInterfaceProtocol       : 0x55

    iInterface               : 0x00 (No String Descriptor)

    Data (HexDump)           : 09 04 00 00 04 FF 80 55 00                        .......U.


            ----------------- Endpoint Descriptor -----------------

    bLength                  : 0x07 (7 bytes)

    bDescriptorType          : 0x05 (Endpoint Descriptor)

    bEndpointAddress         : 0x82 (Direction=IN EndpointID=2)

    bmAttributes             : 0x02 (TransferType=Bulk)

    wMaxPacketSize           : 0x0040 (64 bytes)

    bInterval                : 0x00 (ignored)

    Data (HexDump)           : 07 05 82 02 40 00 00                              ....@..


            ----------------- Endpoint Descriptor -----------------

    bLength                  : 0x07 (7 bytes)

    bDescriptorType          : 0x05 (Endpoint Descriptor)

    bEndpointAddress         : 0x02 (Direction=OUT EndpointID=2)

    bmAttributes             : 0x02 (TransferType=Bulk)

    wMaxPacketSize           : 0x0040 (64 bytes)

    bInterval                : 0x00 (ignored)

    Data (HexDump)           : 07 05 02 02 40 00 00                              ....@..


            ----------------- Endpoint Descriptor -----------------

    bLength                  : 0x07 (7 bytes)

    bDescriptorType          : 0x05 (Endpoint Descriptor)

    bEndpointAddress         : 0x81 (Direction=IN EndpointID=1)

    bmAttributes             : 0x02 (TransferType=Bulk)

    wMaxPacketSize           : 0x0040 (64 bytes)

    bInterval                : 0x00 (ignored)

    Data (HexDump)           : 07 05 81 02 40 00 00                              ....@..


            ----------------- Endpoint Descriptor -----------------

    bLength                  : 0x07 (7 bytes)

    bDescriptorType          : 0x05 (Endpoint Descriptor)

    bEndpointAddress         : 0x01 (Direction=OUT EndpointID=1)

    bmAttributes             : 0x02 (TransferType=Bulk)

    wMaxPacketSize           : 0x0040 (64 bytes)

    bInterval                : 0x00 (ignored)

    Data (HexDump)           : 07 05 01 02 40 00 00                              ....@..


            ------------------- IAD Descriptor --------------------

    bLength                  : 0x08 (8 bytes)

    bDescriptorType          : 0x0B

    bFirstInterface          : 0x01

    bInterfaceCount          : 0x02

    bFunctionClass           : 0x02 (Communications and CDC Control)

    bFunctionSubClass        : 0x02

    bFunctionProtocol        : 0x01

    iFunction                : 0x04 (String Descriptor 4)

     Language 0x0409         : "WCH-Link"

    Data (HexDump)           : 08 0B 01 02 02 02 01 04                           ........


            ---------------- Interface Descriptor -----------------

    bLength                  : 0x09 (9 bytes)

    bDescriptorType          : 0x04 (Interface Descriptor)

    bInterfaceNumber         : 0x01

    bAlternateSetting        : 0x00

    bNumEndpoints            : 0x01 (1 Endpoint)

    bInterfaceClass          : 0x02 (Communications and CDC Control)

    bInterfaceSubClass       : 0x02

    bInterfaceProtocol       : 0x01

    iInterface               : 0x00 (No String Descriptor)

    Data (HexDump)           : 09 04 01 00 01 02 02 01 00                        .........


            -------------- CDC Interface Descriptor ---------------

    bFunctionLength          : 0x05 (5 bytes)

    bDescriptorType          : 0x24 (Interface)

    bDescriptorSubType       : 0x00 (Header Functional Descriptor)

    bcdCDC                   : 0x110 (CDC Version 1.10)

    Data (HexDump)           : 05 24 00 10 01                                    .$...


            -------------- CDC Interface Descriptor ---------------

    bFunctionLength          : 0x05 (5 bytes)

    bDescriptorType          : 0x24 (Interface)

    bDescriptorSubType       : 0x01 (Call Management Functional Descriptor)

    bmCapabilities           : 0x01

    bDataInterface           : 0x00

    Data (HexDump)           : 05 24 01 01 00                                    .$...


            -------------- CDC Interface Descriptor ---------------

    bFunctionLength          : 0x04 (4 bytes)

    bDescriptorType          : 0x24 (Interface)

    bDescriptorSubType       : 0x02 (Abstract Control Management Functional Descriptor)

    bmCapabilities           : 0x02

    Data (HexDump)           : 04 24 02 02                                       .$..


            -------------- CDC Interface Descriptor ---------------

    bFunctionLength          : 0x05 (5 bytes)

    bDescriptorType          : 0x24 (Interface)

    bDescriptorSubType       : 0x06 (Union Functional Descriptor)

    bControlInterface        : 0x00

    bSubordinateInterface[0] : 0x01

    Data (HexDump)           : 05 24 06 00 01                                    .$...


            ----------------- Endpoint Descriptor -----------------

    bLength                  : 0x07 (7 bytes)

    bDescriptorType          : 0x05 (Endpoint Descriptor)

    bEndpointAddress         : 0x84 (Direction=IN EndpointID=4)

    bmAttributes             : 0x03 (TransferType=Interrupt)

    wMaxPacketSize           : 0x0008 (8 bytes)

    bInterval                : 0x01 (1 ms)

    Data (HexDump)           : 07 05 84 03 08 00 01                              .......


            ---------------- Interface Descriptor -----------------

    bLength                  : 0x09 (9 bytes)

    bDescriptorType          : 0x04 (Interface Descriptor)

    bInterfaceNumber         : 0x02

    bAlternateSetting        : 0x00

    bNumEndpoints            : 0x02 (2 Endpoints)

    bInterfaceClass          : 0x0A (CDC-Data)

    bInterfaceSubClass       : 0x00

    bInterfaceProtocol       : 0x00

    iInterface               : 0x00 (No String Descriptor)

    Data (HexDump)           : 09 04 02 00 02 0A 00 00 00                        .........


            ----------------- Endpoint Descriptor -----------------

    bLength                  : 0x07 (7 bytes)

    bDescriptorType          : 0x05 (Endpoint Descriptor)

    bEndpointAddress         : 0x83 (Direction=IN EndpointID=3)

    bmAttributes             : 0x02 (TransferType=Bulk)

    wMaxPacketSize           : 0x0040 (64 bytes)

    bInterval                : 0x00 (ignored)

    Data (HexDump)           : 07 05 83 02 40 00 00                              ....@..


            ----------------- Endpoint Descriptor -----------------

    bLength                  : 0x07 (7 bytes)

    bDescriptorType          : 0x05 (Endpoint Descriptor)

    bEndpointAddress         : 0x03 (Direction=OUT EndpointID=3)

    bmAttributes             : 0x02 (TransferType=Bulk)

    wMaxPacketSize           : 0x0040 (64 bytes)

    bInterval                : 0x00 (ignored)

    Data (HexDump)           : 07 05 03 02 40 00 00                              ....@..


    上一篇:TMOS使用说明
    下一篇:PHP hexstr2bytes bytes2hexstr 十六进制字符串和字节数组转换