Luke Dashjr
8bafc8d22c
Allow specifying a specific driver for --scan-serial
...
For example: --scan-serial bitforce:/dev/ttyUSB0
13 years ago
Luke Dashjr
3ec89d731b
Bugfix: ZLX to read BitFORCE temp, not ZKX -.-
13 years ago
Luke Dashjr
ae99714241
Use libudev to autodetect BitFORCE GPUs, if available
13 years ago
Luke Dashjr
cc08d95587
Tolerate new-format temperature readings
13 years ago
Luke Dashjr
829dcf9d2b
Bugfix: Fix BitFORCE driver memory leak in debug logging
13 years ago
Xiangfu
07b0ed4a63
fix the bitforce.c code style follow 1TBS
13 years ago
Con Kolivas
d1cddf8bad
Update licensing to GPL V3.
13 years ago
Con Kolivas
02295c69c8
Allow devices that are disabled due to overheating to be flagged as recovering instead of disabling them and re-enable them if they're below ideal
...
temperatures and --no-restart has not been set.
13 years ago
Con Kolivas
be9db9ce63
Copyright updates.
13 years ago
Luke Dashjr
c31c06703f
bitforce: Simplify BFopen WIN32 ifdef/else
13 years ago
Luke Dashjr
c904b74b8c
bitforce: Cleanup extraneous TODO that isn't needed
13 years ago
Luke Dashjr
2f0a3dc2db
Move tcsetattr (and new tcflush) into *nix BFopen to simplify things a bit
13 years ago
Luke Dashjr
538b0ebf88
bitforce: Set a 30 second timeout for serial port on Windows, since the default is undefined
13 years ago
Luke Dashjr
75da96b51b
bitforce: Disable automatic scanning when at least one device is specified manually
13 years ago
Con Kolivas
56907db2d6
Fix harmless warnings with -Wsign-compare to allow cgminer to build with -W.
13 years ago
Con Kolivas
111238489f
Fix missing field initialisers warnings.
13 years ago
Luke Dashjr
543265d66a
Generalize --temp-cutoff and implement support for reading temperature from BitFORCE FPGAs
13 years ago
Luke Dashjr
5be4bf70fe
Bugfix: BitFORCE index needs to be static to count correctly
13 years ago
ckolivas
6eee0e3874
Fix warnings in bitforce.c
13 years ago
Luke Dashjr
2f903b5d77
Bugfix: Need to open BitForce tty for read-write
13 years ago
Con Kolivas
80650dd919
Define O_CLOEXEC for older headers that don't have it.
13 years ago
Con Kolivas
d485261e92
Fix broken non-win32 build with bitforce enabled.
13 years ago
Luke Dashjr
4ae7baf0e1
BitForce: Need to use CreateFile and low-level (descriptor-based) C APIs on Windows, since fopen doesn't work with serial ports
13 years ago
Con Kolivas
10378f878a
Fix windows build of bitforce blindly. Hopefully it works.
13 years ago
Luke Dashjr
5dfc8b694f
BitForce FPGA support
...
cgminer will scan for and mine BitForce FPGAs on USB ports by providing the
new --scan-serial <device> option, or autodetect them by searching
/dev/serial/by-id for *BitFORCE_SHA256*
13 years ago