89 Commits (ff90e6ae837e0253eb7971f5cf6ed30506dba313)

Author SHA1 Message Date
Con Kolivas ff90e6ae83 usbinfo.devlock is only ever write locked so convert it to a mutex 11 years ago
Con Kolivas 303a763162 Deuglify use of usb parse commands macro in usbutils. 11 years ago
Kano d3a3b3a73d usbutils allow PrefPacketSize per endpoint 11 years ago
Con Kolivas ce16bd2ba4 Remove magic control sequences on open/close on BF1 and just flush the read buffers. 11 years ago
Con Kolivas 1f74b2cdc4 Perform interrupt read flush as per serial open on BF1 devices. 11 years ago
Con Kolivas 1a0202812a Add more read_ii variants to usbutils. 11 years ago
Con Kolivas 4f6c7ee0c1 Name remainder of BFU usb commands used. 11 years ago
Kano b932fc0ada usbutils - which_intinfo not requried 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 55c6e55c84 Name the work request and result usb commands for BF1 11 years ago
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 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