Con Kolivas
|
58dd80e459
|
Implement a hashfast get_header function which reads till it finds a header preamble or times out.
|
11 years ago |
Con Kolivas
|
4b9eb3707b
|
Implement hashfast send header function and add relevant usb op codes to arrays, beginning reset sequence on hashfast detection.
|
11 years ago |
Con Kolivas
|
b5dfacef24
|
We are always dependent on libusb handling events so use the blocking libusb_handle_events in the polling thread and use a bool to know if we should continue polling.
|
11 years ago |
Con Kolivas
|
7318eceef9
|
Make the devlock a cglock in usbutils and only grab the write lock for fundamental changes allowing us to send and receive transfers concurrently without lock contention.
|
11 years ago |
Kano
|
51418f79e5
|
Klondike update code to current git
|
11 years ago |
Con Kolivas
|
a6a9407067
|
Use asynchronous transfers for all bulk transfers, allowing us to use our own timers and cancelling transfers that take too long.
|
11 years ago |
Kano
|
dc85abd9cd
|
Klondike update code to current git
|
11 years ago |
Con Kolivas
|
0a5599844f
|
Add magic init sequence required on BF1 devices to get them mining on windows.
|
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
|
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 |
Con Kolivas
|
62f6fefb12
|
Create a struct array of hashfast commands and their associated usb command names.
|
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
|
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
|
12 years ago |
Kano
|
759ce6e7d2
|
usb timeouts - min/max also
|
12 years ago |
Kano
|
2dffc96e3c
|
log USB timeouts in API stats
|
12 years ago |
Kano
|
4cb7cfb226
|
usbutils use a heap buffer for bulk read rather than stack
|
12 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 |