> 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.
I tried doing this, but the copy_to_user functions did not work then. They only work when I wait for the bulk_isr() to resubmit 1 URB at a time. I must be doing something wrong in the bulk_isr function (I basically just copy_to_user in this function), even with the QUEUE_BULK flag. Do I need to use the QUEUE_BULK flag? The queueing definately works in the latest stable version in MDK 9.2? > > And the reads shouldn't block while you're waiting for the > writes to complete ... So, basically make threads for both read and write? thanks Ted -- Ted Huntington Programmer Analyst I Main Library University of California, Irvine PO Box 19557 Irvine, CA 92623-9557 emesgs: [EMAIL PROTECTED] web page: http://business.lib.uci.edu/webpages/ted.htm 8:00a-12:00p Business Office (949) 824-8926 1:00p-5:00p Multimedia Resource Center (949) 824-1674 "Stop violence, teach science." ------------------------------------------------------- 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