爱宝条码枪USB描述符
本文地址:http://txm.tongxinmao.com/Article/Detail/id/148
    =========================== USB Port2 ===========================
Connection Status        : 0x01 (Device is connected)
Port Chain               : 1-12-1-2
      ======================== USB Device ========================
        +++++++++++++++++ Device Information ++++++++++++++++++
Device Description       : USB 输入设备
Device Path              : \\.\usb#vid_13ba&pid_0018#7&253c6eec&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
Device ID                : USB\VID_13BA&PID_0018\7&253C6EEC&0&2
Hardware IDs             : USB\VID_13BA&PID_0018&REV_0001 USB\VID_13BA&PID_0018
Driver KeyName           : {745a17a0-74d3-11d0-b6fe-00a0c90f57da}\0088 (GUID_DEVCLASS_HIDCLASS)
Driver                   : C:\Windows\system32\DRIVERS\hidusb.sys (Version: 6.1.7601.17514  Date: 2010-11-21)
Driver Inf               : C:\Windows\inf\input.inf
Legacy BusType           : PNPBus
Class                    : HIDClass
Class GUID               : {745a17a0-74d3-11d0-b6fe-00a0c90f57da} (GUID_DEVCLASS_HIDCLASS)
Interface GUID           : {a5dcbf10-6530-11d2-901f-00c04fb951ed} (GUID_DEVINTERFACE_USB_DEVICE)
Service                  : HidUsb
Enumerator               : USB
Location Info            : Port_#0002.Hub_#0003
Location IDs             : PCIROOT(0)#PCI(1400)#USBROOT(0)#USB(12)#USB(1)#USB(2)
Container ID             : {972b9712-0ab5-11e7-8d29-aa85eb551a4a}
Manufacturer Info        : (标准系统设备)
Capabilities             : 0x84 (Removable, SurpriseRemovalOK)
Status                   : 0x0180400A (DN_DRIVER_LOADED, DN_STARTED, DN_REMOVABLE, DN_NT_ENUMERATOR, DN_NT_DRIVER)
Problem Code             : 0
Power State              : D0 (supported: D0, D1, D2, D3, wake from D0, wake from D1, wake from D2)
 Child Device 1          : HID Keyboard Device
  Device ID              : HID\VID_13BA&PID_0018\8&3756A539&0&0000
  Class                  : Keyboard
        ---------------- Connection Information ---------------
Connection Index         : 0x02 (2)
Connection Status        : 0x01 (DeviceConnected)
Current Config Value     : 0x01
Device Address           : 0x2A (42)
Is Hub                   : 0x00 (no)
Number Of Open Pipes     : 0x01 (1)
Device Bus Speed         : 0x01 (Full-Speed)
Pipe0ScheduleOffset      : 0x00 (0)
Data (HexDump)           : 02 00 00 00 12 01 10 01 00 00 00 08 BA 13 18 00   ................
                           01 00 00 01 00 01 01 01 00 2A 00 01 00 00 00 01   .........*......
                           00 00 00 07 05 81 03 08 00 02 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                 : 0x13BA
idProduct                : 0x0018
bcdDevice                : 0x0001
iManufacturer            : 0x00 (No String Descriptor)
iProduct                 : 0x01 (String Descriptor 1)
 Language 0x0409         : "Barcode Reader "  *!*CAUTION  trailing space character
iSerialNumber            : 0x00 (No String Descriptor)
bNumConfigurations       : 0x01
Data (HexDump)           : 12 01 10 01 00 00 00 08 BA 13 18 00 01 00 00 01   ................
                           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                  : 0x20 (32 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language 0x0409          : "Barcode Reader "  *!*CAUTION  trailing space character
Data (HexDump)           : 20 03 42 00 61 00 72 00 63 00 6F 00 64 00 65 00    .B.a.r.c.o.d.e.
                           20 00 52 00 65 00 61 00 64 00 65 00 72 00 20 00    .R.e.a.d.e.r. .
      ---------------- Configuration Descriptor -----------------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x02 (Configuration Descriptor)
wTotalLength             : 0x0022 (34 bytes)
bNumInterfaces           : 0x01
bConfigurationValue      : 0x01
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                 : 0xC8 (400 mA)
Data (HexDump)           : 09 02 22 00 01 01 00 A0 C8 09 04 00 00 01 03 01   ..".............
                           01 00 09 21 10 01 00 01 22 3E 00 07 05 81 03 08   ...!....">......
                           00 02                                             ..
        ---------------- Interface Descriptor -----------------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x04 (Interface Descriptor)
bInterfaceNumber         : 0x00
bAlternateSetting        : 0x00
bNumEndpoints            : 0x01 (1 Endpoint)
bInterfaceClass          : 0x03 (HID - Human Interface Device)
bInterfaceSubClass       : 0x01 (Boot Interface)
bInterfaceProtocol       : 0x01 (Keyboard)
iInterface               : 0x00 (No String Descriptor)
Data (HexDump)           : 09 04 00 00 01 03 01 01 00                        .........
        ------------------- HID Descriptor --------------------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x21 (HID Descriptor)
bcdHID                   : 0x0110 (HID Version 1.10)
bCountryCode             : 0x00 (00 = not localized)
bNumDescriptors          : 0x01
Data (HexDump)           : 09 21 10 01 00 01 22 3E 00                        .!....">.
Descriptor 1:
bDescriptorType          : 0x22 (Class=Report)
wDescriptorLength        : 0x003E (62 bytes)
Error reading descriptor : ok
        ----------------- Endpoint Descriptor -----------------
bLength                  : 0x07 (7 bytes)
bDescriptorType          : 0x05 (Endpoint Descriptor)
bEndpointAddress         : 0x81 (Direction=IN EndpointID=1)
bmAttributes             : 0x03 (TransferType=Interrupt)
wMaxPacketSize           : 0x0008 (8 bytes)
bInterval                : 0x02 (2 ms)
Data (HexDump)           : 07 05 81 03 08 00 02                              .......上一篇:STLINKV2 USB描述符
下一篇:税控机XJD38 USB描述符