Con Kolivas
|
6c2a8d8be7
Force unlocking of the console lock on restart to avoid corrupting the console state when we finally quit.
|
12 years ago |
Con Kolivas
|
c9b54f1502
Never wait indefinitely for a pthread conditional in the hash_pop loop in case the work scheduler misses the last wakeup.
|
12 years ago |
Con Kolivas
|
a077c9f9a4
Make hash_pop signal the work scheduler each time it waits on the conditional that it should look for more work.
|
12 years ago |
Con Kolivas
|
3f9ccc1b27
Never wait indefinitely for a pthread conditional in the hash_pop loop in case the work scheduler misses the last wakeup.
|
12 years ago |
Con Kolivas
|
31df767cc7
Make hash_pop signal the work scheduler each time it waits on the conditional that it should look for more work.
|
12 years ago |
Con Kolivas
|
310aa75460
Discriminate between libusb transfer errors and regular libusb errors and make sure to capture them all.
|
12 years ago |
Con Kolivas
|
d1683fe6b1
Always read a full sized transfer for bulk reads.
|
12 years ago |
Con Kolivas
|
fc80e2feb6
Deprecate preferred packet size functions in usbutils since they're unhelpful.
|
12 years ago |
Con Kolivas
|
ea12210032
Why are we reading extra again in usb read when buffering is enabled? Don't do that.
|
12 years ago |
Con Kolivas
|
38d9c24e56
Copy known transferred amount back to buffer for usb reads instead of requested length.
|
12 years ago |
Con Kolivas
|
b5dfb8f03e
Ignore preferred packet size.
|
12 years ago |
Con Kolivas
|
0cceaccf75
Treat timeout errors on usb writes as IO errors.
|
12 years ago |
Con Kolivas
|
dfba30b9f2
Ignore iManufacturer from bitfury devices to support bluefury as well as redfury.
|
12 years ago |
Con Kolivas
|
95797821b4
Add more debugging info for when usb details don't match.
|
12 years ago |
Con Kolivas
|
73f6a570f3
Look for timeout overruns in usb read/write.
|
12 years ago |
Con Kolivas
|
ccb742399f
Use an int for usb_read/write to identify overruns.
|
12 years ago |
Con Kolivas
|
1f22746243
Use the callback timeout as a safety mechanism only on windows.
|
12 years ago |
Con Kolivas
|
4c0b643864
Instead of using complicated sleeps to emulate characters per second on usb writes, submit only as many characters as can be transferred per usb poll of 1ms, and use timeouts in bulk transfers, cancelling transfers only as a failsafe.
|
12 years ago |
Con Kolivas
|
efc605ffd3
Ignore iManufacturer from bitfury devices to support bluefury as well as redfury.
|
12 years ago |
Con Kolivas
|
ef0b7d3b5b
Add more debugging info for when usb details don't match.
|
12 years ago |
Luke Dashjr
|
ff394e3a4d
RPC: Build most of CONFIG "Device Code" by iterating over registered driver list
|
12 years ago |
Luke Dashjr
|
70f91a1b49
Merge commit '5e28efe' into bfgminer
|
12 years ago |
Luke Dashjr
|
5e28efeab3
Bugfix: Stop waiting for pool testing as soon as one is active
|
12 years ago |
Luke Dashjr
|
b59ac5192f
drv_detect_all: Use priority-sorted list of registered drivers
|
12 years ago |
Luke Dashjr
|
29035c0f9c
Build hash tables to find drivers by dname or name
|
12 years ago |
Luke Dashjr
|
e83fc5b70d
Build a linked list of registered drivers
|
12 years ago |
Luke Dashjr
|
5cd4bcaa6c
BFG_REGISTER_DRIVER macro to commonly pre-define device_drv structures
|
12 years ago |
Luke Dashjr
|
67fbf59cb4
Move have_libusb checks out of drv_detect_all
|
12 years ago |
Luke Dashjr
|
6cce5b26f6
Replace opt_nogpu with simple function that adds opencl:noauto to scan-serial list
|
12 years ago |
Luke Dashjr
|
7f0d67e0d9
opencl: Remove ancient gpu_threads variable, not really needed anymore
|
12 years ago |