|
01855a60
|
2013-08-21T00:06:05
|
|
usbutils add cps stats estimates
|
|
deb7be72
|
2013-08-20T21:07:38
|
|
Use the reentrant cgsleep functions for usecps in usbutils.
|
|
eeac9d81
|
2013-08-20T19:23:49
|
|
Replace all references to the old n*sleep functions with the equivalent cgsleep_*s replacements.
|
|
f7e67010
|
2013-08-10T01:11:23
|
|
Fix uninit variable warnings.
|
|
ac08ed1d
|
2013-08-10T01:05:50
|
|
usbutils - force check every combination
|
|
b0f4d55b
|
2013-07-29T21:39:29
|
|
changes to Avalon driver for BitBurner boards
|
|
759ce6e7
|
2013-07-20T13:20:24
|
|
usb timeouts - min/max also
|
|
2dffc96e
|
2013-07-20T12:56:57
|
|
log USB timeouts in API stats
|
|
52cda25f
|
2013-07-20T10:24:29
|
|
usbutils report failed timeouts
|
|
66001267
|
2013-07-20T07:04:31
|
|
usbutils ensure stats macros are using the macro arguments
|
|
4cb7cfb2
|
2013-07-18T09:59:10
|
|
usbutils use a heap buffer for bulk read rather than stack
|
|
8b43e79f
|
2013-07-18T09:39:23
|
|
usbutils only one bulk transfer call per stat
|
|
948f0057
|
2013-07-16T15:51:17
|
|
usbutils - in init only change the config if needed
|
|
51a928fe
|
2013-07-06T20:56:50
|
|
usbutils - size check all sprintf
|
|
2beb30f1
|
2013-06-28T22:55:55
|
|
bflsc get volts stats needs its own GETVOLTS
|
|
9ecef180
|
2013-06-26T12:53:05
|
|
usbutils/icarus include more locking to usbdev access
|
|
1f4b99d0
|
2013-06-26T01:12:01
|
|
usbutils cps correct time measurement
|
|
fc89f170
|
2013-06-25T22:23:06
|
|
usbutils add delay API stats
|
|
527c6ee2
|
2013-06-25T21:35:21
|
|
usbutils optional cps IO control - but not enabled
|
|
15dc64a6
|
2013-06-25T11:51:39
|
|
usbutils - incorrect test for * in bus:dev
|
|
700f4b45
|
2013-06-23T10:39:17
|
|
Ignore iManufacturer for BFLSC devices since the device name will still match and some unbinned chips are missing it.
|
|
45fda135
|
2013-06-21T18:57:32
|
|
undo icarus show errno, put it as debug in ubsutils
|
|
abdf7510
|
2013-06-21T17:36:20
|
|
Reinstate the maxPacketSize determined by the end descriptor but allow the driver to override it.
|
|
f4508b6a
|
2013-06-20T23:57:58
|
|
Temporarily limit usb transfer sizes to 512 till we provide a way for each driver to choose the upper limit.
|
|
f4d74116
|
2013-06-19T13:18:15
|
|
Limit USB transfers to the max size reported by the descriptors.
|
|
a81749bb
|
2013-06-19T12:15:51
|
|
Increase the BFLSC timeout to allow the maximum number of results to be returned for BAS in time.
|
|
410fba7e
|
2013-06-17T22:20:27
|
|
usbutils initialise close key/sem
|
|
87cdfae8
|
2013-06-17T22:06:31
|
|
usbutils cleanup linux semaphores on release
|
|
9a9613b6
|
2013-06-17T11:30:04
|
|
We should be setting cancelstate, not canceltype when disabling it for usb locking.
|
|
2eb6d357
|
2013-06-17T10:30:00
|
|
Pthread cancel state should be set to disable on usb DEVLOCK.
|
|
d2cb4129
|
2013-06-16T21:58:01
|
|
record and report USB pipe errors via API stats
|
|
362687f6
|
2013-06-16T19:08:10
|
|
Pipe error is quite common on usb3 so drop logging to verbose level only.
|
|
a5154abe
|
2013-06-16T14:29:45
|
|
usbutils - DEVLOCK other usbdev access
|
|
148e3d64
|
2013-06-15T23:38:49
|
|
applog usb device list can be > LOGBUFSIZ
|
|
6ca0eaa9
|
2013-06-15T23:08:40
|
|
fix windows log warnings
|
|
7eba9634
|
2013-06-15T22:03:56
|
|
remove varargs from logging/quit/in general as much as possible
|
|
cd9ff7f6
|
2013-06-15T01:28:00
|
|
Only display as many device rows as the maximum live existed at any time.
|
|
7ad9132b
|
2013-06-15T01:02:27
|
|
usb lock out use cg locks
|
|
ad30d41f
|
2013-06-14T23:48:03
|
|
usb lock out transfers during open/close
|
|
55971150
|
2013-06-14T23:11:09
|
|
Add error message to libusb pipe error
|
|
29f5fc48
|
2013-06-14T22:48:18
|
|
Differentiate libusb control transfer pipe errors from transfer errors since they're not fatal.
|
|
c7360dbe
|
2013-06-14T22:45:43
|
|
Create a usb_bulk_transfer wrapper for libusb_bulk_transfer to cope with pipe errors.
|
|
84ffcbc5
|
2013-06-14T01:09:50
|
|
Use mining start time for device MH/U calculations
|
|
827a6ab7
|
2013-06-13T14:22:39
|
|
Unlock usb dev lock in the same place in usbutils.
|
|
291df91c
|
2013-06-13T12:18:02
|
|
Tidy up DEVLOCK/UNLOCK to have consistent use of the pstate variable without needing brace level match.
|
|
91034145
|
2013-06-12T17:03:48
|
|
usbutils avoid leaving devlock locked when thread cancelled
|
|
92fee702
|
2013-06-10T21:40:21
|
|
MMQ fix nodev failure caused by changes
|
|
7d35c692
|
2013-06-10T18:52:18
|
|
ubsutils lock all access to nodev and cgusb
|
|
b8b137ae
|
2013-06-10T15:59:02
|
|
USB make device_path handled by usbutils
|
|
9287ee90
|
2013-06-10T15:22:37
|
|
USB control creation and free of cgpu
|
|
630e7d76
|
2013-06-09T21:33:20
|
|
Set BFLSC fan speed coarsely to keep it under 60 or auto as per specs saying it tries to stay below 60.
|
|
7f1ce190
|
2013-06-09T17:22:23
|
|
Move macro definition to bflsc driver
|
|
641545aa
|
2013-06-09T17:19:20
|
|
Use a longer timeout for retrieving bflsc details.
|
|
9133c468
|
2013-06-07T08:42:40
|
|
Set usbdev in usbutils after checking for nodev to avoid trying to access a dereferenced value.
|
|
8478ee44
|
2013-06-07T07:02:55
|
|
AMU usbstatus correct name from enable UART
|
|
8ec78c28
|
2013-06-07T00:38:48
|
|
Only libusb close if libusb release succeeds.
|
|
e186c5cf
|
2013-06-07T00:38:10
|
|
Revert "Protect all usb writes reads and unplugs with a mutex lock and check libusb release has succeeded before proceeding with a libusb close."
This reverts commit beb5f8889de4f5491c831a4bd8824b9c514dbafc.
|
|
beb5f888
|
2013-06-07T00:25:49
|
|
Protect all usb writes reads and unplugs with a mutex lock and check libusb release has succeeded before proceeding with a libusb close.
|
|
b59c3380
|
2013-06-06T13:08:00
|
|
Implement cgminer specific cgsem semaphores to imitate unnamed semaphore behaviour on osx which does not support them.
|
|
62585778
|
2013-06-05T21:27:57
|
|
Set cgusb->buffer to NULL when doing usb_buffer_disable.
|
|
58bb4d48
|
2013-06-05T01:44:50
|
|
usb_ftdi_set_latency LOG_ERRs if called incorrectly
|
|
f366d53f
|
2013-06-05T01:37:16
|
|
add usb_ftdi_set_latency
|
|
4368a04f
|
2013-06-05T01:07:16
|
|
usbutils optional read buffering
|
|
4d749ff4
|
2013-06-04T13:43:23
|
|
restore max code - since timeout is unsigned
|
|
cab2dd92
|
2013-06-04T13:30:05
|
|
compile warning - remove unused max
|
|
1c64f3b6
|
2013-06-04T13:17:57
|
|
usb set FTDI latency higher to minimise status bytes
|
|
8ecf9299
|
2013-06-04T00:08:59
|
|
Check for zero timeout on _usb_write.
|
|
28871474
|
2013-06-03T23:55:55
|
|
Check for zero timeout in usb read.
|
|
27628cdd
|
2013-06-03T23:38:54
|
|
Define a minimum polling time based on frequency of mandatory updates of ftdi responses at 40ms.
|
|
97a92b26
|
2013-06-03T23:33:31
|
|
Sleep right up to the timeout instead of the first half if we find ourselves polling in _usb_read
|
|
3d631b7c
|
2013-06-03T23:15:59
|
|
Enforce half timeout sized sleeps in usb_read if we find the device is not respecting libusb timeouts to avoid polling frequently.
|
|
8c136611
|
2013-06-01T07:53:29
|
|
usbutils semun use proper def for linux which fixes OSX also
|
|
eec1a86a
|
2013-05-30T22:53:07
|
|
Update copyrights of modified files.
|
|
56a20e01
|
2013-05-30T16:47:09
|
|
Make usb_ftdi_cts use the _usb_transfer_read function.
|
|
74d7f556
|
2013-05-30T16:00:41
|
|
usbutils automatically track IO errors
|
|
3f4b717a
|
2013-05-30T15:44:33
|
|
usbutils allow a short wait for resources to be released
|
|
5869539e
|
2013-05-30T15:02:52
|
|
correct semaphore timeout comment
|
|
cc04d3ab
|
2013-05-30T11:01:29
|
|
Use a counting semaphore to signal the usb resource thread that it has work to do.
|
|
641883a5
|
2013-05-29T16:35:34
|
|
Check for no usb device in usb_ftdi_cts
|
|
f3093803
|
2013-05-29T16:29:49
|
|
Check for valid usbdev in _usb_read in case the device has been unplugged.
|
|
fa059b3c
|
2013-05-29T00:39:16
|
|
usb_transfer_read should also not play with the endianness.
|
|
0177b410
|
2013-05-29T00:33:56
|
|
Use the USB wrappers for avalon, telling usbutils that we want the raw data.
|
|
876e7e58
|
2013-05-29T00:01:54
|
|
Merge branch 'icarus-dev' into usbdev
Conflicts:
usbutils.h
|
|
772b354e
|
2013-05-28T23:59:07
|
|
Remove unneeded function and checks in avalon write code.
|
|
05cbbd99
|
2013-05-28T23:56:30
|
|
CMR handle baud options
|
|
df8566a7
|
2013-05-28T22:44:03
|
|
usb/ica add more (incomplete) CMR settings
|
|
adb2ea67
|
2013-05-28T20:50:53
|
|
libusb_control_transfer are meant to be endian specific, but host endianness so no conversion is needed.
|
|
6041be61
|
2013-05-28T17:07:49
|
|
Reuse old MTX Handle
|
|
5b7e435f
|
2013-05-28T10:46:48
|
|
usbutils check all memory allocation
|
|
2f94ec80
|
2013-05-27T23:30:18
|
|
usb separate thread for resource locking and modified windows locking code
|
|
a32e521d
|
2013-05-27T17:17:42
|
|
Implement avalon_ready and avalon_wait_ready functions for when usb is ready to receive commands.
|
|
269a8de9
|
2013-05-27T15:43:22
|
|
First pass rewriting serialdev into direct usb dev for avalon driver.
|
|
8fea60f3
|
2013-05-27T15:01:13
|
|
Define a cts equivalent for direct usb and use it for avalon driver full.
|
|
6c952105
|
2013-05-26T10:49:42
|
|
usbutils ensure it compiles without stats
|
|
aa9bf2cb
|
2013-05-26T10:33:47
|
|
usbutils include transfer mode in usbstats
|
|
b1b93054
|
2013-05-26T08:34:06
|
|
usbutils handle bulk_transfer partial writes
|
|
ab080fa6
|
2013-05-23T15:50:07
|
|
usbutils make all windows timeouts 999ms
|
|
2baa5b9c
|
2013-05-23T11:45:12
|
|
usb add another Cairnsmore1 USB chip
|
|
511bbb05
|
2013-05-22T23:49:08
|
|
CMR usb config guess
|
|
87d994b6
|
2013-05-22T23:22:00
|
|
usb add transfer_read and commented out in icarus
|