sp-pos88 网口串口USB3合1 USB描述符

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


    =========================== USB Port2 ===========================


Connection Status        : 0x01 (Device is connected)

Port Chain               : 1-6-2-2


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


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

Device Description       : USB 打印支持

Device Path              : \\?\usb#vid_0483&pid_5720#11101800002#{a5dcbf10-6530-11d2-901f-00c04fb951ed}

Device ID                : USB\VID_0483&PID_5720\11101800002

Hardware IDs             : USB\VID_0483&PID_5720&REV_0200 USB\VID_0483&PID_5720

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

Driver                   : C:\Windows\system32\DRIVERS\usbprint.sys (Version: 6.1.7600.16385  Date: 2009-07-14)

Driver Inf               : C:\Windows\inf\usbprint.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                  : usbprint

Enumerator               : USB

Location Info            : Port_#0002.Hub_#0004

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

Container ID             : {3dcedd32-7055-546e-88c2-19282c3ff34e}

Manufacturer Info        : Microsoft

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                  : 2

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

 Child Device 1          : 没有连接打印机

  Device ID              : USBPRINT\UNKNOWNPRINTER\6&26D6B31B&0&USB004

  Class                  : USB


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

Connection Index         : 0x02 (2)

Connection Status        : 0x01 (DeviceConnected)

Current Config Value     : 0x01

Device Address           : 0x0F (15)

Is Hub                   : 0x00 (no)

Number Of Open Pipes     : 0x02 (2)

Device Bus Speed         : 0x01 (Full-Speed)

Pipe0ScheduleOffset      : 0x00 (0)

Pipe1ScheduleOffset      : 0x00 (0)

Data (HexDump)           : 02 00 00 00 12 01 00 02 00 00 00 40 83 04 20 57   ...........@.. W

                           00 02 01 02 03 01 01 01 00 0F 00 02 00 00 00 01   ................

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

                           81 02 40 00 00 00 00 00 00                        ..@......


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

bLength                  : 0x12 (18 bytes)

bDescriptorType          : 0x01 (Device Descriptor)

bcdUSB                   : 0x200 (USB Version 2.00)

bDeviceClass             : 0x00 (defined by the interface descriptors)

bDeviceSubClass          : 0x00

bDeviceProtocol          : 0x00

bMaxPacketSize0          : 0x40 (64 bytes)

idVendor                 : 0x0483 (STMicroelectronics)

idProduct                : 0x5720

bcdDevice                : 0x0200

iManufacturer            : 0x01 (String Descriptor 1)

 Language 0x0409         : "Spirit"

iProduct                 : 0x02 (String Descriptor 2)

 Language 0x0409         : "SPRT Printer"

iSerialNumber            : 0x03 (String Descriptor 3)

 Language 0x0409         : "11101800002"

bNumConfigurations       : 0x01

Data (HexDump)           : 12 01 00 02 00 00 00 40 83 04 20 57 00 02 01 02   .......@.. W....

                           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          : "Spirit"

Data (HexDump)           : 0E 03 53 00 70 00 69 00 72 00 69 00 74 00         ..S.p.i.r.i.t.

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

bLength                  : 0x1A (26 bytes)

bDescriptorType          : 0x03 (String Descriptor)

Language 0x0409          : "SPRT Printer"

Data (HexDump)           : 1A 03 53 00 50 00 52 00 54 00 20 00 50 00 72 00   ..S.P.R.T. .P.r.

                           69 00 6E 00 74 00 65 00 72 00                     i.n.t.e.r.

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

bLength                  : 0x18 (24 bytes)

bDescriptorType          : 0x03 (String Descriptor)

Language 0x0409          : "11101800002"

Data (HexDump)           : 18 03 31 00 31 00 31 00 30 00 31 00 38 00 30 00   ..1.1.1.0.1.8.0.

                           30 00 30 00 30 00 32 00                           0.0.0.2.

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

bLength                  : 0x16 (22 bytes)

bDescriptorType          : 0x03 (String Descriptor)

Language 0x0409          : "PRN Config"

Data (HexDump)           : 16 03 50 00 52 00 4E 00 20 00 43 00 6F 00 6E 00   ..P.R.N. .C.o.n.

                           66 00 69 00 67 00                                 f.i.g.

             ------ String Descriptor 5 ------

bLength                  : 0x1C (28 bytes)

bDescriptorType          : 0x03 (String Descriptor)

Language 0x0409          : "PRN Interface"

Data (HexDump)           : 1C 03 50 00 52 00 4E 00 20 00 49 00 6E 00 74 00   ..P.R.N. .I.n.t.

                           65 00 72 00 66 00 61 00 63 00 65 00               e.r.f.a.c.e.


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

bLength                  : 0x09 (9 bytes)

bDescriptorType          : 0x02 (Configuration Descriptor)

wTotalLength             : 0x0020 (32 bytes)

bNumInterfaces           : 0x01

bConfigurationValue      : 0x01

iConfiguration           : 0x00 (No String Descriptor)

bmAttributes             : 0xE0

 D7: Reserved, set 1     : 0x01

 D6: Self Powered        : 0x01 (yes)

 D5: Remote Wakeup       : 0x01 (yes)

 D4..0: Reserved, set 0  : 0x00

MaxPower                 : 0x01 (2 mA)

Data (HexDump)           : 09 02 20 00 01 01 00 E0 01 09 04 00 00 02 07 01   .. .............

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


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

bLength                  : 0x09 (9 bytes)

bDescriptorType          : 0x04 (Interface Descriptor)

bInterfaceNumber         : 0x00

bAlternateSetting        : 0x00

bNumEndpoints            : 0x02 (2 Endpoints)

bInterfaceClass          : 0x07 (Printer)

bInterfaceSubClass       : 0x01

bInterfaceProtocol       : 0x02

iInterface               : 0x00 (No String Descriptor)

Data (HexDump)           : 09 04 00 00 02 07 01 02 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                              ....@..


        ----------------- 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                              ....@..


上一篇:COAP协议详解(RFC 7252​)
下一篇:Raspberry Pi Wifi (Station + AP modes)