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

4481 Commits

Author SHA1 Message Date
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
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
Con Kolivas
12a2cb0d3c Demote failed hex2bin result to LOG_INFO and check return result in driver-bflsc to avoid doing find_work_by_midstate. 2013-06-09 22:37:49 +10:00
Con Kolivas
4f36d38c0f Revert "Only return one nonce range per device per cycle through scanwork in bflsc to avoid batching of result count."
This reverts commit 4530a74e0b.
2013-06-09 22:00:49 +10:00
Con Kolivas
6d7f079f07 Set bflsc cutofftemp to 90 degrees. 2013-06-09 21:53:48 +10:00
Con Kolivas
4530a74e0b Only return one nonce range per device per cycle through scanwork in bflsc to avoid batching of result count. 2013-06-09 21:52:42 +10:00
Con Kolivas
9451c49e3c Nominally set bflsc cutofftemp to 85 degrees. 2013-06-09 21:43:16 +10:00
Con Kolivas
630e7d7658 Set BFLSC fan speed coarsely to keep it under 60 or auto as per specs saying it tries to stay below 60. 2013-06-09 21:33:20 +10:00
Con Kolivas
fd41eb4ef6 Limit usbutils LATENCY_STD to 32ms to keep transfers under 512 bytes. 2013-06-09 19:03:56 +10:00
Con Kolivas
7f1ce19059 Move macro definition to bflsc driver 2013-06-09 17:22:23 +10:00
Con Kolivas
641545aac7 Use a longer timeout for retrieving bflsc details. 2013-06-09 17:19:20 +10:00
Con Kolivas
7fc9666429 Add a usb_read_ok_timeout wrapper to cope with slow init'ing devices. 2013-06-09 17:15:48 +10:00