What does UsagePage lines mean in USB board?

Status
Not open for further replies.

doc1

Newbie level 3
Joined
Oct 25, 2007
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,329
Hi, The below is an output from a program using the JvHidController component which was reading my USB Development Board connected to my PC. Can someone let me know what the UsagePage lines means or in fact the whole lot?


"ATMEL" "AT89C5131 EvaB HID Keyboard" VID=$03EB PID=$2003
SerialNumber=1.0.0
Input Report Size=8
Output Report Size=1
Feature Report Size=0

Button Input
============

0)
UsagePage: Keyboard ($0007)
ReportID: 0
IsAlias: False
BitField: 2
LinkCollection: 0
LinkUsage: Keyboard ($0006)
LinkUsagePage: Generic Desktop ($0001)
IsRange: True
IsStringRange: False
IsDesignatorRange: False
IsAbsolute: True
UsageMin: 224 UsageMax: 231
StringMin: 0 StringMax: 0
DesignatorMin: 0 DesignatorMax: 0
DataIndexMin: 0 DataIndexMax: 7

1)
UsagePage: Keyboard ($0007)
ReportID: 0
IsAlias: False
BitField: 0
LinkCollection: 0
LinkUsage: Keyboard ($0006)
LinkUsagePage: Generic Desktop ($0001)
IsRange: True
IsStringRange: False
IsDesignatorRange: False
IsAbsolute: True
UsageMin: 0 UsageMax: 101
StringMin: 0 StringMax: 0
DesignatorMin: 0 DesignatorMax: 0
DataIndexMin: 8 DataIndexMax: 109

Button Output
=============

0)
UsagePage: LED ($0008)
ReportID: 0
IsAlias: False
BitField: 2
LinkCollection: 0
LinkUsage: Keyboard ($0006)
LinkUsagePage: Generic Desktop ($0001)
IsRange: True
IsStringRange: False
IsDesignatorRange: False
IsAbsolute: True
UsageMin: 1 UsageMax: 5
StringMin: 0 StringMax: 0
DesignatorMin: 0 DesignatorMax: 0
DataIndexMin: 0 DataIndexMax: 4
 

jvhidcontroller

When you plug in a usb device, it goes through the process of enumeration to describe to the driver what it is and what it supports. Normaly for HID devices. The usage pages give details, for instance, if it was a joystock, it would describe the axis supported, axis ranges, buttons, throttle lever etc.
Writing these pages can be tricky, so there are software tools that help you write them.
The standard that describes these parameters is massive, complex, and covers just about every HID device you can think of.
HID is human interface device.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…