From: Xiaofan C. <xia...@gm...> - 2016-02-27 05:41:41
|
On Fri, Feb 26, 2016 at 5:56 AM, John Coppens <jo...@jc...> wrote: > I rewrote the C program to see if it was faster than pyUSB, but > without hub, the speed is _exactly_ the same. I have been testing up > to 8192 bytes transfer size (I am limited with the device's memory). > > Tomorrow, I will add a test function to check async transfer. > (It being tomorrow already, I did test using libusb in async mode, > but there was no difference at all. If anything, it was 0.5 - 1% > slower). > > I checked, the hub is a single TT version (Genesys Logic Inc). It > does wonders at smaller transfer sizes. At 512, speed goes from > 128kB/s to 508kB/s - wow! As this is in C, you may want to subscribe to libusb mailing list and get some help there. Maybe your device side is not catching up or maybe your host program needs some tuning. libusb mailing list: https://lists.sourceforge.net/lists/listinfo/libusb-devel -- Xiaofan |