On Thu, 9 Sep 2004 [EMAIL PROTECTED] wrote: > Sorry, my explanations were not very clear: > > 1 - A first URB is submitted. > 2 - The device doesn't send any data > 3 - The first URB is unlinked and freed (timeout managment for example; > usb_bulk_msg() does this) > The completion handler is called, everything works well (I use > synchronous URB unlink). > 4 - A second URB is submitted > 5 - The device send data (with a mouse, for example, press one a button and > don't release it). > Whith an USB analyser, I can see a packet but the IO completion handler > (of the second URB) isn't called. > 6 - Then submit a third URB > 7 - The device send data and everything goes well (with a mouse, release > the mouse button) > > Strange isn't it ?
Not necessarily. Maybe the packet you see in the analyzer represents only the beginning of the transfer, and the computer is waiting for more data before the transfer will be complete. What are the transfer_length of the second URB, the maxpacket value for the endpoint you're using, and the size of the data packet from the device? Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel