[libhid-discuss] HID Usage path for input and output

Charles Lepple clepple at ghz.cc
Tue Sep 26 20:55:20 UTC 2006


Mark S. Townsley wrote:
> Hi:
>
> I am a few hours into libhid and I have no clue how to obtain my input and
> output path to communicate with my device.

The input and output paths are below; ignore the ones ending in 0x00000000
(they are the result of arrays, or other odd descriptor constructs)

> I went through the test_libhid.c comments but still unsure.  Can someone
> explain to me how I can read the the output
> from hid_dump_tree to find out my input/output usage path?   Thanks!!
>
> Here is the output of hid_dump_tree:
>
> parse tree of HIDInterface 001/005[0]:
>   path: 0xff000001.0xff000002; type: 0x80
>   path: 0xff000001.0x00000000; type: 0x80
>   path: 0xff000001.0x00000000; type: 0x80
>   path: 0xff000001.0x00000000; type: 0x80
>   path: 0xff000001.0x00000000; type: 0x80
>   path: 0xff000001.0x00000000; type: 0x80
>   path: 0xff000001.0x00000000; type: 0x80
>   path: 0xff000001.0x00000000; type: 0x80
>   path: 0xff000001.0xff000003; type: 0x90
>   path: 0xff000001.0x00000000; type: 0x90
>   path: 0xff000001.0x00000000; type: 0x90
>   path: 0xff000001.0x00000000; type: 0x90
>   path: 0xff000001.0x00000000; type: 0x90
>   path: 0xff000001.0x00000000; type: 0x90
>   path: 0xff000001.0x00000000; type: 0x90
>   path: 0xff000001.0x00000000; type: 0x90
>   path: 0xff000001.0xff000004; type: 0xb0
>   path: 0xff000001.0x00000000; type: 0xb0

What does 'lsusb -vvv' say for this device?

-- 
Charles Lepple
clepple at ghz.cc




More information about the libhid-discuss mailing list