Con Kolivas
|
58dd80e459
Implement a hashfast get_header function which reads till it finds a header preamble or times out.
|
12 years ago |
Con Kolivas
|
4b9eb3707b
Implement hashfast send header function and add relevant usb op codes to arrays, beginning reset sequence on hashfast detection.
|
12 years ago |
Con Kolivas
|
9b5c534911
Merge branch 'master' into hashfast
|
12 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.
|
12 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.
|
12 years ago |
Kano
|
51418f79e5
Klondike update code to current git
|
12 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.
|
12 years ago |
Con Kolivas
|
f49a3c7657
Merge branch 'master' into hashfast
|
12 years ago |
Con Kolivas
|
0a5599844f
Add magic init sequence required on BF1 devices to get them mining on windows.
|
12 years ago |
Con Kolivas
|
ff90e6ae83
usbinfo.devlock is only ever write locked so convert it to a mutex
|
12 years ago |
Con Kolivas
|
303a763162
Deuglify use of usb parse commands macro in usbutils.
|
12 years ago |
Con Kolivas
|
621114c559
Merge branch 'master' of github.com:ckolivas/cgminer into redfury
|
12 years ago |
Kano
|
d3a3b3a73d
usbutils allow PrefPacketSize per endpoint
|
12 years ago |
Con Kolivas
|
ce16bd2ba4
Remove magic control sequences on open/close on BF1 and just flush the read buffers.
|
12 years ago |
Con Kolivas
|
1f74b2cdc4
Perform interrupt read flush as per serial open on BF1 devices.
|
12 years ago |
Con Kolivas
|
1a0202812a
Add more read_ii variants to usbutils.
|
12 years ago |
Con Kolivas
|
4f6c7ee0c1
Name remainder of BFU usb commands used.
|
12 years ago |
Con Kolivas
|
a39a9c27d6
Merge branch 'master' into redfury
|
12 years ago |
Kano
|
b932fc0ada
usbutils - which_intinfo not requried
|
12 years ago |
Kano
|
36d8653406
usbutils - interfaces must all be on one handle - ep implies the interface
|
12 years ago |
Con Kolivas
|
435065c86b
Rename BF1 devices BF1
|
12 years ago |
Con Kolivas
|
55c6e55c84
Name the work request and result usb commands for BF1
|
12 years ago |
Con Kolivas
|
54ac35553f
Add commands for getting BF1 bitfury info
|
12 years ago |
Con Kolivas
|
9a3684b809
Add magic BF1 bitfury open and close control sequences.
|
12 years ago |
Con Kolivas
|
99c838965e
Add bf1 device information to usbutils to enable device detection.
|
12 years ago |
Con Kolivas
|
293622cf2a
Merge branch 'master' into hashfast
|
12 years ago |
Con Kolivas
|
48f5ff3754
Use macro expansion to only need to define usb enums and commands in one place.
|
12 years ago |
Con Kolivas
|
118f9038a0
Merge branch 'master' into hashfast
|
12 years ago |
Con Kolivas
|
62f6fefb12
Create a struct array of hashfast commands and their associated usb command names.
|
12 years ago |
Kano
|
0f0b0f818f
usbutils set_interface is no longer valid
|
12 years ago |