Re: usb.c patch -> successfuly read usb descriptors on some USB device

From: Greg KH (greg@kroah.com)
Date: Tue Jan 15 2002 - 13:38:14 EST


On Tue, Jan 15, 2002 at 11:59:57AM +0200, Dmitri Kassatkine wrote:
> Hi,
>
> Sometimes USB subsystem cannot get USB descriptor.
>
> Jan 15 10:44:21 selma kernel: hub.c: USB new device connect on bus1/1, assigned device number 25
> Jan 15 10:44:21 selma kernel: usb.c: couldn't get all of config descriptors
> Jan 15 10:44:21 selma kernel: usb.c: unable to get device 25 configuration (error=-110)
>
> Here is patch how to fix it for 2.4.17. It works for 2.4.16 as well.
> It necassary to read descriptor at once, not first 8 byte first.

Then this device does not match the USB spec.

> It works well now for NSM USB Bluetooth dongle.

Has this device gone through the USB certification process? There are a
_lot_ of USB bluetooth devices out there that violate the USB spec, and
have not been certified.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 15 2002 - 21:00:52 EST