1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 15:27:53 +00:00
Commit Graph

68 Commits

Author SHA1 Message Date
Kano
b8b137aeef USB make device_path handled by usbutils 2013-06-10 15:59:02 +10:00
Kano
749fa78d8a tidy up free in device detect functions 2013-06-10 15:39:44 +10:00
Kano
9287ee90f6 USB control creation and free of cgpu 2013-06-10 15:22:37 +10:00
Con Kolivas
24d26d9949 Throttling the BFLSC at 80 seems to prevent generating garbled responses of higher temps. 2013-06-10 02:54:18 +10:00
Con Kolivas
6fdc068f1b Revert "Give a generous timeout whenever we expect an OK message for working bflsc communications."
This reverts commit 3d8cf60b96.
2013-06-09 23:00:36 +10:00
Con Kolivas
3d8cf60b96 Give a generous timeout whenever we expect an OK message for working bflsc communications. 2013-06-09 22:58:07 +10:00
Con Kolivas
9b00529cf9 Return after failed bin2hex conversion in bflsc. 2013-06-09 22:39:21 +10:00
Con Kolivas
12a2cb0d3c Demote failed hex2bin result to LOG_INFO and check return result in driver-bflsc to avoid doing find_work_by_midstate. 2013-06-09 22:37:49 +10:00
Con Kolivas
4f36d38c0f Revert "Only return one nonce range per device per cycle through scanwork in bflsc to avoid batching of result count."
This reverts commit 4530a74e0b.
2013-06-09 22:00:49 +10:00
Con Kolivas
6d7f079f07 Set bflsc cutofftemp to 90 degrees. 2013-06-09 21:53:48 +10:00
Con Kolivas
4530a74e0b Only return one nonce range per device per cycle through scanwork in bflsc to avoid batching of result count. 2013-06-09 21:52:42 +10:00
Con Kolivas
9451c49e3c Nominally set bflsc cutofftemp to 85 degrees. 2013-06-09 21:43:16 +10:00
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. 2013-06-09 21:33:20 +10:00
Con Kolivas
7f1ce19059 Move macro definition to bflsc driver 2013-06-09 17:22:23 +10:00
Con Kolivas
641545aac7 Use a longer timeout for retrieving bflsc details. 2013-06-09 17:19:20 +10:00
Kano
1bec49041f BFLSC enable buffered USB reading 2013-06-05 12:11:40 +10:00
Kano
6aed9a5122 bflsc & icarus use usb_ftdi_set_latency 2013-06-05 01:49:48 +10:00
Kano
a16f51fb2e correct bflsc BFLSC_BUFSIZ max calculation 2013-06-04 22:37:00 +10:00
Kano
1c64f3b621 usb set FTDI latency higher to minimise status bytes 2013-06-04 13:17:57 +10:00
Kano
c9cc7445e5 miner.h remove unused device_file and add device_data 2013-05-20 02:52:07 +10:00
Kano
250e435313 usbutils/icarus separate FTDI transfer values and more debug 2013-05-18 01:39:56 +10:00
Kano
e89c921ab0 usb add a numeric sub-indentity for each name 2013-05-16 22:16:15 +10:00
Kano
2631b55ee2 usbutils - make FTDI handling automatic 2013-05-16 21:38:55 +10:00
Con Kolivas
fb249975ec Make FULLNONCE an ULL to fix a warning on 32 bit. 2013-05-03 22:24:11 +10:00
Kano
2c97b8b8bc usb_init() allow it to ignore a device and show no message 2013-04-28 19:00:25 +10:00
Con Kolivas
4ef01a00a5 Count various failures as hw errors on bflsc. 2013-04-28 17:35:51 +10:00
Con Kolivas
08c13a138f Init rwlock for bflsc stat_lock. 2013-04-28 15:47:12 +10:00
Kano
2517a8a49e bflsc ensure buffer is bigger than max reply 2013-04-28 10:00:32 +10:00
Kano
ac135bf3af bflsc ignore very first work item nonce error - could be from before 2013-04-28 09:40:29 +10:00
Kano
a7c307952b bflsc more detailed results failure messages 2013-04-28 09:24:46 +10:00
Con Kolivas
a2d188921a Do not sleep longer than 2s max in bflsc scan code to stabilise displayed 5s hashrate, put locking around values, and set a minimum of 1ms. 2013-04-28 09:13:17 +10:00
Kano
b30f9bb72a bflsc unres the res 2013-04-27 17:00:33 +10:00
Kano
dd8fe19bab bflsc tidy up getinfo() and add to api 2013-04-27 16:49:01 +10:00
Kano
55b3d407c5 bflsc guess device ~based on current V1 Jalapeno engine count 2013-04-27 16:15:52 +10:00
Kano
de009dab01 bflsc only need one xlinkstr 2013-04-27 15:55:39 +10:00
Kano
66154e9f2b bflsc flush/clear output que when we initialise 2013-04-27 15:32:37 +10:00
Kano
ea8aa1aa41 bflsc seperate BFLSC_QRES 2013-04-27 15:21:30 +10:00
Kano
4bfa4c3091 bflsc queue_full shouldn't ask for more work if device is zombie 2013-04-27 14:39:31 +10:00
Con Kolivas
4f0f5fb791 Make the scan sleep time after scanwork in bflsc dynamic to keep queues between watermark levels. 2013-04-27 14:22:50 +10:00
Con Kolivas
b0e6f68b65 Remove unused temp counts in bflsc. 2013-04-27 01:04:30 +10:00
Con Kolivas
e70e7b5b7e Calculate a rolling 5 min average set of temperatures for bflsc. 2013-04-27 01:02:35 +10:00
Con Kolivas
31fc0bc766 Damp the display of voltage for BFLSC devices. 2013-04-27 00:49:03 +10:00
Con Kolivas
d6720ee0aa Damp the temperature display measurement for bflsc since it fluctuates so wildly. 2013-04-27 00:41:01 +10:00
Kano
bd4d04b260 bflsc add volt stats 2013-04-27 00:07:42 +10:00
Con Kolivas
21fd80dfa4 Handle failed tolines command in bflsc driver. 2013-04-26 23:22:19 +10:00
Con Kolivas
6db9745287 Can use a read lock instead of a write lock in bflsc scanwork. 2013-04-26 20:47:25 +10:00
Con Kolivas
045d0362e7 Since we are filling a queue on the bflsc devices, there is no need to run through scanwork frequently provided we use the restart_wait function to abort early during a block change. 2013-04-26 20:35:05 +10:00
Con Kolivas
f1624e13a9 Remove flushed work in bfl scanwork from the hash table. 2013-04-26 20:07:43 +10:00
Con Kolivas
11baa32792 Set correct device in process_nonces in bflsc driver. 2013-04-26 19:33:14 +10:00
Kano
93e3e8c90e bflsc add work reply INPROCESS: missing from the spec 2013-04-26 18:57:40 +10:00