USB键盘描述符
本文地址:http://dsyn.tongxinmao.com/Article/Detail/id/154
=========================== USB Port3 ===========================
Connection Status : 0x01 (Device is connected)
Port Chain : 1-12-1-3
======================== USB Device ========================
+++++++++++++++++ Device Information ++++++++++++++++++
Device Description : USB Composite Device
Device Path : \\?\usb#vid_1c4f&pid_0002#7&253c6eec&0&3#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
Device ID : USB\VID_1C4F&PID_0002\7&253C6EEC&0&3
Hardware IDs : USB\VID_1C4F&PID_0002&REV_0110 USB\VID_1C4F&PID_0002
Driver KeyName : {36fc9e60-c465-11cf-8056-444553540000}\0150 (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_#0003.Hub_#0003
Location IDs : PCIROOT(0)#PCI(1400)#USBROOT(0)#USB(12)#USB(1)#USB(3)
Container ID : {1baf3aa3-0fd6-11e7-8276-005056c00008}
Manufacturer Info : (标准 USB 主控制器)
Capabilities : 0x84 (Removable, SurpriseRemovalOK)
Status : 0x0180400A (DN_DRIVER_LOADED, DN_STARTED, 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)
Child Device 1 : USB 输入设备
Device ID : USB\VID_1C4F&PID_0002&MI_00\8&20626CFE&0&0000
Class : HIDClass
Child Device 1 : HID Keyboard Device
Device ID : HID\VID_1C4F&PID_0002&MI_00\9&49E5F37&0&0000
Class : Keyboard
Child Device 2 : USB 输入设备
Device ID : USB\VID_1C4F&PID_0002&MI_01\8&20626CFE&0&0001
Class : HIDClass
Child Device 1 : 符合 HID 标准的用户控制设备
Device ID : HID\VID_1C4F&PID_0002&MI_01&COL01\9&1F38DE8B&0&0000
Class : HIDClass
Child Device 2 : HID-compliant device
Device ID : HID\VID_1C4F&PID_0002&MI_01&COL02\9&1F38DE8B&0&0001
Class : HIDClass
---------------- Connection Information ---------------
Connection Index : 0x03 (3)
Connection Status : 0x01 (DeviceConnected)
Current Config Value : 0x01
Device Address : 0x0E (14)
Is Hub : 0x00 (no)
Number Of Open Pipes : 0x02 (2)
Device Bus Speed : 0x00 (Low-Speed)
Pipe0ScheduleOffset : 0x00 (0)
Pipe1ScheduleOffset : 0x00 (0)
Data (HexDump) : 03 00 00 00 12 01 10 01 00 00 00 08 4F 1C 02 00 ............O...
10 01 01 02 00 01 01 00 00 0E 00 02 00 00 00 01 ................
00 00 00 07 05 81 03 08 00 0A 00 00 00 00 07 05 ................
82 03 03 00 0A 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 : 0x1C4F
idProduct : 0x0002
bcdDevice : 0x0110
iManufacturer : 0x01 (String Descriptor 1)
Language 0x0409 : "SIGMACHIP"
iProduct : 0x02 (String Descriptor 2)
Language 0x0409 : "USB Keyboard"
iSerialNumber : 0x00 (No String Descriptor)
bNumConfigurations : 0x01
Data (HexDump) : 12 01 10 01 00 00 00 08 4F 1C 02 00 10 01 01 02 ........O.......
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 : 0x14 (20 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "SIGMACHIP"
Data (HexDump) : 14 03 53 00 49 00 47 00 4D 00 41 00 43 00 48 00 ..S.I.G.M.A.C.H.
49 00 50 00 I.P.
------ String Descriptor 2 ------
bLength : 0x1A (26 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "USB Keyboard"
Data (HexDump) : 1A 03 55 00 53 00 42 00 20 00 4B 00 65 00 79 00 ..U.S.B. .K.e.y.
62 00 6F 00 61 00 72 00 64 00 b.o.a.r.d.
------ String Descriptor 3 ------
bLength : 0x0C (12 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "SIGMA"
Data (HexDump) : 0C 03 53 00 49 00 47 00 4D 00 41 00 ..S.I.G.M.A.
------ String Descriptor 4 ------
bLength : 0x04 (4 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "?"
Data (HexDump) : 04 03 09 04 ....
----- String Descriptor 0xEE -----
bLength : 0x04 (4 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "?"
Data (HexDump) : 04 03 09 04 ....
---------------- Configuration Descriptor -----------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x02 (Configuration Descriptor)
wTotalLength : 0x003B (59 bytes)
bNumInterfaces : 0x02
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 : 0x31 (98 mA)
Data (HexDump) : 09 02 3B 00 02 01 00 A0 31 09 04 00 00 01 03 01 ..;.....1.......
01 00 09 21 10 01 00 01 22 36 00 07 05 81 03 08 ...!...."6......
00 0A 09 04 01 00 01 03 00 00 00 09 21 10 01 00 ............!...
01 22 32 00 07 05 82 03 03 00 0A ."2........
---------------- 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 36 00 .!...."6.
Descriptor 1:
bDescriptorType : 0x22 (Class=Report)
wDescriptorLength : 0x0036 (54 bytes)
09 02 Usage (0x02)
3B 00 02 01 00 Designator Index (66048)
A0 Collection (Physical)
31 09 unk
04 Usage Page (Undefined)
00 unk
00 unk
01 03 unk
01 01 unk
00 unk
09 21 Usage (0x21)
10 unk
01 00 unk
01 22 unk
36 00 07 Physical Minimum (1792)
05 81 Usage Page (USB Monitor Enumerated Values)
03 08 00 0A 09 unk
04 Usage Page (Undefined)
01 00 unk
01 03 unk
00 unk
00 unk
00 unk
09 21 Usage (0x21)
10 unk
01 00 unk
01 22 unk
32 00 07 unk
05 Usage Page (Undefined)
Data (HexDump) : 09 02 3B 00 02 01 00 A0 31 09 04 00 00 01 03 01 ..;.....1.......
01 00 09 21 10 01 00 01 22 36 00 07 05 81 03 08 ...!...."6......
00 0A 09 04 01 00 01 03 00 00 00 09 21 10 01 00 ............!...
01 22 32 00 07 05 ."2...
----------------- Endpoint Descriptor -----------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x81 (Direction=IN EndpointID=1)
bmAttributes : 0x03 (TransferType=Interrupt)
wMaxPacketSize : 0x0008
bInterval : 0x0A (10 ms)
Data (HexDump) : 07 05 81 03 08 00 0A .......
---------------- Interface Descriptor -----------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x04 (Interface Descriptor)
bInterfaceNumber : 0x01
bAlternateSetting : 0x00
bNumEndpoints : 0x01 (1 Endpoint)
bInterfaceClass : 0x03 (HID - Human Interface Device)
bInterfaceSubClass : 0x00 (None)
bInterfaceProtocol : 0x00 (None)
iInterface : 0x00 (No String Descriptor)
Data (HexDump) : 09 04 01 00 01 03 00 00 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 32 00 .!...."2.
Descriptor 1:
bDescriptorType : 0x22 (Class=Report)
wDescriptorLength : 0x0032 (50 bytes)
09 02 Usage (0x02)
3B 00 02 01 00 Designator Index (66048)
A0 Collection (Physical)
31 09 unk
04 Usage Page (Undefined)
00 unk
00 unk
01 03 unk
01 01 unk
00 unk
09 21 Usage (0x21)
10 unk
01 00 unk
01 22 unk
36 00 07 Physical Minimum (1792)
05 81 Usage Page (USB Monitor Enumerated Values)
03 08 00 0A 09 unk
04 Usage Page (Undefined)
01 00 unk
01 03 unk
00 unk
00 unk
00 unk
09 21 Usage (0x21)
10 unk
01 00 unk
01 22 unk
Data (HexDump) : 09 02 3B 00 02 01 00 A0 31 09 04 00 00 01 03 01 ..;.....1.......
01 00 09 21 10 01 00 01 22 36 00 07 05 81 03 08 ...!...."6......
00 0A 09 04 01 00 01 03 00 00 00 09 21 10 01 00 ............!...
01 22 ."
----------------- Endpoint Descriptor -----------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x82 (Direction=IN EndpointID=2)
bmAttributes : 0x03 (TransferType=Interrupt)
wMaxPacketSize : 0x0003
bInterval : 0x0A (10 ms)
Data (HexDump) : 07 05 82 03 03 00 0A .......上一篇:循环队列 C语言
下一篇:PC摄像头(带MIC)USB描述符