1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-10 14:04:16 +00:00

5887 Commits

Author SHA1 Message Date
Con Kolivas
4e5946d2ba Prevent further USB transfers from occurring once the shutdown signal has been sent to prevent transfers getting stuck and libusb failing to shut down. 2013-10-16 20:47:26 +11:00
Con Kolivas
b6831453b4 Make the USB polling thread poll every second to potentially aid longer timeout transfers. 2013-10-16 20:34:51 +11:00
Kano
bc0bb822bc klondike - adjust work matching and cleanup 2013-10-16 01:55:57 +11:00
Kano
ecacb24af1 miner.h allow devices to tv_stamp work 2013-10-16 01:54:54 +11:00
Kano
c52973a96e klondike - ensure all memcpy use the size of the target 2013-10-16 00:26:44 +11:00
Con Kolivas
8dbe1a68db Merge to master 2013-10-15 13:40:46 +11:00
ckolivas
fe5da96727 Set device_diff on work in get_work to not be missed with drivers that use get_work directly. 2013-10-15 13:31:07 +11:00
ckolivas
58c5ebba3f Convert icarus driver to hash_driver_work model. 2013-10-15 10:03:03 +11:00
Con Kolivas
2bbe492f5b Merge with master 2013-10-15 08:45:13 +11:00
Kano
dd1f67fe5f bflsc - also allow ' 0' in DEVICES IN CHAIN 2013-10-15 02:02:30 +11:00
Kano
1f166d99b0 bflsc - allow a 0 in DEVICES IN CHAIN 2013-10-15 01:55:31 +11:00
Con Kolivas
ab5b2229f8 Bump version to 3.6.1 2013-10-15 00:31:06 +11:00
Con Kolivas
7e43f512c9 Update NEWS for 3.6.1 2013-10-15 00:30:45 +11:00
Con Kolivas
7c6bd4a8fb Emulate the libusb_control_transfer sync setup in our async variant. 2013-10-15 00:26:50 +11:00
Con Kolivas
e6280c85d2 Add the libusb control setup size offset for control writes. 2013-10-15 00:13:06 +11:00
Con Kolivas
91d1d104d1 Merge branch 'master' of github.com:ckolivas/cgminer 2013-10-15 00:00:00 +11:00
Con Kolivas
8fdaeb0ac9 Differentiate send from receive in control transfers! 2013-10-14 23:59:01 +11:00
kanoi
bae0815edf Merge pull request #505 from kanoi/master
usbutils - make all libusb_error_name messages the same
2013-10-14 03:45:44 -07:00
Kano
108e73763b usbutils - make all libusb_error_name messages the same 2013-10-14 21:44:10 +11:00
Con Kolivas
a089cac35e Bump version to 3.6.0 2013-10-14 21:32:18 +11:00
Con Kolivas
1016616036 Further update NEWS 2013-10-14 21:31:40 +11:00
Con Kolivas
9e287f9598 Merge pull request #499 from someone42/master
changes to bitburner driver for bitburner fury boards
2013-10-14 03:27:57 -07:00
Con Kolivas
f706fef537 Merge branch 'master' of github.com:ckolivas/cgminer 2013-10-14 20:57:13 +11:00
Con Kolivas
4b66519778 Update NEWS. 2013-10-14 20:56:58 +11:00
kanoi
fb32e31c18 Merge pull request #504 from kanoi/master
klondike - can only calculate the nonce difference on or after the 2nd nonce
2013-10-14 02:55:34 -07:00
Con Kolivas
38f10c0d42 Rename hfa_read thread on it starting. 2013-10-14 18:09:27 +11:00
Con Kolivas
53b33c8f18 Limit max diff internally used by hashfast driver to 256 to still get some nonces back to check for errors if mining at very high diff. 2013-10-14 17:46:58 +11:00
Con Kolivas
3dda8a213c Cosmetic changes to hashfast output. 2013-10-14 17:45:04 +11:00
Con Kolivas
fe945e18ff Implement primary scanwork loop submitting work and returning hashrate for hashfast. 2013-10-14 17:39:33 +11:00
Con Kolivas
8b24b3d35e Send a work restart frame when the restart message is received in hashfast scanwork. 2013-10-14 16:59:02 +11:00
Con Kolivas
222af657a1 Remove hashfast write thread for all writes can be done from scanwork without added complexity. 2013-10-14 16:51:21 +11:00
Con Kolivas
e9b67b50ae Pass the thr argument to the read and write threads for hashfast to have access to its data. 2013-10-14 16:19:52 +11:00
Con Kolivas
5cbe4be9e7 Incorporate hf protocol header changes. 2013-10-14 15:13:30 +11:00
Con Kolivas
e06e495ab8 Merge branch 'master' into hashfast 2013-10-14 15:07:32 +11:00
Kano
1452cbff12 klondike - can only calculate the nonce difference on or after the 2nd nonce 2013-10-14 13:28:36 +11:00
Con Kolivas
c3b0566247 Merge branch 'master' into libusbx 2013-10-14 12:58:30 +11:00
kanoi
5c7b9f7e57 Merge pull request #503 from kanoi/master
Klondike - driver redesign + api message correction
2013-10-13 18:52:51 -07:00
Con Kolivas
07837072f1 hexstr is too small in test_work_current 2013-10-14 12:12:01 +11:00
Con Kolivas
166200c094 Windows uses errno for WSAETIMEDOUT 2013-10-14 12:01:40 +11:00
Con Kolivas
02a4f8df9c Convert the usb callback function to using cgsem_t timed waits to avoid race conditions with conditionals/mutexes. 2013-10-14 11:44:37 +11:00
Con Kolivas
c9c39ac14d Give correct return code in cgsem_mswait 2013-10-14 11:44:13 +11:00
Con Kolivas
1d9f90b256 Revert "Convert the usb callback function to use a cgsem_t using the timedwait code to avoid races with mutexes/conditionals."
This reverts commit 433465bcfcd8d9a2270cb27dd0ea933e9fefa829.

Not ready yet.
2013-10-14 11:39:15 +11:00
Con Kolivas
433465bcfc Convert the usb callback function to use a cgsem_t using the timedwait code to avoid races with mutexes/conditionals. 2013-10-14 11:35:47 +11:00
Con Kolivas
6e948d8750 Check for correct timeout error in cgsem_mswait 2013-10-14 11:34:08 +11:00
Con Kolivas
51f8107b32 Fix util.h exports for cgsem_mswait 2013-10-14 11:27:04 +11:00
Con Kolivas
c75ce853a9 Implement a generic cgsem_mswait similar to sem_timedwait 2013-10-14 11:22:57 +11:00
Con Kolivas
634151ffa0 Merge branch 'master' into hashfast 2013-10-14 10:06:37 +11:00
Con Kolivas
9ca22ed493 Use the one LIBUSB_ERROR_TIMEOUT for cancelled transactions since this error is explicitly tested for in various drivers. 2013-10-14 10:05:49 +11:00
Con Kolivas
a7580f1ff2 Do not use locking on usb callback function pthread signalling to prevent deadlock with libusb's own event lock. 2013-10-14 09:41:18 +11:00
Con Kolivas
8d1604a2e3 Do not use locking on usb callback function pthread signalling to prevent deadlock with libusb's own event lock. 2013-10-14 09:40:23 +11:00