Marcelo de Paula Bezerra wrote:
> I exchanged some e-mail with Vojtech (input layer and usb_hid mantainer)
> until we found out that hid-core.c was giving up here:
>
> hid-core.c line 1331
> if ((n = hid_get_class_descriptor(dev, interface->bInterfaceNumber,
> HID_DT_REPORT, rdesc, rsize)) < 0) {
> dbg("reading report descriptor failed");
> return NULL;
> }
So, why dies it give up? The diagnostic should give the status code.
Just knowing some call fails isn't so useful, but knowing _why_ it
does so is half way to knowing what's wrong.
> I thought it would be a bug in usb-uhci-hcd, but tryed all uhci drivers
> in 2.5.20 and none of them worked.
>
> Georg Acher thinks it might be a problem in the HCD framework.
More likely a problem in the conversion of those drivers to use
that framework, or perhaps a longstanding bug at the HID level
that's now being detected (like an illegal argument).
- Dave
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel