Log

Author Commit Date CI Message
Con Kolivas 9754c83e 2013-12-09T13:10:53 Quieten down jansson component of build.
Con Kolivas 4131cd7c 2013-12-09T13:03:32 Merge branch 'usb11tt' Conflicts: usbutils.c
Con Kolivas 138ff949 2013-12-08T12:48:06 Cache the bool value for usb1.1 in _usb_write
Con Kolivas 7ae878aa 2013-12-08T12:44:45 Initialise usb locks within usbutils.c instead of exporting them.
Con Kolivas 509d1a78 2013-12-08T13:21:57 Imitate a transaction translator for all usb1.1 device writes to compensate for variable quality hubs and operating system support.
Con Kolivas b209d9f6 2013-12-08T12:48:06 Cache the bool value for usb1.1 in _usb_write
Con Kolivas d7c5667a 2013-12-08T12:44:45 Initialise usb locks within usbutils.c instead of exporting them.
Con Kolivas 3737d62a 2013-12-08T12:37:25 Rationalise variables passed to usb_bulk_transfer.
Con Kolivas a3ed7abc 2013-12-07T14:56:39 Unlink files opened as semaphores on releasing them.
Con Kolivas 634e0093 2013-12-06T10:35:02 Remove user configuration flag from pll bypass enabling in hashfast driver.
Con Kolivas f4a96194 2013-12-04T20:42:25 Provide an hfa-dfu-boot option for resetting hashfast devices for reprogramming.
kanoi 4c21be14 2013-12-03T12:25:51 Merge pull request #526 from farproc/master Fixed one byte stack overflow in mcast recvfrom.
Tim Bateman b382ad9b 2013-12-03T10:46:32 Fixed one byte stack overflow in mcast recvfrom. The actual overflow happens when enforcing the NULL termination shortly after the recvfrom.
Con Kolivas b68124b0 2013-12-02T17:20:02 Having changed C_MAX means we don't calloc enough for usb stats, off by one.
Con Kolivas b035ceab 2013-12-02T11:06:22 Don't free the info struct on hashfast shutdown since it's still accessed after a device is removed.
Con Kolivas a54ffb0a 2013-12-01T15:38:28 Bump version to 3.8.4
Con Kolivas 53d96878 2013-12-01T15:38:03 Update NEWS
Con Kolivas 3bc36eb0 2013-12-01T15:18:16 Deprecate the usb usecps function and just split up transfers equal to the maxpacketsize on usb1.1 devices.
Con Kolivas 596e95b0 2013-12-01T14:19:46 Retry sending after successfully clearing a pipe error.
Con Kolivas 9a6ce20e 2013-12-01T14:10:57 Drop logging of timeout overrun message to verbose level.
Con Kolivas 423dd457 2013-12-01T00:07:37 Use a much longer callback timeout for USB writes on windows only as a last resort since cancellations work so poorly.
Con Kolivas 84c74f91 2013-11-30T23:38:15 Use vcc2 in bflsc voltage displayed.
Con Kolivas 46cebb98 2013-11-30T23:19:21 Increment per core errors on false nonces in bflsc and add per core statistics to api stats, removing debugging.
Con Kolivas e65ad489 2013-11-30T23:10:57 Store a per-core nonce and hw error count for bflsc.
Con Kolivas b6a61ca0 2013-11-30T18:33:09 Fix json parsing in api.c
Con Kolivas e175325c 2013-11-30T18:12:50 Add debugging to hfa driver for how many jobs are being sent.
Con Kolivas dc0b0dc0 2013-11-30T17:41:27 Shut down the hfa read thread if the device disappears.
Con Kolivas 67e35260 2013-11-30T17:03:22 Add debug output saying what frame command is being sent in hfa driver.
Con Kolivas 0aede509 2013-11-30T12:32:34 Revert "Disable USB stats which were not meant to be enabled by default and add extra memory for a memory error when stats are enabled." This reverts commit 693d3916448ddc66f3a109c5e065e99aa8fa9669.
Con Kolivas 1ec7a47a 2013-11-30T12:13:45 Reset work restart flag in hfa driver since we may check for it again in restart_wait.
Con Kolivas 64baf870 2013-11-30T11:16:27 Add more op usb init errors for hfa driver.
Con Kolivas 9298a189 2013-11-30T11:02:03 Perform basic displaying of hfa notices received.
Con Kolivas adea58a7 2013-11-30T10:43:39 Add hfa op usb notice macros.
Con Kolivas e68fe33d 2013-11-30T10:37:36 Update hf protocol header.
Con Kolivas 6a91027f 2013-11-30T10:14:44 Use sync usb transfers in lowmem mode.
Con Kolivas be1d7a90 2013-11-30T08:52:42 Go back to allowing timeout errors on USB writes to be passed back to the driver without removing the device in case the driver wishes to manage them.
Con Kolivas c5dfb96f 2013-11-26T19:34:44 Initialise more values for the hfa data structures.
Con Kolivas 7ddb94d6 2013-11-25T23:47:43 A USB control error must be < 0
Con Kolivas d2b7ccbf 2013-11-25T23:13:29 Simplify USB NODEV error checking to success only for writes and control transfers, and success and timeout for reads.
Con Kolivas 999d27ed 2013-11-25T23:05:41 libusb error IO should be fatal as well if it gets through usb read and write.
Con Kolivas 751585c6 2013-11-25T23:01:33 Allow IO errors in usb reads/writes to be ignored up to retry max times.
Con Kolivas be51dcfd 2013-11-25T09:55:41 Use correct padding for bxf temperature display.
Con Kolivas 1058f36d 2013-11-25T09:43:31 Initialise devices before attempting to connect to pools to allow their thread prepare function to be called before having to connect to pools.
Con Kolivas 8901d7e3 2013-11-24T16:52:08 Add hidden hfa options to set hash clock, group ntime roll and pll bypass, fixing frame sent on reset to include extra data.
Con Kolivas 04fab9bf 2013-11-24T09:39:44 Relax the timeouts for the slower usb devices on linux.
Con Kolivas 8f2fa3cc 2013-11-23T21:45:12 Add big endian hf protocol header to Makefile
Con Kolivas 3d3b3939 2013-11-23T21:20:26 Check for correct big endian macro in hf_protocol
Con Kolivas 2b9bdca6 2013-11-23T15:08:43 Use an absolute timeout in hfa_get_header to cope with buffered usb reads returning instantly confusing the 200ms counter.
Con Kolivas af1eb78c 2013-11-23T13:23:06 Update hfa_detect_one to use the new detect function API.
Con Kolivas 9cbac853 2013-11-23T10:33:00 Bump version to 3.8.3
Con Kolivas e6f549bf 2013-11-23T10:32:30 Update News.
Con Kolivas ed9a89ef 2013-11-23T09:59:59 Set the bitfury device start times from when we first get valid work.
Con Kolivas 5aac6b74 2013-11-22T23:40:22 Fix stack corruption of zeroing too much in bf1 driver.
Con Kolivas 0e60ca30 2013-11-22T23:21:44 Make usb_detect return the cgpu associated with it to check if it succeeds to decide on whether to increment the device count or not.
Con Kolivas 107b2f73 2013-11-22T21:13:47 Set tv work start time for bxf driver.
Con Kolivas e14b3ea3 2013-11-22T20:50:25 Age the bxf work items over 90 seconds, not the bf1 work items.
Con Kolivas 9ce30b7b 2013-11-22T11:14:21 Zero the read buffer in _usb_read to avoid stale data and only use stack memory instead of using the bulkbuf since it is only used in _usb_read.
Con Kolivas 5df2ae56 2013-11-22T10:40:23 Leave room for temperatures above 100 degrees and pad consistently for bxf statline.
Con Kolivas 4715ee84 2013-11-22T10:37:44 Drop json stratum auth failed message log level to verbose.
Con Kolivas 23aff60d 2013-11-22T10:34:30 Change the processed value not the bufsiz in response to an end of message marker.
Con Kolivas 49ae610b 2013-11-22T10:24:35 Don't lose data beyond the end of message in a usb read.
Con Kolivas 45950890 2013-11-22T10:02:56 Silence irrelevant warning.
Con Kolivas 4cb51674 2013-11-22T09:58:30 Only check strlen on end if end exists.
Con Kolivas b8d8ebfa 2013-11-22T09:54:58 Simplify the end of message detection in _usb_read and allow it to return without doing another read if the message is already in the buffer.
Con Kolivas eae0e76d 2013-11-22T00:03:11 Increase work ageing time to 90 seconds for bxf driver to account for firmware changes.
Con Kolivas 698d677f 2013-11-20T23:09:51 Use the age_queued_work function in the bitfury driver.
Con Kolivas 443f26b6 2013-11-20T23:07:02 Provide a function to discard queued work based on age.
Con Kolivas 009511c9 2013-11-19T22:29:14 The json_val in api.c is a borrowed reference, not a new one so don't decref it.
Con Kolivas a3df3a85 2013-11-19T22:21:18 Decrement json references in api.c to not leak memory.
kanoi fabae7eb 2013-11-18T21:00:20 Merge pull request #523 from SkillfulHacking/patch-1 line 2913 added urlencode
ouɐɹɔs ʞɹɐɯ ffa4be6d 2013-11-18T23:14:31 line 2913 added urlencode There was a cross site scripting vulnerability due to insufficient input sanitation on the $pg parameter. This patch fixes that issue.
Con Kolivas 390ac706 2013-11-18T10:40:41 With reliable writes to the avalon there is no need for the sleep delays between writes.
Con Kolivas fd2b247a 2013-11-18T10:38:05 There is no need to limit usb write transfers to maxpacketsize and it's harmful for large transfers on slow devices such as wrt routers.
Con Kolivas 693d3916 2013-11-17T23:04:29 Disable USB stats which were not meant to be enabled by default and add extra memory for a memory error when stats are enabled.
Con Kolivas b3b32675 2013-11-17T17:09:29 Set limit and count to integers to not overflow during failed hotplug attempts and then not trying again.
Con Kolivas 6f2e4072 2013-11-17T16:48:35 Update api example compilation instructions.
Con Kolivas 0ed1828b 2013-11-16T15:30:23 Bump version to 3.8.2
Con Kolivas 77ab4144 2013-11-16T15:29:42 Update NEWS
Con Kolivas 5d86a4a0 2013-11-16T14:55:26 Add more verbose documentation to the readme files for windows users.
Con Kolivas c29d6014 2013-11-16T14:46:49 Add more information on libusb failure to init telling users to check README file.
Con Kolivas 64be57cf 2013-11-16T14:45:03 Add information on unloading cdc drivers on osx to README
Con Kolivas d3daff47 2013-11-16T13:20:52 Prevent a deadlock with use of restart_threads by spawning a thread to send the driver flush work messages.
Con Kolivas fcbd3dc5 2013-11-16T11:42:38 Set priority of various threads if possible.
Con Kolivas 68d54030 2013-11-16T11:29:18 Add bxf data to api output.
Con Kolivas 16bdb528 2013-11-16T10:44:41 Do not hold the mining thread lock in restart_threads when calling the driver flush work commands.
Con Kolivas b9bc5ad2 2013-11-16T10:12:15 Send extra work regularly to the bxf device and parse the needwork command by sending the amount of work it requests.
Con Kolivas 3b3410e3 2013-11-16T09:52:23 Allow messages to have arbitrary offsets in the bxf parser in case we have lingering buffered data.
Con Kolivas 0677ddfe 2013-11-16T09:44:28 Send the maxroll command to the bxf driver and store the value to see if we need to update it.
Con Kolivas faecdca4 2013-11-16T09:15:16 Add sending of flush command to bxf on flush_work
Con Kolivas 667bb493 2013-11-16T09:08:04 Add flush and version commands to bxf start up, flush buffer and try to parse version response string.
Con Kolivas ee4d5a64 2013-11-16T08:36:27 Abstract out bxf recv message.
Con Kolivas c59d260b 2013-11-16T08:19:57 Add extra bxf commands to usbutils
Con Kolivas e051e1bd 2013-11-16T08:14:38 Abstract out bxf send message to allow us to easily add extra commands.
Con Kolivas 324df855 2013-11-15T23:46:41 Don't run device restart code if the device is not enabled.
Con Kolivas dcd6c688 2013-11-15T23:20:14 One more space in bitfury statline.
Con Kolivas 8dfcf1bf 2013-11-15T23:18:15 Expand size of bitfury statline
Con Kolivas 12a2ded6 2013-11-15T22:57:41 Various driver fixes for bitfury devices, including a flag from when first valid work appears.
Con Kolivas a51bde3e 2013-11-15T22:35:10 Look up work results in bxf driver from correct variable.
Con Kolivas 0508610f 2013-11-15T17:43:51 Correct incorrect error code in bxf driver for usb writes and add debugging.
Con Kolivas f785ae5d 2013-11-15T17:34:06 Add bxf details to usbutils.