66 Commits (d7003ecccf1fc1b36098dbf0e8e7f25392395ecc)

Author SHA1 Message Date
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 12 years ago
Kano 9ecef180d1 usbutils/icarus include more locking to usbdev access 12 years ago
Kano fc89f170a3 usbutils add delay API stats 12 years ago
Kano 527c6ee255 usbutils optional cps IO control - but not enabled 12 years ago
Con Kolivas 0cd2c5c3c8 Use the info timeout for read_nl in getidentify bflsc. 12 years ago
Con Kolivas 9246bbc603 Add a usb_read_nl_timeout macro. 12 years ago
Con Kolivas 4e155fd624 Hard code the preferred packet size for AMU, BLT and ICA. 12 years ago
Con Kolivas abdf7510c9 Reinstate the maxPacketSize determined by the end descriptor but allow the driver to override it. 12 years ago
Con Kolivas f4d74116d3 Limit USB transfers to the max size reported by the descriptors. 12 years ago
Kano d2cb412931 record and report USB pipe errors via API stats 12 years ago
Kano 84ffcbc51b Use mining start time for device MH/U calculations 12 years ago
Kano 7d35c6921e ubsutils lock all access to nodev and cgusb 12 years ago
Kano 9287ee90f6 USB control creation and free of cgpu 12 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. 12 years ago
Con Kolivas fd41eb4ef6 Limit usbutils LATENCY_STD to 32ms to keep transfers under 512 bytes. 12 years ago
Con Kolivas 7fc9666429 Add a usb_read_ok_timeout wrapper to cope with slow init'ing devices. 12 years ago
Kano 8478ee4436 AMU usbstatus correct name from enable UART 12 years ago
Kano a7425c6c1b Icarus AMU enable the UART 12 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." 12 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. 12 years ago
Kano f366d53f3c add usb_ftdi_set_latency 12 years ago
Kano 4368a04fce usbutils optional read buffering 12 years ago
Kano 1c64f3b621 usb set FTDI latency higher to minimise status bytes 12 years ago
Con Kolivas eec1a86af0 Update copyrights of modified files. 12 years ago
Kano 74d7f55648 usbutils automatically track IO errors 12 years ago
Con Kolivas 0177b41010 Use the USB wrappers for avalon, telling usbutils that we want the raw data. 12 years ago
Kano 05cbbd99bb CMR handle baud options 12 years ago
Kano df8566a78c usb/ica add more (incomplete) CMR settings 12 years ago
Kano 2f94ec8025 usb separate thread for resource locking and modified windows locking code 12 years ago
Con Kolivas a32e521d0a Implement avalon_ready and avalon_wait_ready functions for when usb is ready to receive commands. 12 years ago
Con Kolivas 269a8de977 First pass rewriting serialdev into direct usb dev for avalon driver. 12 years ago
Con Kolivas 8fea60f384 Define a cts equivalent for direct usb and use it for avalon driver full. 12 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
Kano 0c3f00c567 icarus ICA initialisation 12 years ago
Kano 56a96b4138 icarus AMU config transfers 12 years ago
Kano db080ba969 usbutils force an unknown IDENT for zero 12 years ago
Kano e43f265a60 usbutils name latency correctly 12 years ago
Kano 250e435313 usbutils/icarus separate FTDI transfer values and more debug 12 years ago
Kano 05a385ccfc usbutils new command for icarus 12 years ago
Kano e89c921ab0 usb add a numeric sub-indentity for each name 12 years ago
Kano 2631b55ee2 usbutils - make FTDI handling automatic 12 years ago
Kano 05dd48ace1 usbutils/mmq fixed size usb_read default to wait for all data 12 years ago
Kano e53040ca4d Add an ftdi usb read macro without newline 12 years ago