Re: [linux-usb-devel] usb_fill_bulk_urb() broken for USB1.1?

From: Greg KH
Date: Wed Jun 27 2007 - 03:32:35 EST


On Tue, Jun 26, 2007 at 01:52:41PM -0400, Chuck Ebbert wrote:
> On 06/26/2007 10:20 AM, Keith Chew wrote:
>
> [cc: linux-usb-devel]
>
> > We have been using a Zydas based WIFI drivers under kernel 2.6.16.18
> > with great success. Recently, when we upgraded to 2.6.20.1 (also
> > tested on 2.6.21.5), we found that during initialisation, these calls
> > works with USB2.0 but stopped working on USB1.1:
> >
> > usb_fill_bulk_urb();
> > usb_submit_urb();
> >
> > The error code returned is -22 (-EINVAL). In 2.6.16.18, it works for
> > both USB2.0 and 1.1.
> >
> > When we change to use usb_fill_int_urb(), it then works for USB1.1,
> > but takes up to 15 seconds (usually less than 5 seconds) for the
> > driver to initialise. Also, usb_fill_int_urb() does not work for
> > USB2.0 (kernel panic).
> >
> > Can anyone point us to the right direction on how to get
> > usb_fill_bulk_urb() working on USB1.1? We need this as not all of the
> > deployed machines have USB2.0 enabled.

Do you have a pointer to where this code is so that we can see if the
driver is doing something "odd"?

thanks,

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