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

Apparently it means that there is already an urb queued for this
pipe....although I tried timeouts to wait for the urb to finish....it seems
to be stuck in the queue/pipe ...

I also tried this with an urb_pool which will use urbs in the pool that
don't have -EINPROGRESS status.  Same thing is happening, except the first
urb in the pool will succede and the next urb (the first sent urb shows a
status of -EINPROGRESS, while the urb allocated for writing has a status of
0) will fail.  After the error message, nothing else can be sent down the
pipe as it claims there is already an urb queued.  I was looking around in
drivers/usb/ for example work using usb_sndintpipe, there aren't many.
(only 1, auerisdn_b.c)  What is the basic layout for how I should be
submitting multiple urbs with usb_sndintpipe?  The below is part of a loop
in the particular function...

struct urb *urb;
int pipe;

pipe = usb_sndintpipe(udev, endpointaddress);  <-- these are valid....

urb = usb_alloc_urb (0);

usb_fill_int_urb(urb, udev, pipe, buffer, len, callback_function, context,
interval);  <--these are also valid
usb_submit_urb (urb);

I'm sure that something is missing on my part.  Any thoughts?



-------------------------------------------------------
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

Reply via email to