Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#5 Fix libusb read interface

closed
nobody
None
5
2012-05-27
2011-03-13
Daniel J Blueman
No

On modern Linux distros, using the libusb interface fails:
$ u3-tool -i scan
u3_partition_info() failed: Failed executing scsi command: Could not read data from device

usb_bulk_read() is succeeding with the unpadded number of bytes; don't fail on this, but fail if nothing is read, or error.

Discussion

  • Patch addressing libusb read failure on modern Linux systems

     
    Attachments
    • status: open --> closed