USB转DB25打印并口

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


    =========================== USB Port3 ===========================


Connection Status        : 0x01 (Device is connected)

Port Chain               : 1-11-2-3


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


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

Device Description       : USB 打印支持

Device Path              : \\.\usb#vid_1a86&pid_7584#7&551f86e&0&3#{a5dcbf10-6530-11d2-901f-00c04fb951ed}

Device ID                : USB\VID_1A86&PID_7584\7&551F86E&0&3

Hardware IDs             : USB\VID_1A86&PID_7584&REV_0254 USB\VID_1A86&PID_7584

Driver KeyName           : {36fc9e60-c465-11cf-8056-444553540000}\0061 (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_#0003.Hub_#0004

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

Container ID             : {b7fa60ca-8814-11e7-b2c0-005056c00008}

Manufacturer Info        : Microsoft

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

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


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

Connection Index         : 0x03 (3)

Connection Status        : 0x01 (DeviceConnected)

Current Config Value     : 0x01

Device Address           : 0x27 (39)

Is Hub                   : 0x00 (no)

Number Of Open Pipes     : 0x02 (2)

Device Bus Speed         : 0x01 (Full-Speed)

Pipe0ScheduleOffset      : 0x00 (0)

Pipe1ScheduleOffset      : 0x00 (0)

Data (HexDump)           : 03 00 00 00 12 01 10 01 00 00 00 08 86 1A 84 75   ...............u

                           54 02 00 02 00 01 01 01 00 27 00 02 00 00 00 01   T........'......

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

                           82 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             : 0x00 (defined by the interface descriptors)

bDeviceSubClass          : 0x00

bDeviceProtocol          : 0x00

bMaxPacketSize0          : 0x08 (8 bytes)

idVendor                 : 0x1A86

idProduct                : 0x7584

bcdDevice                : 0x0254

iManufacturer            : 0x00 (No String Descriptor)

iProduct                 : 0x02 (String Descriptor 2)

 Language 0x0409         : "USB2.0-Print "

iSerialNumber            : 0x00 (No String Descriptor)

bNumConfigurations       : 0x01 (1 Configuration)

Data (HexDump)           : 12 01 10 01 00 00 00 08 86 1A 84 75 54 02 00 02   ...........uT...

                           00 01                                             ..


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

bLength                  : 0x09 (9 bytes)

bDescriptorType          : 0x02 (Configuration Descriptor)

wTotalLength             : 0x004E (78 bytes)

bNumInterfaces           : 0x01 (1 Interface)

bConfigurationValue      : 0x01 (Configuration 1)

iConfiguration           : 0x00 (No String Descriptor)

bmAttributes             : 0xA0

 D7: Reserved, set 1     : 0x01

 D6: Self Powered        : 0x00 (no)

 D5: Remote Wakeup       : 0x01 (yes)

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

MaxPower                 : 0x32 (100 mA)

Data (HexDump)           : 09 02 4E 00 01 01 00 A0 32 09 04 00 00 01 07 01   ..N.....2.......

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

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

                           09 04 00 02 03 FF 00 FF 00 07 05 01 02 40 00 00   .............@..

                           07 05 82 02 40 00 00 07 05 83 03 04 00 01         ....@.........


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

bLength                  : 0x09 (9 bytes)

bDescriptorType          : 0x04 (Interface Descriptor)

bInterfaceNumber         : 0x00

bAlternateSetting        : 0x00

bNumEndpoints            : 0x01 (1 Endpoint)

bInterfaceClass          : 0x07 (Printer)

bInterfaceSubClass       : 0x01

bInterfaceProtocol       : 0x01

iInterface               : 0x00 (No String Descriptor)

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


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

bLength                  : 0x09 (9 bytes)

bDescriptorType          : 0x04 (Interface Descriptor)

bInterfaceNumber         : 0x00

bAlternateSetting        : 0x01

bNumEndpoints            : 0x02 (2 Endpoints)

bInterfaceClass          : 0x07 (Printer)

bInterfaceSubClass       : 0x01

bInterfaceProtocol       : 0x02

iInterface               : 0x00 (No String Descriptor)

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


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

bLength                  : 0x09 (9 bytes)

bDescriptorType          : 0x04 (Interface Descriptor)

bInterfaceNumber         : 0x00

bAlternateSetting        : 0x02

bNumEndpoints            : 0x03 (3 Endpoints)

bInterfaceClass          : 0xFF (Vendor Specific)

bInterfaceSubClass       : 0x00

bInterfaceProtocol       : 0xFF

iInterface               : 0x00 (No String Descriptor)

Data (HexDump)           : 09 04 00 02 03 FF 00 FF 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         : 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         : 0x83 (Direction=IN EndpointID=3)

bmAttributes             : 0x03 (TransferType=Interrupt)

wMaxPacketSize           : 0x0004 (4 bytes)

bInterval                : 0x01 (1 ms)

Data (HexDump)           : 07 05 83 03 04 00 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                  : 0x32 (50 bytes)

bDescriptorType          : 0x03 (String Descriptor)

Language 0x0409          : "Prはlific Technology Inc."

Data (HexDump)           : 32 03 50 00 72 00 6F 30 6C 00 69 00 66 00 69 00   2.P.r.o0l.i.f.i.

                           63 00 20 00 54 00 65 00 63 00 68 00 6E 00 6F 00   c. .T.e.c.h.n.o.

                           6C 00 6F 00 67 00 79 00 20 00 49 00 6E 00 63 00   l.o.g.y. .I.n.c.

                           2E 00                                             ..

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

bLength                  : 0x1C (28 bytes)

bDescriptorType          : 0x03 (String Descriptor)

Language 0x0409          : "USB2.0-Print "  *!*CAUTION  trailing space character

Data (HexDump)           : 1C 03 55 00 53 00 42 00 32 00 2E 00 30 00 2D 00   ..U.S.B.2...0.-.

                           50 00 72 00 69 00 6E 00 74 00 20 00               P.r.i.n.t. .


上一篇:USB转CN36 (IEEE1286) 描述符
下一篇:串/并口引脚定义 DB25 DB9