1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00
Commit Graph

3709 Commits

Author SHA1 Message Date
Kano
8297304089 USB device locking NOOP for windows (for now) 2013-02-02 20:14:41 +11:00
Kano
cb3e3ebfac USB system wide device locking on linux 2013-02-02 20:14:40 +11:00
Kano
59c73ae59a USB usb_init() consistent err/warning/debug messages 2013-02-02 20:14:38 +11:00
Kano
a59b0c0355 usbutils.c use correct config from found (not 0) 2013-02-02 20:14:38 +11:00
Kano
d057791915 Capitalise driver long names used in applog messages 2013-02-02 20:14:37 +11:00
Kano
7fbc3770b4 USB move usbdev info that needs to stay around into usbinfo 2013-02-02 20:14:36 +11:00
Kano
8f4340bfeb BFL allow a 2nd init attempt if the 1st reply is unknown 2013-02-02 20:14:35 +11:00
Kano
3f4d9fc5d6 BFL use #defined strings for work replies 2013-02-02 20:14:34 +11:00
Kano
383a21bebf miner.php trim trailing zeros on some of the STATS numbers 2013-02-02 20:14:34 +11:00
Kano
9447610091 ICA use drv->name 2013-02-02 20:14:33 +11:00
Kano
baf3aca88c usbutils.c release_cgpu() sets nodev 2013-02-02 20:14:33 +11:00
Kano
c1eae36f7b API stats - include pool network bytes + in miner.php 2013-02-02 20:14:33 +11:00
Kano
92abe36f12 MMQ include USB devpath in detection error messages 2013-02-02 20:14:32 +11:00
Kano
a52522af37 MMQ it's a bitstream 2013-02-02 20:14:31 +11:00
Kano
ea807cf0c7 USB BFL transfer is only 64 bytes in a USB1.1 socket 2013-02-02 20:14:31 +11:00
Kano
24525edbef api.c update copyright year 2013-02-02 20:14:30 +11:00
Kano
34bcc1c66d USB automatically handle losing the device and report nodev in the API 2013-02-02 20:14:29 +11:00
Kano
4f460ca72d Best Share readme 2013-02-02 20:14:28 +11:00
Kano
f53549a861 BFL minimise first initialisation failure delay since it is common 2013-02-02 20:14:28 +11:00
Kano
0b3d8c89c2 API zero - zero statistics - all or bestshare - with optional on screen summary 2013-02-02 20:14:27 +11:00
Kano
bd5f20ebf5 api.c pgaenable not re-enabling the device - plus related debug 2013-02-02 20:14:25 +11:00
Kano
bad942e59a increase device status string length 2013-02-02 20:14:24 +11:00
Kano
f9e04a3c5b device_drv - allow .name to be changed before add_cgpu() 2013-02-02 20:14:23 +11:00
Kano
a4e95cfa42 device_drv missing drv for cpu and incorrect test 2013-02-02 20:14:20 +11:00
Kano
a344deb6ac rename device_api -> device_drv and all related api -> drv and add a device_drv->drv enum for identifying which driver each is 2013-02-02 20:14:19 +11:00
Kano
7724989d9b diffexactone pool diff1 used for share value calculation is ffffffff... not 100000000... :P 2013-02-02 20:14:17 +11:00
Kano
f6bde14c31 miner.php user/pass fix 'usr' is readonly 2013-02-02 20:14:16 +11:00
Kano
1b2654e1ff miner.php optional user/pass login restrictions 2013-02-02 20:14:15 +11:00
Con Kolivas
7e2b1e80aa Fix memory leak on stratum share submission. 2013-02-02 11:47:25 +11:00
Kano
1ce817d4df Merge branch 'api' 2013-01-03 21:48:22 +11:00
Kano
e3db37a64e Merge branch 'bfl' 2013-01-03 21:47:41 +11:00
Kano
44ec755282 BFL USB correct usb stats id 2013-01-02 22:43:48 +11:00
Kano
4c2f26e280 zero (most) API stats 2013-01-02 22:34:05 +11:00
Kano
abaaf93c8d Correct API version to match docs 2013-01-02 21:52:38 +11:00
Kano
03f626e68d Remember best share per pool and return in API pools 2013-01-02 21:51:09 +11:00
Kano
211b0f4ea1 BFL USB longer timeout 2013-01-02 21:18:08 +11:00
Denis Ahrens
f5306156f7 driver-ztex: only reset errors if there are some
Only check the errors and print the log message if
there actually were errros.
2013-01-01 22:52:46 +01:00
Denis Ahrens
8be5da3d69 driver-ztex: react to new work in 10ms and not 250ms 2013-01-01 22:52:46 +01:00
Denis Ahrens
f553c50b7b ztex: if we had only errors in one round we do not count the errors
to detect a totally non working fpga we only do that if the last
round had some valid nonces.

if we would count the errors the automatic megahertz adaption
would drop and never recover.
2013-01-01 22:52:46 +01:00
Denis Ahrens
ccee686aee ztex: precheck the secondary solutions to avoid hw errors
the ztex bitstreams gives back the latest checked nonce and
its hash7 value and two possible solutions.

every 250ms the latest nonce is checked and compared with hash7
to count hw errors and adapt the MHz value. one change is to
use the solutions even if the latest nonce is not correct. the
original java ztex code also does it this way.

since the second solution is often not correct we have alot
of hw errors. now we always check the second solution before
we submit it to the cgminer main code.

the java code also ignores all hw errors 500ms after a sendHash.
we now do the same. this can possibly yield in a higher MHz rate.
but the chance is so low nobody will ever notice in practice.
2013-01-01 22:52:46 +01:00
Kano
07db1ed687 BFL USB api.c usbstats 2013-01-01 00:29:17 +11:00
Kano
03c2cabab2 BFL include all USB requirements 2012-12-31 23:46:03 +11:00
Kano
70b47a770d BFL USB - README and FPGA-README 2012-12-31 13:25:19 +11:00
Kano
b099615246 BFL report USB device numbers for init errors and allow faster 'reinit' 2012-12-31 13:04:53 +11:00
Con Kolivas
ec9b32aac0 Zero the best share string memory when zeroing stats. 2012-12-31 09:15:17 +11:00
Kano
040ec589fa BFL USB build changes 2012-12-31 09:09:43 +11:00
Kano
cbf6c71648 BFL libusb driver 2012-12-31 08:54:02 +11:00
Con Kolivas
b53372b43d Bump version to 2.10.4 2012-12-29 12:23:24 +11:00
Con Kolivas
5e83030c65 Update NEWS. 2012-12-29 12:22:46 +11:00
Con Kolivas
e1387dc85c Change the pool stratum socket buffer to be dynamically allocated to accomodate any size coinbase and keep receiving data in recv line for up to 60s if no end of line has been received. 2012-12-29 11:29:59 +11:00