On Sat, Mar 6, 2010 at 1:18 AM, Qui Le <q...@extron.com> wrote: > I notice if the device sends back BULK data about 32 bytes per transaction, > for the total of about 256 bytes continuously, I see dropped data when I try > calling the read() function. How do I know if the libusb 0.1/pyusb received > all those bytes? It seems like the read() function only returns some of > these bytes, as if some bytes got ignored. The problem could be the device > sending out without waiting for acknowledgement from the PC or I’m just not > reading fast enough. I’ll have to take a look into details sniffing the usb > data going to the PC. >
Just wondering if the answer here is not good enough? http://old.nabble.com/bulk-reads-td27788437.html I think you'd better continue the question in libusb mailing list. Tim is a real USB expert (mainly under Windows). And there are other USB experts in the libusb mailing list as well like Alan Stern who is a leading Linux USB kernel developer. -- Xiaofan http://mcuee.blogspot.com ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users