Commit History

Author SHA1 Message Date
  Con Kolivas 2ca8d85906 Convert all usb control transfers to asynchronous communication with our own timeout management as well. 12 years ago
  Con Kolivas b537976036 Make pthread conditional timeouts handle all bulk usb transfer timeouts performing libusb_cancel_transfer, disabling timeouts within libusb itself. 12 years ago
  Con Kolivas cda797d1be Avoid calling get_statline_before on exit to avoid trying to use it on drivers in an indeterminate state. 12 years ago
  Con Kolivas d437de8428 Avoid calling get_statline on exit. 12 years ago
  Con Kolivas 03ad59f287 Add a small amount to the usb timeout before cancelling to allow for a regular usb polling interval to pass. 12 years ago
  Con Kolivas 08d8612f68 Do not attempt to clear a usb halt before sending the cancel message since all transfers should normally be cancelled before attempting to clear a halt condition, and only change the return message to a timeout if it's consistent with a cancellation. 12 years ago
  Con Kolivas 6d18ce4caa Retry up to USB_RETRY_MAX times to clear a halt condition before failing. 12 years ago
  Con Kolivas 3a7a677f45 Show the error number as well as the description in erroring bulk transfers. 12 years ago
  Con Kolivas 7fbe999fa2 Drop logging level for failed to connect to stratum to verbose mode only since we hit it regularly. 12 years ago
  Con Kolivas a13919615e Update NEWS. 12 years ago
  Con Kolivas b5dfacef24 We are always dependent on libusb handling events so use the blocking libusb_handle_events in the polling thread and use a bool to know if we should continue polling. 12 years ago
  Con Kolivas 853aa28ffc Merge branch 'master' into async 12 years ago
  Con Kolivas b30ae4a216 Use fractional hashrate return values in bitfury_scanhash to minimise the number of times we return 0 based on hashrate so far to further damp out displayed hashrate. 12 years ago
  Con Kolivas 32bc746178 Check for presence of driver name in DRIVER_COUNT_FOUND to prevent strcmp on a null pointer when a driver is not built in. 12 years ago
  kanoi a715d27a98 Merge pull request #501 from kanoi/cmr 12 years ago
  Kano d97c3a4be1 API-README update pgaset, pgaidentify and ascset docs 12 years ago
  Kano 39ac69c14c CMR allow sending flash and clock commands 12 years ago
  Con Kolivas 2834eb8d6d Kill off threads that have failed using hash_sole_work instead of just disabling them. 12 years ago
  Con Kolivas bdbe9dd5fe Make the bf1 getinfo size a macro 12 years ago
  Con Kolivas e05bfddc74 Failing to add_cgpu in bitfury should be a terminal failure. 12 years ago
  Con Kolivas 078f7f4739 Check return values when attempting to open a BF1 device and set the msg size as a macro. 12 years ago
  Con Kolivas a5ed1771a4 Revert "Further smooth out avalon hashrate by limiting the maximum number of nonces counted each cycle to 1 per miner, saving them for later cycles." 12 years ago
  Con Kolivas 7be59992c1 Further smooth out avalon hashrate by limiting the maximum number of nonces counted each cycle to 1 per miner, saving them for later cycles. 12 years ago
  Con Kolivas dc9c3783ec Display errors on failed usb read and write and consider sequential IO errors a permanent failure. 12 years ago
  Con Kolivas a22f5bfddd Use libusb's own error name function instead of hand coding the error names. 12 years ago
  Con Kolivas 936fca4de9 Limit ms_tdiff to 1 hour as a sanity check. 12 years ago
  Con Kolivas 39ec9518d5 Enable the usb buffer in avalon driver. 12 years ago
  Con Kolivas efd8c44182 Check for async transfer variants of error messages. 12 years ago
  Con Kolivas 2806f49c01 Revert "Check for the async variants of the libusb errors and retry up to retry max when trying to clear a pipe error/stall." 12 years ago
  Con Kolivas d34279b226 Remove unused variables. 12 years ago