On Sun, Apr 29, 2001 at 06:27:53PM +0200, Sancho Dauskardt wrote:
> Once again the turn-time issue, which is really serious for the usb-storage 
> device i'm fighting with, since it can only do max 4k transfers (again this 
> EZ-USB thing that doesn't enumerate and therfore doesn't change the 
> interfaces).
> 
> Trying to optimize following sequence:
> - send command to bulk ep 4. I call this the 'master-urb'
> - recieve data from bulk ep 2. I call this the 'slave-urb'

Is there a reason you can't submit the read urb to ep 2 before sending
the command to ep 4?  Or, how about having the completion handler for ep
4 submit the read urb to ep 2?  Then you _know_ the write command
completed before trying to read (you can't rely on the status !=
EINPROGRESS as I've been reminded at times :)

Hope this helps,

greg k-h

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to