usbutils.c


Log

Author Commit Date CI Message
Con Kolivas eec1a86a 2013-05-30T22:53:07 Update copyrights of modified files.
Con Kolivas 56a20e01 2013-05-30T16:47:09 Make usb_ftdi_cts use the _usb_transfer_read function.
Kano 74d7f556 2013-05-30T16:00:41 usbutils automatically track IO errors
Kano 3f4b717a 2013-05-30T15:44:33 usbutils allow a short wait for resources to be released
Kano 5869539e 2013-05-30T15:02:52 correct semaphore timeout comment
Con Kolivas cc04d3ab 2013-05-30T11:01:29 Use a counting semaphore to signal the usb resource thread that it has work to do.
ckolivas 641883a5 2013-05-29T16:35:34 Check for no usb device in usb_ftdi_cts
ckolivas f3093803 2013-05-29T16:29:49 Check for valid usbdev in _usb_read in case the device has been unplugged.
Con Kolivas fa059b3c 2013-05-29T00:39:16 usb_transfer_read should also not play with the endianness.
Con Kolivas 0177b410 2013-05-29T00:33:56 Use the USB wrappers for avalon, telling usbutils that we want the raw data.
Con Kolivas 876e7e58 2013-05-29T00:01:54 Merge branch 'icarus-dev' into usbdev Conflicts: usbutils.h
Con Kolivas 772b354e 2013-05-28T23:59:07 Remove unneeded function and checks in avalon write code.
Kano 05cbbd99 2013-05-28T23:56:30 CMR handle baud options
Kano df8566a7 2013-05-28T22:44:03 usb/ica add more (incomplete) CMR settings
Con Kolivas adb2ea67 2013-05-28T20:50:53 libusb_control_transfer are meant to be endian specific, but host endianness so no conversion is needed.
Kano 6041be61 2013-05-28T17:07:49 Reuse old MTX Handle
Kano 5b7e435f 2013-05-28T10:46:48 usbutils check all memory allocation
Kano 2f94ec80 2013-05-27T23:30:18 usb separate thread for resource locking and modified windows locking code
Con Kolivas a32e521d 2013-05-27T17:17:42 Implement avalon_ready and avalon_wait_ready functions for when usb is ready to receive commands.
Con Kolivas 269a8de9 2013-05-27T15:43:22 First pass rewriting serialdev into direct usb dev for avalon driver.
Con Kolivas 8fea60f3 2013-05-27T15:01:13 Define a cts equivalent for direct usb and use it for avalon driver full.
Kano 6c952105 2013-05-26T10:49:42 usbutils ensure it compiles without stats
Kano aa9bf2cb 2013-05-26T10:33:47 usbutils include transfer mode in usbstats
Kano b1b93054 2013-05-26T08:34:06 usbutils handle bulk_transfer partial writes
Kano ab080fa6 2013-05-23T15:50:07 usbutils make all windows timeouts 999ms
Kano 2baa5b9c 2013-05-23T11:45:12 usb add another Cairnsmore1 USB chip
Kano 511bbb05 2013-05-22T23:49:08 CMR usb config guess
Kano 87d994b6 2013-05-22T23:22:00 usb add transfer_read and commented out in icarus
Kano 6a0b48a6 2013-05-20T22:37:52 usbutils allow unrounded control transfers
Kano 0c3f00c5 2013-05-20T21:58:04 icarus ICA initialisation
Kano 56a96b41 2013-05-20T00:48:15 icarus AMU config transfers
Kano e43f265a 2013-05-19T19:09:13 usbutils name latency correctly
Con Kolivas 546be35c 2013-05-18T13:16:17 Merge branch 'icarus-dev' of github.com:ckolivas/cgminer into icarus-dev
Kano 5e588d87 2013-05-18T01:56:00 icarus test nodev everywhere
Kano 250e4353 2013-05-18T01:39:56 usbutils/icarus separate FTDI transfer values and more debug
Kano 8f4547da 2013-05-17T22:05:53 usbutils add rest of icarus
Con Kolivas 22e677f4 2013-05-17T21:25:38 Merge branch 'icarus-dev' of github.com:ckolivas/cgminer into icarus-dev
Con Kolivas e128f90e 2013-05-17T21:13:36 Merge branch 'master' of github.com:ckolivas/cgminer
Kano 05a385cc 2013-05-17T13:49:41 usbutils new command for icarus
Kano e89c921a 2013-05-16T22:16:15 usb add a numeric sub-indentity for each name
Kano 2631b55e 2013-05-16T21:38:55 usbutils - make FTDI handling automatic
Kano 92e5ee9d 2013-05-16T19:41:53 fix duplicate name
Kano 2a0b712e 2013-05-16T19:39:40 usbutils set Black Arrow Lancelot's as BAL and match the lot->llt name
Kano 28f4fc64 2013-05-16T19:33:30 usbutils identify Icarus devices
Con Kolivas 0a15beb7 2013-05-16T12:38:48 libusb_control_transfer 16 bit words are endian specific.
Kano 6493554a 2013-05-15T17:39:25 usb_applog separate amt display
Kano 05dd48ac 2013-05-05T22:04:46 usbutils/mmq fixed size usb_read default to wait for all data
Kano f518f336 2013-05-05T14:06:02 usbutils optional (disabled by default) dev debug
Con Kolivas 8e117050 2013-05-04T20:19:46 Avalon usb interface should be 0.
Con Kolivas 4a39f039 2013-05-04T16:42:58 Add more debug for failure to USB init.
Kano 56a45778 2013-05-02T23:02:35 usbutils correct applog typing
Kano d3d90e65 2013-04-29T00:24:46 usbutils remove_in_use break
Kano bfdbec1d 2013-04-29T00:11:12 usbutils remove_in_use yet again
Kano d436beb7 2013-04-29T00:04:35 usbutils remove_in_use missing prev
Kano 2ae4840c 2013-04-28T23:11:41 usbutils missing add_in_use
Kano 2c97b8b8 2013-04-28T19:00:25 usb_init() allow it to ignore a device and show no message
Kano 95f467b2 2013-04-28T17:47:28 usbutils don't even attempt to detect a device we already have
Kano a436ede6 2013-04-28T13:28:52 usbutils correct BFL name
Kano ebfa56db 2013-04-28T12:49:32 usbutils allow device selection to specify expected Manufacturer/Product strings
Kano bd4d04b2 2013-04-27T00:07:42 bflsc add volt stats
Con Kolivas 3ab81ee6 2013-04-21T19:14:52 Use cgtime in usbutils.c
Kano b7b5b9de 2013-04-07T07:46:45 usbutils more stats for bflsc
Kano 8dd1ed24 2013-03-31T21:58:48 usbutils extra message requirements
Kano cef96ddb 2013-03-30T01:21:02 usbutils.c usb_cmdname() usb_cmds -> string name
Kano e88652bc 2013-03-29T21:33:57 BFL FPGA Windows timeout set to 999ms
Kano 956d4440 2013-03-21T15:25:10 avalon usbutils requirements
Kano e07d21be 2013-03-17T15:28:24 usbutils use it's own internal read buffer
Kano b29828e8 2013-03-16T21:54:34 usbutils allow read termination match to be a string
Kano c63ae9d9 2013-03-16T16:02:43 usbutils spelling :)
Kano 2ce62f3d 2013-03-15T15:47:50 add a dummy ztex to usbutils so cgminer -n lists ztex also
Kano a6f17cbf 2013-03-15T02:19:42 USB device list - convert some common error numbers to messages
Kano 26341bbf 2013-03-15T00:30:48 USB -n 'known' text only without ---usb-list-all
Kano b21747b9 2013-03-15T00:02:17 USB modify -n and --usb-dump to only show known devices or use new --usb-list-all option to see all
Kano 154e4f4b 2013-03-13T11:04:05 usbutils allow call of usb_all() from other code
Kano 6acda937 2013-03-11T11:27:35 --usb-dump display brief dump if value = 0
Kano 3f50e878 2013-03-11T10:58:28 USB add --usb options to limit USB device selection v0.1
Kano 30e7040f 2013-03-09T13:56:52 usb_cleanup() without locking
Kano 540f3e89 2013-03-07T00:00:31 Setup BFLSC support
Kano cb49f3cb 2013-03-06T00:24:02 usbutils.c copy full size to 'Last Command'
Kano f1ab8ea9 2013-03-04T21:18:42 Release MMQ device only once (not 4 times)
Kano aed1e516 2013-03-04T10:16:44 usb_cleanup() use correct locking mechanism
Kano e35e8ae1 2013-03-04T09:45:07 Implement and use usb_cleanup() on shutdown or restart
Kano b9c19a93 2013-02-08T02:17:28 remove empty #ifdef
Kano bc575523 2013-02-08T02:12:09 call a separate get_devices() with locking, as required
Kano 1c69417d 2013-02-03T14:02:31 usbutils - avoid free cgusb twice
Kano 983fe2b0 2013-02-02T09:51:47 usbutils hotplug v0.1
Kano 7abf30b2 2013-02-03T22:51:05 distinguish between drv and it's id enum now called drv_id
Kano 05157e08 2013-01-26T21:49:20 USB in linux use the expected kernel config to check and detach - and set the configuration in linux also
Kano 128e3270 2013-01-24T02:39:37 USB system wide device locking on windows
Kano 16fa0900 2013-01-23T22:39:26 usbutils stats_initialised not set
Kano 028da16b 2013-01-23T22:13:42 usbutils free found if not used
Kano 82973040 2013-01-23T20:41:29 USB device locking NOOP for windows (for now)
Kano cb3e3ebf 2013-01-23T20:37:28 USB system wide device locking on linux
Kano 59c73ae5 2013-01-23T15:56:42 USB usb_init() consistent err/warning/debug messages
Kano a59b0c03 2013-01-23T12:42:33 usbutils.c use correct config from found (not 0)
Kano 7fbc3770 2013-01-22T21:46:21 USB move usbdev info that needs to stay around into usbinfo
Kano baf3aca8 2013-01-17T19:21:40 usbutils.c release_cgpu() sets nodev
Kano ea807cf0 2013-01-14T11:44:31 USB BFL transfer is only 64 bytes in a USB1.1 socket
Kano 34bcc1c6 2013-01-14T11:30:11 USB automatically handle losing the device and report nodev in the API
Kano f9e04a3c 2013-01-06T21:00:38 device_drv - allow .name to be changed before add_cgpu()