[libhid-discuss] retrieving large HID descriptor bytes
Charles Lepple
clepple at ghz.cc
Wed Jun 16 01:14:34 UTC 2010
On Jun 15, 2010, at 1:34 PM, stone mike wrote:
> But on ubuntu 9.04 the libhid test got a very large descriptor bytes.
Does your device respond to both Method 1 and Method 2 described here?
http://trac.networkupstools.org/projects/nut/browser/trunk/drivers/libusb.c#L242
As mentioned there, lsusb uses the second method - although you may
want to re-run lsusb, because it chopped off the interesting part:
[...]
> HID Device Descriptor:
> bLength 9
> bDescriptorType 33
> bcdHID 1.10
> bCountryCode 0 Not supported
> bNumDescriptors 1
> bDescriptorType 34 Report
> wDescriptorLength 28
> Report Descriptors:
> ** UNAVAILABLE **
--
Charles Lepple
More information about the libhid-discuss
mailing list