- info = usb_pipeout (urb->pipe)? - TD_CC | TD_R | TD_DP_OUT | TD_T_DATA1 : TD_CC | TD_R | TD_DP_IN | TD_T_DATA1;
going to

+			info = usb_pipeout (urb->pipe)? (TD_CC | TD_R | TD_DP_OUT | TD_T_TOGGLE)
+						      : (TD_CC | TD_R | TD_DP_IN | TD_T_TOGGLE);
No ...

Toggle on control endpoints must reset at the beginning of
each transaction and you're saying to use whatever the last
transaction left lying around.

You can use TD_T_TOGGLE on all but the first TD, but for that
first one you need to forcibly reset it.







-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to