1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-09 22:38:01 +00:00
Commit Graph

4572 Commits

Author SHA1 Message Date
Con Kolivas
1f3c642564 Change mode on python file. 2013-06-24 12:47:04 +10:00
Con Kolivas
06f0f41022 Update NEWS. 2013-06-24 12:39:57 +10:00
Con Kolivas
1fca632f7c Add an --avalon-temp option to allow a user specified target temperature. 2013-06-24 11:04:02 +10:00
Con Kolivas
6bdfed3db4 Demote no matching work message to verbose logging only on avalon. 2013-06-24 10:39:41 +10:00
Con Kolivas
6cc09aa1e9 Make the fan control on the avalon a simple PID controller with a target temperature of 45. 2013-06-24 10:38:47 +10:00
Con Kolivas
a7f9bf3c52 Merge pull request #454 from kanoi/master
bflsc - handle xlink timeouts by having generic IO functions
2013-06-23 15:37:00 -07:00
Con Kolivas
f5911528bf Demote bflsc hw error messages to verbose logging only. 2013-06-24 08:17:27 +10:00
Kano
f2bbfee704 bflsc - handle xlink timeouts by having generic IO functions 2013-06-23 18:14:12 +10:00
Con Kolivas
2ab7dac243 Demote the invalid nonce warning to log info. 2013-06-23 17:03:59 +10:00
Con Kolivas
700f4b4516 Ignore iManufacturer for BFLSC devices since the device name will still match and some unbinned chips are missing it. 2013-06-23 10:39:17 +10:00
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
Con Kolivas
9246bbc603 Add a usb_read_nl_timeout macro. 2013-06-23 10:11:22 +10:00
Kano
e993cf3644 bflsc try getinfo twice 2013-06-23 10:01:18 +10:00
Kano
34bedf88c6 set MSG_ASCUSBNODEV always defined 2013-06-23 07:16:46 +10:00
Con Kolivas
4e155fd624 Hard code the preferred packet size for AMU, BLT and ICA. 2013-06-22 22:33:10 +10:00
kanoi
d83af2880d Merge pull request #453 from kanoi/master
Icarus enable the read buffer for the detect nonce + API V1.26 update ASIC support
2013-06-22 04:24:08 -07:00
Kano
a73ed9665a API V1.26 update ASIC support 2013-06-22 21:17:23 +10:00
Kano
cbf3a79d0d Icarus enable the read buffer for the detect nonce 2013-06-22 20:11:45 +10:00
Con Kolivas
37815e04bb Merge branch 'master' of github.com:ckolivas/cgminer 2013-06-21 22:00:45 +10:00
Con Kolivas
c64d95f267 Support new overclocking speeds for avalon: 325, 350 and 375 2013-06-21 21:59:44 +10:00
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