On Mon, 17 May 2004 08:47:27 -0500 "Lonnie Mendez" <[EMAIL PROTECTED]> wrote:
> I'm using the usb-uhci driver (this will also happen on the uhci driver) on > vanilla kernel 2.4.26. Problem will not occur in 2.6.x > When sending an urb down the interrupt out pipe, it will succede the first > time. But then the next time I try this, usb-uhci will give me this error > message: > > this occurs on or near line 1664 of usb-uhci.c > > usb-uhci.c ENXIO 40010200, flags 0, urb cf5734a0, burb cf573c20 > test_int_urb.c: usb_submit_urb failed with status -6 >[...] It is supposed to work this way if your interval is not zero, which is the default. If you want a one shot interrupt transfer, you must zero the interval. Please refer to function process_interrupt() in usb-uhci and to function sohci_return_urb() in usb-ohci. It is very likely that 2.6 is different and either requires manual resubmissions (or usb->next set), or it defaults to zero interval, but I do not know for sure. Haven't looking at the source for a while. -- Pete ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel