On 04/11/14 09:29, Daniel O'Connor wrote:
            usb_xf[i].xf = libusb_alloc_transfer(0);
            usb_xf[i].idx = i;
            usb_xf[i].done = 0;
            usb_xf[i].submitted = 0;


I think you can get more speed in libusb:

                x |= 1;
        }
        speed = libusb20_dev_get_speed(pdev);

        /* select a sensible buffer size */
        if (speed == LIBUSB20_SPEED_LOW) {
                bufsize = 256;
        } else if (speed == LIBUSB20_SPEED_FULL) {
                bufsize = 4096;
        } else {
                bufsize = 16384;

^^^ add a clause for super-speed to use 32K/64K here:
        }

        xfer = libusb20_tr_get_pointer(pdev, x);

        if (xfer == NULL)
                return (xfer);


See: src/lib/libusb

You can simply type "make all install" there.

--HPS
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to