76 Commits (edcea78a61c5d39a59fbccdd3f0b815d04469215)

Author SHA1 Message Date
Con Kolivas 54ac35553f Add commands for getting BF1 bitfury info 11 years ago
Con Kolivas 9a3684b809 Add magic BF1 bitfury open and close control sequences. 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 0f0b0f818f usbutils set_interface is no longer valid 11 years ago
Kano 166147a803 ubsutils interfaces much each have their own handle 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 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 deb7be72c6 Use the reentrant cgsleep functions for usecps in usbutils. 11 years ago
Kano 96c0c31775 BTB get version from Firmware 11 years ago
Chris Chua b0f4d55be7 changes to Avalon driver for BitBurner boards 11 years ago
Kano 759ce6e7d2 usb timeouts - min/max also 11 years ago
Kano 2dffc96e3c log USB timeouts in API stats 11 years ago
Kano 4cb7cfb226 usbutils use a heap buffer for bulk read rather than stack 11 years ago
Kano 2beb30f13d bflsc get volts stats needs its own GETVOLTS 11 years ago
Kano 9ecef180d1 usbutils/icarus include more locking to usbdev access 11 years ago
Kano fc89f170a3 usbutils add delay API stats 11 years ago
Kano 527c6ee255 usbutils optional cps IO control - but not enabled 11 years ago
Con Kolivas 0cd2c5c3c8 Use the info timeout for read_nl in getidentify bflsc. 11 years ago
Con Kolivas 9246bbc603 Add a usb_read_nl_timeout macro. 11 years ago
Con Kolivas 4e155fd624 Hard code the preferred packet size for AMU, BLT and ICA. 11 years ago
Con Kolivas abdf7510c9 Reinstate the maxPacketSize determined by the end descriptor but allow the driver to override it. 11 years ago
Con Kolivas f4d74116d3 Limit USB transfers to the max size reported by the descriptors. 11 years ago
Kano d2cb412931 record and report USB pipe errors via API stats 11 years ago
Kano 84ffcbc51b Use mining start time for device MH/U calculations 11 years ago
Kano 7d35c6921e ubsutils lock all access to nodev and cgusb 11 years ago
Kano 9287ee90f6 USB control creation and free of cgpu 11 years ago
Con Kolivas 630e7d7658 Set BFLSC fan speed coarsely to keep it under 60 or auto as per specs saying it tries to stay below 60. 11 years ago
Con Kolivas fd41eb4ef6 Limit usbutils LATENCY_STD to 32ms to keep transfers under 512 bytes. 11 years ago
Con Kolivas 7fc9666429 Add a usb_read_ok_timeout wrapper to cope with slow init'ing devices. 11 years ago
Kano 8478ee4436 AMU usbstatus correct name from enable UART 11 years ago
Kano a7425c6c1b Icarus AMU enable the UART 11 years ago
Con Kolivas e186c5cf07 Revert "Protect all usb writes reads and unplugs with a mutex lock and check libusb release has succeeded before proceeding with a libusb close." 11 years ago
Con Kolivas beb5f8889d Protect all usb writes reads and unplugs with a mutex lock and check libusb release has succeeded before proceeding with a libusb close. 11 years ago
Kano f366d53f3c add usb_ftdi_set_latency 11 years ago
Kano 4368a04fce usbutils optional read buffering 11 years ago
Kano 1c64f3b621 usb set FTDI latency higher to minimise status bytes 11 years ago
Con Kolivas eec1a86af0 Update copyrights of modified files. 11 years ago
Kano 74d7f55648 usbutils automatically track IO errors 11 years ago
Con Kolivas 0177b41010 Use the USB wrappers for avalon, telling usbutils that we want the raw data. 11 years ago
Kano 05cbbd99bb CMR handle baud options 11 years ago
Kano df8566a78c usb/ica add more (incomplete) CMR settings 11 years ago
Kano 2f94ec8025 usb separate thread for resource locking and modified windows locking code 11 years ago
Con Kolivas a32e521d0a Implement avalon_ready and avalon_wait_ready functions for when usb is ready to receive commands. 11 years ago
Con Kolivas 269a8de977 First pass rewriting serialdev into direct usb dev for avalon driver. 11 years ago
Con Kolivas 8fea60f384 Define a cts equivalent for direct usb and use it for avalon driver full. 11 years ago
Kano 87d994b6ea usb add transfer_read and commented out in icarus 12 years ago
Kano 6a0b48a650 usbutils allow unrounded control transfers 12 years ago