Log

Author Commit Date CI Message
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.
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()