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

88 Commits

Author SHA1 Message Date
Con Kolivas
d741410f6d sc_count shouldn't be +1 in bflsc. 2013-06-23 10:13:18 +10:00
Con Kolivas
0cd2c5c3c8 Use the info timeout for read_nl in getidentify bflsc. 2013-06-23 10:12:44 +10:00
Kano
e993cf3644 bflsc try getinfo twice 2013-06-23 10:01:18 +10:00
Con Kolivas
af0ae8aa5b Decrease BAL and BAS latency to be just larger than one result read. 2013-06-19 12:09:30 +10:00
Con Kolivas
045e105dcc BFLSC latest firmware has its own thermal cutoff set to 90, so use the same value in case we have an old firmware that isn't throttling by itself. 2013-06-19 11:42:43 +10:00
Con Kolivas
7b42b83d3f Drop watermark low limits for bflsc. 2013-06-19 11:38:45 +10:00
Con Kolivas
e172c987f3 Set the fanspeed on bflsc to max if we don't know the temperature. 2013-06-19 11:29:53 +10:00
Con Kolivas
7be081d81b Use a low watermark for queueing mandatory work on bflsc instead of zero. 2013-06-19 11:24:04 +10:00
Con Kolivas
0b5eb43696 Revert "Only wait in the bflsc scanwork loop if the queues are satisfactorily filled."
This reverts commit a49969908c.

Makes the driver busy wait.
2013-06-19 10:46:28 +10:00
Con Kolivas
a49969908c Only wait in the bflsc scanwork loop if the queues are satisfactorily filled. 2013-06-19 10:40:03 +10:00
Con Kolivas
fa881badf4 Only mandatorily grab the bflsc mutex on submitting work when the queue is empty. 2013-06-19 10:22:54 +10:00
Con Kolivas
0fbd375ea3 Adjust bflsc v2 watermarks. 2013-06-19 09:43:36 +10:00
Con Kolivas
05adbbf1e9 Only increase sleep time on bflsc if the queue isn't emptying at all over the sleep duration. 2013-06-19 09:42:32 +10:00
Con Kolivas
fe1a3752b7 Fix warning. 2013-06-19 08:57:08 +10:00
Kano
a9fef661b9 bflsc yet more API stats 2013-06-19 02:50:03 +10:00
Kano
711328762f bflsc add some more API stats 2013-06-19 02:30:06 +10:00
Kano
3ac09fa2d9 bflsc correct firmware matching 2013-06-19 01:02:20 +10:00
Kano
84a5da0377 bflsc correct comment 2013-06-19 00:58:35 +10:00
Kano
8f18d4c8b0 bflsc driver support for v2 firmware 2013-06-19 00:52:13 +10:00
Con Kolivas
6d8d44c233 Fanauto on bflsc is Z9X according to the source code, not 5 as per the draft protocol document. 2013-06-17 09:57:13 +10:00
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