339 Commits (e503fadb789b10691393623c2cda9c8a2b0f2625)

Author SHA1 Message Date
Con Kolivas 3eece61819 Get statistics on how long usb reads and writes wait on the devlock. 11 years ago
Con Kolivas c5d61b4cb3 Remove zero packet flag on usb as it's unsupported outside linux and unnecessary. 11 years ago
Con Kolivas 382433eb73 Fake the libusb transfer timed out message if we force cancel it with our own async functions. 11 years ago
Con Kolivas 69c01a1485 Use asynchronous transfers for all bulk transfers, allowing us to use our own timers and cancelling transfers that take too long. 11 years ago
Con Kolivas b3ceb7e24b Get statistics on how long usb reads and writes wait on the devlock. 11 years ago
Con Kolivas d2f99cbe07 Add libusb error warning message when significant error occurs. 11 years ago
Con Kolivas 14887ba852 usbinfo.devlock is only ever write locked so convert it to a mutex 11 years ago
Con Kolivas ff90e6ae83 usbinfo.devlock is only ever write locked so convert it to a mutex 11 years ago
Con Kolivas 5e1ebd5070 Deuglify use of _PARSE_COMMANDS macro expansions. 11 years ago
Con Kolivas 303a763162 Deuglify use of usb parse commands macro in usbutils. 11 years ago
ckolivas 8b341ccd60 Use macro expansion in usb_find_devices to avoid explicitly listing them all. 11 years ago
ckolivas 0952a8812f Use macro expansion to iterate over all the drivers without explicitly writing them out in usbutils.c 11 years ago
ckolivas 39c2e662a7 Reattach the kernel driver on linux on usb_uninit. 11 years ago
ckolivas 3ef9fa3b88 Attach the kernel driver on failure to usb init on linux. 11 years ago
ckolivas 00aa8b4ecf libusb kernel driver operations are only available on linux. 11 years ago
ckolivas 372c40956a Reuse the DRIVER_ macros to avoid having yet another definition for DRV_ 11 years ago
ckolivas 2903028e6b Use macro expansion to generate extern device_drv prototypes. 11 years ago
ckolivas 8875197466 Create a macro list of drivers to enable easier addition of further drivers. 11 years ago
Con Kolivas 71797050f2 There is no point setting the BF1 preferred packet size to the maximum since it will do so automatically. 11 years ago
Kano 9b9dde1667 usbutils - fix USBDEBUG warnings 11 years ago
Con Kolivas 8d133706c9 Remove unnecessary steps in communicating with BF1 and just use USB interface 1. 11 years ago
Kano 61c2ac5714 usbutils - usb_bulk_transfer fix the buf/data fix 11 years ago
Kano ffea432f73 usb_bulk_transfer - use the allocated buffer 11 years ago
Con Kolivas 2fc5c1d0ec Set preferred packet sizes per interface on BF1. 11 years ago
Kano d3a3b3a73d usbutils allow PrefPacketSize per endpoint 11 years ago
Con Kolivas 7deaa91b26 Add information for 2nd USB interface on BF1 devices and choose interface 1 for bulk transfers. 11 years ago
Kano d8518f4336 usbutils - bulk transfer copy test fix 11 years ago
Kano a62267fa93 usbutils - add USBDEBUG for usb_bulk_transfer 11 years ago
Kano 36d8653406 usbutils - interfaces must all be on one handle - ep implies the interface 11 years ago
Con Kolivas 435065c86b Rename BF1 devices BF1 11 years ago
Con Kolivas d6949f3a94 Decrease usb buffering to verbose logging. 11 years ago
Con Kolivas 759e82bb98 Add in first draft for a serialised work model sending/receiving data for BF1 devices. 11 years ago
Con Kolivas 2ab023f300 Add BF1 detection code to bitfury driver. 11 years ago
Con Kolivas 99c838965e Add bf1 device information to usbutils to enable device detection. 11 years ago
Con Kolivas 48f5ff3754 Use macro expansion to only need to define usb enums and commands in one place. 11 years ago
Kano 0e8028fc29 usbutils saving incorrect overflow buffer 11 years ago
Kano 95eb948053 usbtils - interfaces dont work yet in libusb windows so disable for that only 11 years ago
Con Kolivas 62f6fefb12 Create a struct array of hashfast commands and their associated usb command names. 11 years ago
Kano 1910e37121 usbutils - only release the device once - for the first intinfo 11 years ago
Kano 0f0b0f818f usbutils set_interface is no longer valid 11 years ago
Kano 166147a803 ubsutils interfaces much each have their own handle 11 years ago
Con Kolivas d866973d52 Add templates for USB commands likely to be used by hashfast driver. 11 years ago
Con Kolivas 78932aa1ed Provide basic structure for a hashfast driver. 11 years ago
Kano 00c2c3369a usbutils kernel_detach should use the interface number 11 years ago
Kano 24858de6de usbutils - allow the driver to change which_intinfo 11 years ago
Kano cc5c998164 usbutils correct/reverse CMR product numbers 11 years ago
Kano 67b9ee4448 usbutils specifically track handles and interfaces 11 years ago
Kano 08483717aa usbutils - allow a device to use multiple interfaces (and better var names) 11 years ago
Con Kolivas b1823f2723 Always use a maxpacketsize buffer in usb_bulk_transfer 11 years ago
Con Kolivas fb00f24bcf Use 64 bytes for all libusb control transfers. 11 years ago