Are there special functions I need to use for URB queueing? Or are you saying, just simply submit all the URBs and let the Linux USB subsystem handle the queueing?
Are URB memory sizes important? Should they remain constant?
Just submit a bunch at once ... they line up in a neat queue as you submit them. Your job is to make sure there's always an urb at the head of the queue.
Size of the buffers in the urbs doesn't matter to the HCD, but it may matter to your application protocol whether you try to read/write short packets (length not a multiple of the maxpacket size, 512 bytes at high speed).
You'll probably need to have separate activities reading data and writing it to disk.
The writing is done in user-space. I think I may make the write in a thread. Is this what you are saying?
And the reads shouldn't block while you're waiting for the writes to complete ...
- Dave
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel