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

_______________________________________________
libhid-discuss mailing list
libhid-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/

Reply via email to