Formats various Human Interface Devices "HID" data structures.
1 – COLLECTION
Formats the HID collection data structure.
Format
USB SHOW HID COLLECTION [address]
1.1 – Example
SDA> USB SHOW HID COLLECTIONS 8968b090 Forward pointer to next collection: 00000000 Forward pointer to next collection: 00000000 This is a collection: 02 Collection type: Application part Parent collection address: 00000000 Main item Flink: 896f9810 Main item Blink: 896fa390 Number of main items: 00000005 Number of sub items: 00000001 Subcollection Flink: 896f9610 Subcollection Blink: 896f95d0 SDA>
2 – CONTEXT
Displays the HID context block. Every HID device has one context
block that it shares with the HID common driver.
Format
USB SHOW HID CONTEXT [address]
2.1 – Example
SDA> USB SHOW HID CONTEXT 896F7A50 Flags : 00000000 Interface handle : 896f5bd0 Device handle : 896edb10 Pointer to Configuration Descriptor : 896f1bd0 Pointer to Interface Descriptor : 896f1bf2 Pointer to HID Descriptor : 896f9550 Report descriptor : 8968c390 Report descriptor size in bytes : 0000007c Pointer to Physical Descriptor : 00000000 Endpoint count : 00000001 Control Pipe Handle : 896f4b50 I/O's outstanding on control pipe : 00000000 Input Pipe Handle : 896fb8d0 Output Pipe Handle : 00000000 Pointer to collection array : 8968b090 Number of collection in array : 00000004 HID drivers UCB address : 896f5ec0 Functions UCB address : 896fb380 SDA>
3 – ITEM
Displays data about a HID item.
Format
USB SHOW HID ITEM [address]
3.1 – Example
SDA> USB SHO HID ITEM 896f9850 Items forward link pointer : 896f9890 Items backward link pointer : 896f9820 Global item type Item tag is : 0000 usage page tag Item data is : 00000009 Buttons SDA>
4 – MAIN
Displays data about a HID main item.
Format
USB SHOW HID MAIN [address]
4.1 – Example
SDA> USB SHOW HID MAIN 896f9810
Main item Forward link : 896F99D0
Main item Backward link : 8968b0a4
This is a main item : 01
Main item tag : 00000008 Input Item tag
Main item data : 00000002
Data, Variable, Absolute, Nowrap, Linear, Preferred state, No Null position
Main item's item queue flink : 896f9850
Main item's item queue blink : 896f96d0
Pointer to collection this main item is part of: 8968b090
SDA>
5 – REPort
Formats the HID report into an easaily read format
Format
USB SHO HID REPORT [address_of_context_block]
5.1 – Example
SDA> usb sho hid report 89716D90
Item Hex Value
--------------------------------------------------------------------------------
Generic Desktop 05
Usage (reserved) 09
Collection Application a1
Keyboard Keypad 05
Usage Minimum (e0) 19
Usage Maximum (e7) 29
Logical Minimum (00) 15
Logical Maximum (01) 25
Report Size (01) 75
Report Count (08) 95
Input (Data, Variable) 81
Report Count (01) 95
Report Size (08) 75
Input (Constant) 81
Report Count (05) 95
Report Size (01) 75
LEDs 05
Usage Minimum (01) 19
Usage Maximum (05) 29
Output (Data, Variable) 91
Report Count (01) 95
Report Size (03) 75
Output (Constant) 91
Report Count (06) 95
Report Size (08) 75
Logical Minimum (00) 15
Logical Maximum (e700) 26
Keyboard Keypad 05
Usage Minimum (00) 19
Usage Maximum (e7) 29
Input (Data, Array) 81
End Collection c0
SDA>