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

4691 Commits

Author SHA1 Message Date
Con Kolivas
6560878e03 Suspend stratum connections when we know they've failed and don't try to recv data from them once the socket no longer exists. 2013-06-16 22:33:49 +10:00
Kano
d2cb412931 record and report USB pipe errors via API stats 2013-06-16 21:58:01 +10:00
Con Kolivas
362687f6bc Pipe error is quite common on usb3 so drop logging to verbose level only. 2013-06-16 19:08:10 +10:00
Kano
383eeabc71 ocl.c fix applog warnings on windows 2013-06-16 18:39:09 +10:00
kanoi
4280537a1f Merge pull request #447 from kanoi/master
Missing DEVLOCKs and fix applog GPU problems
2013-06-16 00:38:20 -07:00
Kano
b5bf34dc85 applog/quit fix GPU errors created 2013-06-16 16:54:42 +10:00
Kano
a5154abee8 usbutils - DEVLOCK other usbdev access 2013-06-16 14:29:45 +10:00
Con Kolivas
563feac74e Merge pull request #446 from kanoi/master
Rework logging to mostly avoid using varargs
2013-06-15 20:15:00 -07:00
Kano
148e3d64bc applog usb device list can be > LOGBUFSIZ 2013-06-15 23:38:49 +10:00
Kano
6ca0eaa987 fix windows log warnings 2013-06-15 23:08:40 +10:00
Kano
e2b4d4908d logging remove extra added <LF> 2013-06-15 22:08:47 +10:00
Kano
7eba963477 remove varargs from logging/quit/in general as much as possible 2013-06-15 22:03:56 +10:00
ckolivas
b8a203ab33 Don't yield when downgrading a cg ilock. 2013-06-15 21:33:12 +10:00
Con Kolivas
736dfb4075 Don't yield on grabbing the read lock variant of cglocks. 2013-06-15 12:35:16 +10:00
Con Kolivas
6789c96fd4 Off by one error in device count for display. 2013-06-15 01:37:00 +10:00
Con Kolivas
994c0245c0 Don't display devices beyond the most_devices count in the curses status. 2013-06-15 01:31:37 +10:00
Con Kolivas
cd9ff7f6b8 Only display as many device rows as the maximum live existed at any time. 2013-06-15 01:28:00 +10:00
kanoi
326116f6ed Merge pull request #445 from kanoi/lock
usb lock out transfers during open/close
2013-06-14 08:04:03 -07:00
Kano
7ad9132bbe usb lock out use cg locks 2013-06-15 01:02:27 +10:00
Kano
ad30d41f79 usb lock out transfers during open/close 2013-06-14 23:48:03 +10:00
Con Kolivas
5597115020 Add error message to libusb pipe error 2013-06-14 23:11:09 +10:00
Con Kolivas
29f5fc4888 Differentiate libusb control transfer pipe errors from transfer errors since they're not fatal. 2013-06-14 22:48:18 +10:00
Con Kolivas
c7360dbe78 Create a usb_bulk_transfer wrapper for libusb_bulk_transfer to cope with pipe errors. 2013-06-14 22:45:43 +10:00
Con Kolivas
42891f07a7 Merge pull request #444 from zenwheel/master
Compile UNIX conditionals on Mac OS X
2013-06-13 16:59:06 -07:00
ckolivas
465ca14236 Only show efficiency in pool information for pools that don't support local work generation. 2013-06-14 09:57:05 +10:00
ckolivas
9aeed2f992 Create a pool_localgen bool function for testing when a pool can generate work locally. 2013-06-14 09:56:22 +10:00
Scott Jann
c38a225ad8 ignore file that is generated on Macs 2013-06-13 18:54:34 -05:00
Scott Jann
16587dd7c1 compile unix code on Mac OS X
fixes not finding the config file in $HOME
2013-06-13 18:50:50 -05:00
kanoi
67f89efffc Merge pull request #443 from kanoi/master
Use mining start time for device MH/U calculations
2013-06-13 08:23:13 -07:00
Kano
84ffcbc51b Use mining start time for device MH/U calculations 2013-06-14 01:09:50 +10:00
Con Kolivas
bd6bc6bd23 Decrease the sleep duration before reading in avalon to not let the read buffer overflow. 2013-06-13 16:13:52 +10:00
Con Kolivas
13a4aaa61a Failure to read and write on pseudo semaphores on apple happens routinely on shut down so should not be a quit error, just a warning. 2013-06-13 14:31:37 +10:00
Con Kolivas
827a6ab7da Unlock usb dev lock in the same place in usbutils. 2013-06-13 14:22:39 +10:00
Con Kolivas
9604cbee98 Sleep if the avalon buffer is empty and we've requested a read to allow the write thread to take precedence. 2013-06-13 13:59:17 +10:00
Con Kolivas
0aeb1b5480 Yield after releasing a lock in case we are on a device with limited CPU resources. 2013-06-13 13:28:48 +10:00
Con Kolivas
261b1299ac Add the cgpu_info structure before avalon reset. 2013-06-13 13:01:27 +10:00
Con Kolivas
291df91ced Tidy up DEVLOCK/UNLOCK to have consistent use of the pstate variable without needing brace level match. 2013-06-13 12:18:02 +10:00
Con Kolivas
3f105a23c8 Merge pull request #441 from kanoi/master
USB locking
2013-06-12 19:04:46 -07:00
Kano
65e21f18cb Icarus driver elaspsed timeout shouldn't be just USB I/O 2013-06-12 22:05:35 +10:00
Kano
91034145ae usbutils avoid leaving devlock locked when thread cancelled 2013-06-12 17:03:48 +10:00
Kano
92fee70205 MMQ fix nodev failure caused by changes 2013-06-10 21:40:21 +10:00
Kano
7d35c6921e ubsutils lock all access to nodev and cgusb 2013-06-10 18:52:18 +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
75c53221c0 Add FAQ regarding Work Utility. 2013-06-10 11:03:18 +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