[libhid-discuss] device with multiple interfaces
Charles Lepple
clepple at ghz.cc
Wed May 16 12:53:47 UTC 2007
On May 16, 2007, at 8:37 AM, Arvid Picciani wrote:
>> libhid-detach-device
> after that i get
> i have no idea how to interpret the output
[...]
> Report Descriptor: (length is 142)
> Item(Global): Usage Page, data= [ 0x01 ] 1
> Generic Desktop Controls
> Item(Local ): Usage, data= [ 0x06 ] 6
> Keyboard
the keyboard part starts here
> Item(Global): Usage Page, data= [ 0x0c ] 12
> Consumer
> Item(Local ): Usage, data= [ 0x01 ] 1
> Consumer Control
> Item(Main ): Collection, data= [ 0x01 ] 1
> Application
> Item(Global): Report ID, data= [ 0x02 ] 2
> Item(Local ): Usage Minimum, data= [ 0x00 ] 0
> Unassigned
> Item(Local ): Usage Maximum, data= [ 0x3c 0x02 ] 572
> AC Format
> Item(Global): Logical Minimum, data= [ 0x00 ] 0
> Item(Global): Logical Maximum, data= [ 0x3c 0x02 ] 572
> Item(Global): Report Size, data= [ 0x10 ] 16
> Item(Global): Report Count, data= [ 0x01 ] 1
> Item(Main ): Input, data= [ 0x00 ] 0
> Data Array Absolute No_Wrap Linear
> Preferred_State No_Null_Position
> Non_Volatile
> Bitfield
> Item(Main ): End Collection, data=none
Not sure what the above portion is, but maybe a remote control?
> Item(Global): Usage Page, data= [ 0x01 ] 1
> Generic Desktop Controls
> Item(Local ): Usage, data= [ 0x02 ] 2
> Mouse
mouse stuff starts here.
So it looks like keyboard and mouse plus maybe a remote control are
on the first interface, and the rest of the functionality is on the
second one.
--
Charles Lepple
More information about the libhid-discuss
mailing list