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

4436 Commits

Author SHA1 Message Date
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
Con Kolivas
24398bde03 cgsem_post after creating the thread info 2013-06-09 16:38:57 +10:00
ckolivas
065d4aabf6 Fix build. 2013-06-09 13:29:38 +10:00
ckolivas
9b2e517f30 Use cgsem structures instead of the flaky pings in the work queue to start mining threads and remove the unused thr_info_freeze function. 2013-06-09 12:20:04 +10:00
Kano
29b2d68832 ASIC-README more zadig hints 2013-06-07 13:09:02 +10:00
Kano
cb8345b87a FPGA-README more Zadig hints 2013-06-07 12:36:42 +10:00
Con Kolivas
ed93e3bc6e More news. 2013-06-07 08:57:52 +10:00
Con Kolivas
059aa5abb2 Shorten the avalon statline to fit in the curses interface and show the lowest speed fan cooling the asic devices. 2013-06-07 08:52:58 +10:00
Con Kolivas
5a13ad4e7c Bump version to 3.2.1 2013-06-07 08:46:40 +10:00
Con Kolivas
75e707cb8e Extra news. 2013-06-07 08:44:47 +10:00
Con Kolivas
9133c468ce Set usbdev in usbutils after checking for nodev to avoid trying to access a dereferenced value. 2013-06-07 08:42:40 +10:00
Con Kolivas
6cc55a4767 Update NEWS for upcoming 3.2.1 release. 2013-06-07 08:38:02 +10:00
Kano
8478ee4436 AMU usbstatus correct name from enable UART 2013-06-07 07:02:55 +10:00
kanoi
baf50def39 Merge pull request #439 from kanoi/master
Icarus AMU enable the UART
2013-06-06 09:01:26 -07:00
Kano
a7425c6c1b Icarus AMU enable the UART 2013-06-07 01:52:51 +10:00
Con Kolivas
8ec78c28e0 Only libusb close if libusb release succeeds. 2013-06-07 00:38:48 +10:00
Con Kolivas
e186c5cf07 Revert "Protect all usb writes reads and unplugs with a mutex lock and check libusb release has succeeded before proceeding with a libusb close."
This reverts commit beb5f8889d.
2013-06-07 00:38:10 +10:00
Con Kolivas
beb5f8889d Protect all usb writes reads and unplugs with a mutex lock and check libusb release has succeeded before proceeding with a libusb close. 2013-06-07 00:25:49 +10:00
ckolivas
104b14ec7f Failed reads and writes on cgsem_post and cgsem_wait should be extremely rare. 2013-06-06 13:22:12 +10:00
ckolivas
b59c33800b Implement cgminer specific cgsem semaphores to imitate unnamed semaphore behaviour on osx which does not support them. 2013-06-06 13:08:00 +10:00
Con Kolivas
62585778e7 Set cgusb->buffer to NULL when doing usb_buffer_disable. 2013-06-05 21:27:57 +10:00
ckolivas
05123bf452 Temporarily fix apple not having semtimedop by ignoring the timeout value. 2013-06-05 15:50:30 +10:00
kanoi
065c1038a9 Merge pull request #438 from kanoi/master
ICA/BAS buffered USB
2013-06-04 22:34:56 -07:00
Kano
1bec49041f BFLSC enable buffered USB reading 2013-06-05 12:11:40 +10:00
Kano
161165dcc0 Icarus use buffered USB reading 2013-06-05 12:04:57 +10:00
kanoi
7b3e921377 Merge pull request #437 from kanoi/master
usb_ftdi_set_latency
2013-06-04 08:53:10 -07:00
Kano
6aed9a5122 bflsc & icarus use usb_ftdi_set_latency 2013-06-05 01:49:48 +10:00
Kano
58bb4d486d usb_ftdi_set_latency LOG_ERRs if called incorrectly 2013-06-05 01:44:50 +10:00
Kano
f366d53f3c add usb_ftdi_set_latency 2013-06-05 01:37:16 +10:00
kanoi
c30af6d663 Merge pull request #436 from kanoi/master
usbutils optional read buffering
2013-06-04 08:21:03 -07:00
Kano
4368a04fce usbutils optional read buffering 2013-06-05 01:07:16 +10:00
kanoi
98a9d76729 Merge pull request #435 from kanoi/master
FTDI Latency
2013-06-04 08:06:34 -07:00
Con Kolivas
5e94a97223 Set the avalon read transfer latency to avoid sleeping when no data is returned after very short latency settings. 2013-06-04 23:31:26 +10:00
Kano
a16f51fb2e correct bflsc BFLSC_BUFSIZ max calculation 2013-06-04 22:37:00 +10:00
Con Kolivas
dd5788762f Fix build for !curses 2013-06-04 21:49:28 +10:00
Kano
4d749ff44b restore max code - since timeout is unsigned 2013-06-04 13:43:23 +10:00
Kano
cab2dd92ab compile warning - remove unused max 2013-06-04 13:30:05 +10:00
Kano
1c64f3b621 usb set FTDI latency higher to minimise status bytes 2013-06-04 13:17:57 +10:00
Con Kolivas
8ecf929944 Check for zero timeout on _usb_write. 2013-06-04 00:08:59 +10:00
Con Kolivas
2887147444 Check for zero timeout in usb read. 2013-06-03 23:55:55 +10:00
Con Kolivas
27628cdda9 Define a minimum polling time based on frequency of mandatory updates of ftdi responses at 40ms. 2013-06-03 23:38:54 +10:00
Con Kolivas
97a92b26ca Sleep right up to the timeout instead of the first half if we find ourselves polling in _usb_read 2013-06-03 23:33:31 +10:00
Con Kolivas
3d631b7cbb Enforce half timeout sized sleeps in usb_read if we find the device is not respecting libusb timeouts to avoid polling frequently. 2013-06-03 23:15:59 +10:00
Con Kolivas
489a9fca43 Typo. 2013-06-03 21:20:28 +10:00
Con Kolivas
f8883dbf06 Spelling typo. 2013-06-03 20:14:22 +10:00
Con Kolivas
2d8abb7c17 Add more ASIC documentation. 2013-06-03 20:09:35 +10:00