XP-58IIH USB描述符
本文地址:http://tongxinmao.com/Article/Detail/id/357
======================== USB Device ========================
+++++++++++++++++ Device Information ++++++++++++++++++
Device Description : USB 打印支持
Device Path : \\?\usb#vid_0483&pid_070b#6&2d7446ae&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
Device ID : USB\VID_0483&PID_070B\6&2D7446AE&0&2
Hardware IDs : USB\VID_0483&PID_070B&REV_0254 USB\VID_0483&PID_070B
Driver KeyName : {36fc9e60-c465-11cf-8056-444553540000}\0015 (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(1D00)#USBROOT(0)#USB(1)#USB(2)
Container ID : {30153516-f99c-11e7-82b7-0021ccbde476}
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 : 2
Power State : D0 (supported: D0, D3, wake from D0)
Child Device 1 : 没有连接打印机
Device ID : USBPRINT\UNKNOWNPRINTER\7&14826F83&0&USB001
Class : USB
---------------- Connection Information ---------------
Connection Index : 0x02 (2)
Connection Status : 0x01 (DeviceConnected)
Current Config Value : 0x01
Device Address : 0x02 (2)
Is Hub : 0x00 (no)
Number Of Open Pipes : 0x02 (2)
Device Bus Speed : 0x01 (Full-Speed)
Pipe0ScheduleOffset : 0x00 (0)
Pipe1ScheduleOffset : 0x00 (0)
------------------ 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 : 0x070B
bcdDevice : 0x0254
iManufacturer : 0x01 (String Descriptor 1)
Language 0x0409 : "Printer-58"
iProduct : 0x02 (String Descriptor 2)
Language 0x0409 : "USB Printing Support"
iSerialNumber : 0x03 (String Descriptor 3)
bNumConfigurations : 0x01
------------------ String Descriptors -----------------
------ String Descriptor 0 ------
bLength : 0x04 (4 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language ID[0] : 0x0409 (English - United States)
------ String Descriptor 1 ------
bLength : 0x16 (22 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "Printer-58"
------ String Descriptor 2 ------
bLength : 0x2A (42 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "USB Printing Support"
------ String Descriptor 4 ------
bLength : 0x16 (22 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "PCP Config"
------ String Descriptor 5 ------
bLength : 0x1C (28 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "PCP Interface"
---------------- Configuration Descriptor -----------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x02 (Configuration Descriptor)
wTotalLength : 0x0020 (32 bytes)
bNumInterfaces : 0x01
bConfigurationValue : 0x01
iConfiguration : 0x00 (No String Descriptor)
bmAttributes : 0xC0
D7: Reserved, set 1 : 0x01
D6: Self Powered : 0x01 (yes)
D5: Remote Wakeup : 0x00 (no)
D4..0: Reserved, set 0 : 0x00
MaxPower : 0x32 (100 mA)
---------------- 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)
----------------- 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)
----------------- 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)
连SBT设备:
======================== USB Device ========================
+++++++++++++++++ Device Information ++++++++++++++++++
Device Description : USB 打印支持
Device Path : \\?\usb#vid_0483&pid_070b#7&1e7965fd&0&4#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
Device ID : USB\VID_0483&PID_070B\7&1E7965FD&0&4
Hardware IDs : USB\VID_0483&PID_070B&REV_0254 USB\VID_0483&PID_070B
Driver KeyName : {36fc9e60-c465-11cf-8056-444553540000}\0037 (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_#0004.Hub_#0005
Location IDs : PCIROOT(0)#PCI(1D00)#USBROOT(0)#USB(1)#USB(2)#USB(4)
Container ID : {448dfc94-5108-11e8-9be4-0021ccbde476}
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 : 4
Power State : D0 (supported: D0, D2, D3, wake from D0, wake from D2)
Child Device 1 : 没有连接打印机
Device ID : USBPRINT\UNKNOWNPRINTER\8&17E2E3BB&0&USB003
Class : USB
---------------- Connection Information ---------------
Connection Index : 0x04 (4)
Connection Status : 0x01 (DeviceConnected)
Current Config Value : 0x01
Device Address : 0x05 (5)
Is Hub : 0x00 (no)
Number Of Open Pipes : 0x02 (2)
Device Bus Speed : 0x01 (Full-Speed)
Pipe0ScheduleOffset : 0x00 (0)
Pipe1ScheduleOffset : 0x00 (0)
------------------ 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 : 0x070B
bcdDevice : 0x0254
iManufacturer : 0x01 (String Descriptor 1)
Language 0x0409 : "Printer-58"
iProduct : 0x02 (String Descriptor 2)
Language 0x0409 : "USB Printing Support"
iSerialNumber : 0x03 (String Descriptor 3)
Language 0x0409 : "?"
bNumConfigurations : 0x01
------------------ String Descriptors -----------------
------ String Descriptor 0 ------
bLength : 0x04 (4 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language ID[0] : 0x0409 (English - United States)
------ String Descriptor 1 ------
bLength : 0x16 (22 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "Printer-58"
------ String Descriptor 2 ------
bLength : 0x2A (42 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "USB Printing Support"
------ String Descriptor 3 ------
bLength : 0x04 (4 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "?"
---------------- Configuration Descriptor -----------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x02 (Configuration Descriptor)
wTotalLength : 0x0020 (32 bytes)
bNumInterfaces : 0x01
bConfigurationValue : 0x01
iConfiguration : 0x00 (No String Descriptor)
bmAttributes : 0xC0
D7: Reserved, set 1 : 0x01
D6: Self Powered : 0x01 (yes)
D5: Remote Wakeup : 0x00 (no)
D4..0: Reserved, set 0 : 0x00
MaxPower : 0x01 (2 mA)
---------------- 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)
----------------- 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)
----------------- 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)
上一篇:OPOS驱动及应用
下一篇:HS-76453 浩顺针式打印USB描述符