David Brownell wrote:

Heinrich du Toit wrote:

So I'm thinking use the next field and make a circle que with some urbs.

Don't use urb->next, it never worked for anything except ISO and
is gone in 2.5 anyway ... since it was always possible to just
have completion handlers resubmit, if you want "ring" behavior.


Ok. What happens when I make actual length = 0? Can I do this. For example when there is no data.

Read the documentation: that's an _output_ field, not an input field.


And then how do I stop this circle queue of urbs?

Set a flag that keeps you from resubmitting urbs from
your completion handler, and unlink all your active urbs.





Thanks for the help.
So I think it's something like this then:

1. Don't use next.
2. Make each bulk alot bigger than the wMaxPacketSize.
3. Submit lots of urbs at same time. And submit new ones when the complete handlers come back?

Is this right?

I really need to get 12Mbit/s out of this thing.

Cherio
-Heinrich





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