Log

Author Commit Date CI Message
Con Kolivas eac5d49d 2013-10-17T00:16:39 Update NEWS.
Con Kolivas 65b130cd 2013-10-16T23:31:11 Remove unused components of jansson
Con Kolivas 4ed54d8c 2013-10-16T23:28:21 Remove unused parts of libusb Conflicts: compat/libusb-1.0/doc/Makefile.am compat/libusb-1.0/doc/doxygen.cfg.in compat/libusb-1.0/examples/Makefile.am compat/libusb-1.0/examples/dpfp.c compat/libusb-1.0/examples/dpfp_threaded.c compat/libusb-1.0/examples/hotplugtest.c compat/libusb-1.0/examples/listdevs.c compat/libusb-1.0/examples/sam3u_benchmark.c
Con Kolivas 539f2c35 2013-10-16T23:17:55 Work around older libtoolize that fails without top ltmain.sh not being present during autogen
Con Kolivas 40034ba1 2013-10-16T22:30:51 Add m4 directory to jansson
Con Kolivas ec4dfc5e 2013-10-16T22:26:46 Fix open coded use of autoreconf in autogen
Con Kolivas 77cffa2f 2013-10-16T22:14:36 Update jansson to only build parts we require and suited to our build environment.
Con Kolivas d529a3fd 2013-10-16T22:02:03 Initial import of jansson-2.5
Con Kolivas 955e971d 2013-10-16T20:47:26 Prevent further USB transfers from occurring once the shutdown signal has been sent to prevent transfers getting stuck and libusb failing to shut down.
Con Kolivas bec75b61 2013-10-16T20:34:51 Make the USB polling thread poll every second to potentially aid longer timeout transfers.
ckolivas f821d0fb 2013-10-15T13:31:07 Set device_diff on work in get_work to not be missed with drivers that use get_work directly.
ckolivas 330e6428 2013-10-15T10:03:03 Convert icarus driver to hash_driver_work model.
Kano addb8481 2013-10-15T02:02:30 bflsc - also allow ' 0' in DEVICES IN CHAIN
Kano 8455cc3f 2013-10-15T01:55:31 bflsc - allow a 0 in DEVICES IN CHAIN
Con Kolivas ab5b2229 2013-10-15T00:31:06 Bump version to 3.6.1
Con Kolivas 7e43f512 2013-10-15T00:30:45 Update NEWS for 3.6.1
Con Kolivas 7c6bd4a8 2013-10-15T00:26:50 Emulate the libusb_control_transfer sync setup in our async variant.
Con Kolivas e6280c85 2013-10-15T00:13:06 Add the libusb control setup size offset for control writes.
Con Kolivas 91d1d104 2013-10-15T00:00:00 Merge branch 'master' of github.com:ckolivas/cgminer
Con Kolivas 8fdaeb0a 2013-10-14T23:59:01 Differentiate send from receive in control transfers!
kanoi bae0815e 2013-10-14T03:45:44 Merge pull request #505 from kanoi/master usbutils - make all libusb_error_name messages the same
Kano 108e7376 2013-10-14T21:44:10 usbutils - make all libusb_error_name messages the same
Con Kolivas a089cac3 2013-10-14T21:32:18 Bump version to 3.6.0
Con Kolivas 10166160 2013-10-14T21:31:40 Further update NEWS
Con Kolivas 9e287f95 2013-10-14T03:27:57 Merge pull request #499 from someone42/master changes to bitburner driver for bitburner fury boards
Con Kolivas f706fef5 2013-10-14T20:57:13 Merge branch 'master' of github.com:ckolivas/cgminer
Con Kolivas 4b665197 2013-10-14T20:56:58 Update NEWS.
kanoi fb32e31c 2013-10-14T02:55:34 Merge pull request #504 from kanoi/master klondike - can only calculate the nonce difference on or after the 2nd nonce
Kano 1452cbff 2013-10-14T13:28:36 klondike - can only calculate the nonce difference on or after the 2nd nonce
kanoi 5c7b9f7e 2013-10-13T18:52:51 Merge pull request #503 from kanoi/master Klondike - driver redesign + api message correction
Con Kolivas 07837072 2013-10-14T12:12:01 hexstr is too small in test_work_current
Con Kolivas 166200c0 2013-10-14T12:01:40 Windows uses errno for WSAETIMEDOUT
Con Kolivas 02a4f8df 2013-10-14T11:44:37 Convert the usb callback function to using cgsem_t timed waits to avoid race conditions with conditionals/mutexes.
Con Kolivas c9c39ac1 2013-10-14T11:44:13 Give correct return code in cgsem_mswait
Con Kolivas 1d9f90b2 2013-10-14T11:39:15 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.
Con Kolivas 433465bc 2013-10-14T11:35:47 Convert the usb callback function to use a cgsem_t using the timedwait code to avoid races with mutexes/conditionals.
Con Kolivas 6e948d87 2013-10-14T11:34:08 Check for correct timeout error in cgsem_mswait
Con Kolivas 51f8107b 2013-10-14T11:27:04 Fix util.h exports for cgsem_mswait
Con Kolivas c75ce853 2013-10-14T11:22:57 Implement a generic cgsem_mswait similar to sem_timedwait
Con Kolivas 9ca22ed4 2013-10-14T10:05:49 Use the one LIBUSB_ERROR_TIMEOUT for cancelled transactions since this error is explicitly tested for in various drivers.
Con Kolivas a7580f1f 2013-10-14T09:40:23 Do not use locking on usb callback function pthread signalling to prevent deadlock with libusb's own event lock.
Con Kolivas 280dc4bf 2013-10-14T00:54:05 Lock mutex before second pthread_cond_wait in usbutils to prevent a race.
Con Kolivas 84de52c1 2013-10-13T10:11:46 Use a write lock when performing any USB control transfers to prevent concurrent transfers.
Con Kolivas c0690286 2013-10-12T17:44:28 Free a libusb transfer after we have finished using it to avoid a dereference in usb_control_transfer
Con Kolivas 578fabe0 2013-10-12T16:54:39 Do not perform bfi int patching for opencl1.2 or later.
Con Kolivas 84f642f5 2013-10-12T15:06:48 Although async transfers are meant to use heap memory, we never return before the transfer function has completed so stack memory will suffice for control transfers, fixing a memory leak in the process.
Kano 16bd0a0d 2013-10-12T11:45:43 klondike - correct/reverse min/max stats
Kano da7223f1 2013-10-12T11:30:57 api incorrect message name
Kano f1d77f17 2013-10-12T11:29:02 klondike - use a link list queue rather than a circular buffer - and add timing stats
Con Kolivas 56edabc6 2013-10-12T11:06:54 Use a timeout with usb handle events set to a nominal 200ms and wait for the polling thread to shut down before deinitialising libusb.
Con Kolivas 9f8023a9 2013-10-12T10:34:07 Use stack memory for hex used in stratum share submissions.
Con Kolivas e0c90359 2013-10-12T09:56:48 Use stack memory in test_work_current, avoiding a malloc/free cycle each time.
Con Kolivas d3c215fd 2013-10-12T09:53:21 Provide a lower level __bin2hex function that does not allocate memory itself.
Con Kolivas 835ad824 2013-10-12T09:32:07 Convert the bitfury driver to use the hash_driver_work version of hash_work.
Con Kolivas 58008a37 2013-10-12T09:05:58 Add a hash_driver_work function to allow for drivers that wish to do their own work queueing and management.
Con Kolivas 3b2630cf 2013-10-12T08:45:49 Merge branch 'master' of github.com:ckolivas/cgminer
Con Kolivas 2ca8d859 2013-10-12T08:45:03 Convert all usb control transfers to asynchronous communication with our own timeout management as well.
kanoi 159673cf 2013-10-11T06:26:58 Merge pull request #502 from kanoi/master Klondike temp checking and read buffer size
Kano 595dcdfa 2013-10-04T14:56:33 Klondike - increase circular read buffer size
Kano 8e82da43 2013-10-04T10:57:07 Klondike - extra zero value and range checking in temp conversion
Kano 44f96c64 2013-10-10T07:56:41 klondike - display MHz also
Con Kolivas b5379760 2013-10-11T23:06:40 Make pthread conditional timeouts handle all bulk usb transfer timeouts performing libusb_cancel_transfer, disabling timeouts within libusb itself.
Chris Chua b509e843 2013-10-03T20:11:37 using separate identifier for bitburner fury boards
Chris Chua 5af1cfe3 2013-10-08T02:57:11 increasing max miners for avalon driver (properly this time)
Chris Chua 521e746b 2013-10-01T00:26:55 changes to bitburner driver for bitburner fury boards
Con Kolivas cda797d1 2013-10-11T16:04:23 Avoid calling get_statline_before on exit to avoid trying to use it on drivers in an indeterminate state.
Con Kolivas d437de84 2013-10-11T15:58:29 Avoid calling get_statline on exit.
Con Kolivas 03ad59f2 2013-10-11T15:37:55 Add a small amount to the usb timeout before cancelling to allow for a regular usb polling interval to pass.
Con Kolivas 08d8612f 2013-10-11T14:47:01 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.
Con Kolivas 6d18ce4c 2013-10-11T14:37:40 Retry up to USB_RETRY_MAX times to clear a halt condition before failing.
Con Kolivas 3a7a677f 2013-10-11T13:43:16 Show the error number as well as the description in erroring bulk transfers.
Con Kolivas 7fbe999f 2013-10-11T12:00:39 Drop logging level for failed to connect to stratum to verbose mode only since we hit it regularly.
Con Kolivas a1391961 2013-10-11T11:59:35 Update NEWS.
Con Kolivas b5dfacef 2013-10-11T10:15:06 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.
Con Kolivas 853aa28f 2013-10-11T08:49:59 Merge branch 'master' into async Conflicts: usbutils.c
Con Kolivas b30ae4a2 2013-10-09T23:06:46 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.
Con Kolivas 32bc7461 2013-10-09T22:17:56 Check for presence of driver name in DRIVER_COUNT_FOUND to prevent strcmp on a null pointer when a driver is not built in.
kanoi a715d27a 2013-10-08T20:26:57 Merge pull request #501 from kanoi/cmr Cairnsmore1 support clock/identify commands via the API
Kano d97c3a4b 2013-10-09T14:17:47 API-README update pgaset, pgaidentify and ascset docs
Kano 39ac69c1 2013-10-09T14:09:47 CMR allow sending flash and clock commands
Con Kolivas 2834eb8d 2013-10-08T23:35:22 Kill off threads that have failed using hash_sole_work instead of just disabling them.
Con Kolivas bdbe9dd5 2013-10-08T23:26:23 Make the bf1 getinfo size a macro
Con Kolivas e05bfddc 2013-10-08T23:18:57 Failing to add_cgpu in bitfury should be a terminal failure.
Con Kolivas 078f7f47 2013-10-08T23:15:15 Check return values when attempting to open a BF1 device and set the msg size as a macro.
Con Kolivas a5ed1771 2013-10-08T22:23:51 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." This reverts commit 7be59992c121a61e56402cec21508e39401fad6c. Of dubious utility since a full nonce range is not scanned before loading more work.
Con Kolivas 7be59992 2013-10-08T22:17:00 Further smooth out avalon hashrate by limiting the maximum number of nonces counted each cycle to 1 per miner, saving them for later cycles.
Con Kolivas dc9c3783 2013-10-08T22:05:01 Display errors on failed usb read and write and consider sequential IO errors a permanent failure.
Con Kolivas a22f5bfd 2013-10-07T19:50:38 Use libusb's own error name function instead of hand coding the error names.
Con Kolivas 936fca4d 2013-10-07T20:38:24 Limit ms_tdiff to 1 hour as a sanity check.
Con Kolivas 39ec9518 2013-10-08T21:33:29 Enable the usb buffer in avalon driver.
Con Kolivas efd8c441 2013-10-07T20:35:42 Check for async transfer variants of error messages.
Con Kolivas 2806f49c 2013-10-07T20:34:13 Revert "Check for the async variants of the libusb errors and retry up to retry max when trying to clear a pipe error/stall." This reverts commit c7d5256b3657bd6d4f2f04f7288cd757bcbf77a5.
Con Kolivas d34279b2 2013-10-08T20:48:26 Remove unused variables.
Con Kolivas f80c9003 2013-10-08T20:46:36 Merge branch 'master' into async Conflicts: api.c cgminer.c miner.h usbutils.c util.c
Con Kolivas f8e28f25 2013-10-08T20:42:36 Try switching pools if for some reason we end up with only idle pools and have ended up current_pool set to an idle one.
Con Kolivas 3b527f14 2013-10-08T20:41:13 Check a pool is stable for >5 mins before switching back to it.
Con Kolivas ef8efd6c 2013-10-08T00:01:26 Minimise the time between dropping the read devlock and grabbing the write devlock to avoid tons of logging spam in the interim.
Con Kolivas 97b5dd08 2013-10-07T20:38:24 Limit ms_tdiff to 1 hour as a sanity check.
Con Kolivas 6c757c6c 2013-10-07T20:35:42 Check for async transfer variants of error messages.
Con Kolivas 85e0b3a5 2013-10-07T20:03:53 Check for the async variants of the libusb errors and retry up to retry max when trying to clear a pipe error/stall.