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

4901 Commits

Author SHA1 Message Date
Kano
45fda135de undo icarus show errno, put it as debug in ubsutils 2013-06-21 18:57:32 +10:00
Kano
0df870b38d icarus add errno to rerr and werr 2013-06-21 18:34:22 +10:00
Con Kolivas
4aaeb510c8 Sleep after sending icarus work to emulate working at 115200 baud. 2013-06-21 18:22:08 +10:00
Con Kolivas
df81ce6784 Use the nusleep function for sleeping after sending work in avalon. 2013-06-21 18:17:34 +10:00
Con Kolivas
1b5ea442b8 Show an integer only for diff if it is one. 2013-06-21 18:02:38 +10:00
Con Kolivas
a36e55b754 Set the avalon preferred packet size to 512. 2013-06-21 17:39:26 +10:00
Con Kolivas
abdf7510c9 Reinstate the maxPacketSize determined by the end descriptor but allow the driver to override it. 2013-06-21 17:36:20 +10:00
Con Kolivas
94e636a906 Only update hashmeter if we have done hashes or haven't updated longer than the log interval, fixing a us/ms error. 2013-06-21 17:02:13 +10:00
Con Kolivas
581afcf9ab Use only one cgsem in avalon signalling when the write thread should commit work by reading the status bytes off during an avalon_read, minimising the number of usb calls and resetting from only one place. 2013-06-21 11:18:00 +10:00
Con Kolivas
cf13d02d5f Change avalon no valid work message to no matching work to match API terminology. 2013-06-21 11:03:03 +10:00
Con Kolivas
7c683cf2b1 Use low latency usb transfers on the avalon, sleeping up to half a buffer's worth only if no data is returning to increase hashrate, abolish lost work and decrease CPU. 2013-06-21 10:59:55 +10:00
Con Kolivas
e487d3d2f0 Minimise the sleep times in avalon read to avoid result loss. 2013-06-21 01:58:18 +10:00
Con Kolivas
b810dea33b Revert "Sleep for less time in wait_avalon_ready till we have a better signalling system from read thread to write."
This reverts commit 98862b4f46.
2013-06-21 01:32:41 +10:00
Con Kolivas
7e6cbf080e Use a half nonce range before cycling through avalon's scanwork to ensure it gets a chance to fill work if time is tight for the write thread to signal a wakeup. 2013-06-21 01:23:38 +10:00
Con Kolivas
98862b4f46 Sleep for less time in wait_avalon_ready till we have a better signalling system from read thread to write. 2013-06-20 23:59:17 +10:00
Con Kolivas
f4508b6a34 Temporarily limit usb transfer sizes to 512 till we provide a way for each driver to choose the upper limit. 2013-06-20 23:57:58 +10:00
Con Kolivas
f105d2e17e Merge pull request #451 from setkeh/setkeh
Added api-example.py
2013-06-18 21:35:03 -07:00
setkeh
0bdabc1895 Added Licence 2013-06-19 14:31:30 +10:00
Con Kolivas
ccfa893577 Increase watchdog sick time to longer than it takes for a pool to be detected dead. 2013-06-19 13:20:25 +10:00
Con Kolivas
f4d74116d3 Limit USB transfers to the max size reported by the descriptors. 2013-06-19 13:18:15 +10:00
Con Kolivas
a81749bb38 Increase the BFLSC timeout to allow the maximum number of results to be returned for BAS in time. 2013-06-19 12:15:51 +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
Kano
e300e50281 disable curses device resize that crashes on windows 2013-06-19 11:59:28 +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
kanoi
0bfe17206a Merge pull request #452 from kanoi/master
bflsc driver support for v2 firmware
2013-06-18 12:16:38 -07: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
setkeh
4384fe0f0e Fixed Commands with No params 2013-06-19 00:58:26 +10:00
Kano
8f18d4c8b0 bflsc driver support for v2 firmware 2013-06-19 00:52:13 +10:00
setkeh
8dde833b6f Odd Issues 2013-06-19 00:41:55 +10:00
setkeh
eca6ca8d31 Fixed Python Example 2013-06-19 00:28:35 +10:00
setkeh
b5667488b3 Added Python Api Example 2013-06-18 23:04:18 +10:00
setkeh
314798f15f Added Python Api Example 2013-06-18 23:03:30 +10:00
Con Kolivas
e0c4d35b28 Multiplier fail for microseconds vs milliseconds when updating hashmeter in hash_queued_work. 2013-06-18 20:59:45 +10:00
Con Kolivas
e573e6af84 Merge branch 'master' of github.com:ckolivas/cgminer 2013-06-18 20:31:33 +10:00
Con Kolivas
6eb7f6226a Only make threads report in/out across the actual driver code and update their status on reporting out as well as in. 2013-06-18 20:30:48 +10:00
kanoi
2e1bbeac31 Merge pull request #450 from kanoi/master
usbutils initialise close key/sem
2013-06-17 05:21:06 -07:00
Kano
410fba7e04 usbutils initialise close key/sem 2013-06-17 22:20:27 +10:00
kanoi
c20d30389a Merge pull request #449 from kanoi/master
usbutils cleanup linux semaphores on release
2013-06-17 05:15:37 -07:00