Log

Author Commit Date CI Message
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.
Con Kolivas aef6341f 2013-11-15T17:21:03 Merge branch 'master' into bxf
Con Kolivas efc38401 2013-11-14T15:02:24 Merge pull request #521 from mborodin/upstream Some meory leaks fixed
Con Kolivas 488b2ba5 2013-11-14T21:25:52 Merge branch 'master' into bxf
Con Kolivas 2e9afa38 2013-11-14T21:24:54 Merge branch 'master' of github.com:ckolivas/cgminer
Con Kolivas 3aac6ebd 2013-11-14T15:50:56 Implement a statline showing temperature for bxf
Con Kolivas 5253eb7e 2013-11-14T15:44:21 Add api data for bxf device, sharing the hashrate function with bf1.
Con Kolivas 25dd5fb0 2013-11-14T15:32:49 Count no matching work as a hw error on bxf
Con Kolivas 1585ac3a 2013-11-14T15:23:02 Add BXF to udev rules.
Con Kolivas 770cd8e6 2013-11-14T14:13:07 Work id should be hexadecimal in bxf messages.
Con Kolivas e29e84ae 2013-11-14T14:04:54 Add unrecognised string debugging to bxf driver.
Con Kolivas b679337c 2013-11-14T13:57:09 Implement the main scanloop for bxf, trying to prevent it from ntime rolling work if the work protocol does not allow it.
Con Kolivas 8a710a68 2013-11-14T13:21:58 Parse bxf work submits fully, submitting the results.
Con Kolivas 4494292a 2013-11-14T13:08:35 Provide a function for setting the work ntime.
Con Kolivas 6f8fbd39 2013-11-14T13:01:54 Implement a skeleton parse bxf submit function.
Con Kolivas 5e147c69 2013-11-14T12:49:59 Use the bxf read thread to set the device target and send its first work item.
Con Kolivas 418664ad 2013-11-14T12:39:15 Implement a bxf send work function and set update and restart functions to sending new work since that's the equivalent for that device.
Con Kolivas 977943b3 2013-11-14T12:08:48 Add temperature parsing to bxf driver
Con Kolivas c1c834a6 2013-11-14T11:58:21 Create and destroy a basic bxf read thread.
Con Kolivas 18d1a9d7 2013-11-14T11:35:47 Remove the buffer from bitfury info since it is only used on one pass in the bf1 device.
Con Kolivas 28d93514 2013-11-14T11:33:15 Add a rudimentary bxf detect one function.
Con Kolivas 174b9fd6 2013-11-14T11:27:43 Rename all bf1 specific functions in the bitfury driver, using a switch to choose correct function.
Con Kolivas c2275a81 2013-11-14T11:15:18 Rename bitfury_getinfo to bf1_getinfo since it's unique to bf1 devices.
Con Kolivas 1d0d9fba 2013-11-14T11:11:01 Separate out the bf1 reset from bitfury reset.
Con Kolivas e7758fcd 2013-11-14T11:05:24 Store the bitfury identity in the info struct.
Kano 2ac62e02 2013-11-14T11:04:38 BaB - updated tested OS comment
Con Kolivas 67c3826b 2013-11-14T10:37:23 Uniquely identify the BF1 and BXF bitfury devices.
Con Kolivas ad624b93 2013-11-14T08:36:19 Remove the default libusb WinUsb pipe policies that don't suit us.
Con Kolivas 9228ba32 2013-11-14T08:31:04 Only set the winusb pipe policy if it doesn't match our requirements instead of every transfer.
Kano 1aadb909 2013-11-14T01:42:08 klondike - dont try to flush if not initialised
Kano 98329cb3 2013-11-14T01:17:57 api.c trylock() add missing locklock
Con Kolivas afb710f3 2013-11-14T00:58:21 Use our new zero length packet support directly in windows.
Con Kolivas 911eb010 2013-11-14T00:57:25 Enable support for zero length packet on windows and auto clear pipe stalls.
Maksym Borodin 8aea6859 2013-11-13T11:57:29 util.c: Decreasing reference count on allocated JSON obects to prevent memory leak
Maksym Borodin b1c3af57 2013-11-13T11:42:33 api.c: Release apisock on error in api()
Maksym Borodin 1a672cd6 2013-11-13T11:36:12 api.c: Release io_data->ptr when releasing io_data in io_free()
Con Kolivas 55cbb2d2 2013-11-13T22:27:58 Merge branch 'master' of github.com:ckolivas/cgminer
Con Kolivas 8edba014 2013-11-13T21:54:21 We can't connect to a GBT pool at all with fix protocol enabled.
Con Kolivas 013c93f7 2013-11-13T20:01:41 Initialise the stgd lock mutex earlier to prevent dereferences when pool testing occurs before it.
Kano eac185e8 2013-11-11T13:21:41 Klondike support I2C USB layout also - as KLI
Con Kolivas 68d23521 2013-11-12T22:20:49 Return error codes in avalon_read() if they're not timeouts.
Con Kolivas 9bb1f17a 2013-11-12T20:42:27 Break out of the avalon idle loop if we get a send error.
Con Kolivas 2d2204b0 2013-11-12T17:29:30 merge upstream
Con Kolivas ecedd772 2013-11-12T17:28:45 Set avalon ftdi latency to just less than the time it would take to fill the ftdi buffer at 115200 baud
ckolivas c080c172 2013-11-12T10:33:39 Update example.conf
Con Kolivas b74af263 2013-11-12T07:40:35 Only limit packetsize on usb out writes.
Con Kolivas ec09fd6b 2013-11-11T21:22:47 We must chop up every 64 bytes returned on an ftdi chip, not just the first 2 bytes so revert to parsing the data internally in the avalon instead of using usbutils' simple ftdi parser.
Con Kolivas 9a036bc8 2013-11-11T18:05:57 Only retry 3 times in hfa_reset.
Con Kolivas a4a1b942 2013-11-11T17:55:24 Only add_cgpu in hashfast driver once we have a real driver set up.
Con Kolivas 10c09c4c 2013-11-11T17:47:59 Clean up properly if hfa_detect_common fails in the hashfast driver.
Con Kolivas dc6574e6 2013-11-11T08:57:32 --shares should be scaled to diff1 not absolute number of shares