usbutils.h

Branch


Log

Author Commit Date CI Message
xzx 6786bbd2 2017-09-11T18:12:19 Add Avalon8 support
Alexander I. Mogilny 6f01253b 2017-01-26T13:30:45 merge with cgminer rev 87e3da18638275d2b5adbd0ccd0a17225793bf8f code refactoring: - Con Colivas notes - whitespace nitts - unused parameters removed - compiler warnings removed
vthoang 68cc5b7e 2017-01-09T19:10:16 Merge https://github.com/ckolivas/cgminer
Mikeqin 04e6a4b9 2016-07-29T15:39:08 Add Avalon7 support
vthoang 70cac0d6 2016-05-02T18:16:39 tidy up naming to match general conventions
vthoang dd04a305 2016-05-01T20:15:05 Add in ramp code. Untie compac detect from default icarus fallback detect to have a cleaner device detect path.
vthoang 9f6f24b8 2016-04-27T22:08:44 changed a few spaces to tabs
vthoang f3eba5f4 2016-04-27T21:49:22 Added GekkoScience Compac detection and support to the icarus driver.
Mikeqin 359be2e6 2015-11-16T15:43:29 Merge remote-tracking branch 'ck/master' into avalon4 * Merge 3f70e48cc7a590b4dac407fd002159bab2428ccd
kanoi b8593020 2015-06-04T07:59:44 AntS3 - initial S3 merge basic support
Xiangfu c3445d09 2015-05-07T11:30:47 Update USB ID
Xiangfu 3a4cd79a 2015-05-03T14:32:40 Rename to Avalon4 mini
Mikeqin ec421917 2015-04-23T18:54:54 Support Avalon4 mini
Xiangfu c6b20a12 2014-12-10T23:37:39 Add Avalon4 support
Con Kolivas 6467bcb9 2014-11-23T15:06:49 Differentiate U3 from U1/2 as a separate driver with different parameters and adjust timing accordingly
Con Kolivas 52963eb0 2014-11-23T11:01:32 Add rudimentary ANU voltage setting support for U3
naituida a2e33b4f 2014-09-15T15:07:15 Add BlockErupter Driver
Con Kolivas e8779ccf 2014-09-06T15:44:28 Merge branch 'master' into bflsc28
Con Kolivas f8ccbcb1 2014-07-28T14:33:04 Initial commit of ava2 conversion to direct USB
Con Kolivas e89b5059 2014-07-19T18:23:04 Initial import and conversion of hashratio driver to direct USB
kanoi 567415b5 2014-07-02T04:13:51 bflsc28 - allow setting clock and volt from the API ascset command
ckolivas 22610716 2014-06-27T09:20:15 Do initial detection of bflsc28 devices
Con Kolivas c964aa5f 2014-06-15T23:12:34 Import basic rbox driver
kanoi 4b55ab7e 2014-05-20T15:46:57 AntS2 code conversion and addition of optional noncedup check
Con Kolivas 9e9430d7 2014-05-05T09:37:31 Rename nf1 driver to nfu in anticipation of support for more chips
Con Kolivas d97f893c 2014-04-22T20:03:21 Discretely identify the onestring miners as OSM
Con Kolivas 393abb8f 2014-04-22T19:58:30 Add bxf debugging option and osm led modes
Angus Gratton 29a83d88 2014-02-24T14:34:12 Drillbit: Add --drillbit-autotune option for device to dynamically alter clock speed
Con Kolivas 52778727 2014-03-02T23:13:38 Merge branch 'bpmx'
Con Kolivas dbec4a0d 2014-03-02T22:42:59 Store usb11 and tt flags as booleans in cgusbdev allowing them to be discretely enabled as well as detected by the device data.
Con Kolivas 5107a133 2014-03-02T16:04:15 Add a bxm specific txrx function for spi transfers.
Con Kolivas a7549891 2014-03-02T15:30:46 Add reset/purge/cshigh/low sequence to bxm init
Con Kolivas 4a6c637c 2014-03-02T14:21:10 Add bitmode init to bxm open sequence.
Con Kolivas 917507ec 2014-03-02T13:59:59 Add initial bxm opening sequence for detect one.
Con Kolivas 5a6e228e 2014-03-02T13:25:37 Add identifiers for bxm bitfury devices.
Kano ed9bd66b 2014-03-02T00:34:09 AntS1 - add detection information to usbutils
Kano d5b8d73f 2014-03-02T00:13:59 Enable Bitmain Ant S1 code and make it conform to cgminer requirements
Con Kolivas 26a0ea5b 2014-02-26T23:30:48 Provide a usb_detect_one wrapper which only plugs one device at a time, breaking out otherwise.
Con Kolivas 21fa38d5 2014-02-23T23:52:54 Read off the OP_NAME if it exists and is supported on hfa devices, setting it to the device serial number or a timestamp if it is invalid.
Con Kolivas cd79fbd4 2014-02-15T16:51:32 Use a unique usb_list function displaying only pertinent information when listing usb devices from the menu.
Con Kolivas c5694ee8 2014-02-14T21:23:42 Add the ability to whitelist previously blacklisted usb devices from the menu.
Con Kolivas 5cda70e7 2014-02-14T08:09:17 Update various copyright dates
Con Kolivas 7a435b6e 2014-02-13T23:37:50 Add a mechanism to blacklist a usb device from its cgpu.
Con Kolivas 19856d67 2014-02-13T23:12:27 Add a usb_reset by cgpu function to usbutils.
Con Kolivas 69d67af1 2014-02-12T20:46:44 Add driver for cointerra devices.
Con Kolivas be961cd1 2014-02-07T14:39:05 Add support for ANU overclocking.
Con Kolivas 68e514e6 2014-02-03T20:10:42 Add op commands necessary to control hfa fanspeeds.
Con Kolivas 5b61abc7 2014-02-01T23:53:33 Add OP_PING to hfa commands
Con Kolivas d2e6648c 2014-01-29T22:21:55 Add support for AntminerU1 devices with the icarus driver.
Con Kolivas ad6afa39 2014-01-08T22:18:02 Use the internal knowledge of the usb epinfo to determine whether we should be doing an interrupt instead of a bulk transfer, and do not send a ZLP if so, and limit read transfer to expected size automatically.
Con Kolivas c644b749 2014-01-05T20:13:02 Provide a way for usb reads to just read the size asked for with a limit bool.
Con Kolivas 6f9b5767 2014-01-04T09:35:10 Implement an mcp2210 spi cancel function.
Con Kolivas d439fc75 2014-01-03T15:17:26 Create a generic gpio pin struct and add helpers for mcp get pin val and dirs.
Con Kolivas 5015e258 2014-01-03T12:00:23 Add a set of usb commands to the usbutils defines for mcp2210 comms, and use the same command name for send and receive.
Con Kolivas b849a1b9 2014-01-02T22:25:56 Add basic device detection and updated udev rules for nanofury devices.
Kano a27c4717 2013-12-23T16:28:16 usbutils remove old code added back
Kano 97a13df4 2013-12-23T06:58:26 Merge remote-tracking branch 'drill/master' into drill
Con Kolivas 7c7a324f 2013-12-17T21:53:10 Add support for newer protocol bi*fury commands job, clock and hwerror, setting clock to default 54 value, turning parsing into a compact macro.
Angus Gratton 73343f38 2013-12-09T11:39:03 Merge remote-tracking branch 'upstream' into merge_upstream Conflicts: usbutils.c
Con Kolivas 7ae878aa 2013-12-08T12:44:45 Initialise usb locks within usbutils.c instead of exporting them.
Con Kolivas d7c5667a 2013-12-08T12:44:45 Initialise usb locks within usbutils.c instead of exporting them.
Con Kolivas f4a96194 2013-12-04T20:42:25 Provide an hfa-dfu-boot option for resetting hashfast devices for reprogramming.
Angus Gratton 394ccaf1 2013-12-04T15:29:37 Add support for temperature display (pending firmware support)
Con Kolivas 0da9c87e 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 3bc36eb0 2013-12-01T15:18:16 Deprecate the usb usecps function and just split up transfers equal to the maxpacketsize on usb1.1 devices.
Angus Gratton e933a560 2013-11-30T22:03:26 Merge remote-tracking branch 'upstream' into merge_383 Conflicts: usbutils.c usbutils.h
Con Kolivas adea58a7 2013-11-30T10:43:39 Add hfa op usb notice macros.
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 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 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 c59d260b 2013-11-16T08:19:57 Add extra bxf commands to usbutils
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 c1c834a6 2013-11-14T11:58:21 Create and destroy a basic bxf read thread.
Con Kolivas 67c3826b 2013-11-14T10:37:23 Uniquely identify the BF1 and BXF bitfury devices.
Angus Gratton 278f157e 2013-11-10T09:12:39 Merge remote-tracking branch 'upstream/master' into new_protocol
Con Kolivas 2e11a504 2013-11-05T13:55:56 Remove now unused entries from struct cg_usb_device
Angus Gratton f066ca68 2013-11-05T10:19:11 Merge branch 'master' of github.com:ckolivas/cgminer into new_protocol Conflicts: configure.ac miner.h usbutils.c usbutils.h
Con Kolivas 8fb7a0d1 2013-11-04T08:45:09 Always use a usb read buffer instead of having to explicitly enable it.
Con Kolivas fc80e2fe 2013-11-03T20:31:04 Deprecate preferred packet size functions in usbutils since they're unhelpful.
Con Kolivas ccb74239 2013-11-03T09:23:45 Use an int for usb_read/write to identify overruns.
Con Kolivas 5c9f3036 2013-10-29T22:25:05 Merge branch 'master' into hashfast
Kano 5bd1b560 2013-10-28T07:41:15 usbutils - usb_nodev() allow a driver to drop a device
Angus Gratton f5c69237 2013-10-25T16:19:48 Merge branch 'master' of github.com:ckolivas/cgminer into new_protocol Conflicts: usbutils.c
Angus Gratton 13fd8e30 2013-10-25T14:52:44 Add configuration command
Con Kolivas f29f6121 2013-10-25T14:35:56 Merge branch 'master' into hashfast
Con Kolivas 0da551fa 2013-10-25T12:30:39 Use a linked list for all usb transfers instead of just cancellable ones.
Angus Gratton bbf8a00c 2013-10-25T10:50:03 Hashing with new protocol
Con Kolivas 2b998936 2013-10-25T04:13:32 Add a usb_read_ii_timeout_cancellable wrapper
Con Kolivas d2feacdf 2013-10-24T22:26:13 Cancel cancellable usb transfers on work restart messages.
Con Kolivas c96f0965 2013-10-24T21:54:35 Add wrappers for usb_read_cancellable and usb_read_timeout_cancellable
Con Kolivas 19ec360f 2013-10-24T21:45:41 Pass the cancellable option to _usb_read options to decide on whether to add usb transfers to the list of cancellable transfers.
Con Kolivas b639e688 2013-10-24T21:19:29 Merge branch 'master' into hashfast
Con Kolivas 81dfe60d 2013-10-24T20:41:55 Keep the libusb event handle polling thread active until there are no async usb transfers in progress.
Con Kolivas 5ee279ca 2013-10-21T13:30:17 Add atmel init sequence likely to be required on hashfast for windows to work.
Con Kolivas 1bafafb5 2013-10-21T11:05:38 Enable USB buffers for hashfast on initialise and clear buffers where appropriate.
Con Kolivas f5baf9f5 2013-10-18T19:12:13 Merge branch 'master' into hashfast Conflicts: usbutils.h
Con Kolivas 2bbe492f 2013-10-15T08:45:13 Merge with master
Con Kolivas 58dd80e4 2013-10-13T21:39:59 Implement a hashfast get_header function which reads till it finds a header preamble or times out.
Con Kolivas 4b9eb370 2013-10-13T20:28:57 Implement hashfast send header function and add relevant usb op codes to arrays, beginning reset sequence on hashfast detection.