I am developing an usb interface for a device driver. I use a mandrake
linux 8.0 with kernel 2.4.3-20mdk. I tried uhci and usb-uhci and it did
exactly the same thing :
-normal communication that don't fail (Commands are sends on control
pipe , data are receive on bulk in pipe and send on bulk out pipe )
-first I send specific command (Commands are still sends on control
pipe)
-then I wait for an answer
-I send the command parameter which is only 1 (one) byte.
-finally a final answer should arrive.

But the last answer never arrives.
I tried to add some debug info on output and I've seen that usb_bulk_msg
return ETIMEOUT.
After that, every communication on bulk out pipe fails with timeout, ant
if I still continue to try, error becomes EPIPE and usb_clear_halt fails
to change pipe status. Everythings becomes as it was at the begining if
I unload then reload uhci or usb-uhci. If I retry, it does, of course,
the same thing.

I hope someone will be able to help me...


-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to