Con Kolivas
|
6bc691adb2
Treat usb write timeout errors as unrecoverable.
|
12 years ago |
Con Kolivas
|
42b3cf19c4
Transfer errors are filtered out in usbutils now so no need to look for them in NODEV checks.
|
12 years ago |
Con Kolivas
|
e692cd087f
Do not double up with checking for end of timeout measurements in usb read/write.
|
12 years ago |
Con Kolivas
|
8f6acad8ec
Use no cancel transfer functions on windows in callback_wait
|
12 years ago |
Con Kolivas
|
f4cf0939a2
Add a wr_trylock wrapper for pthread rw lock write trylock.
|
12 years ago |
Con Kolivas
|
251e1a98cc
Give AMU a much longer timeout on windows than other icarus devices.
|
12 years ago |
Con Kolivas
|
8b38d7fec8
Use WRITEIOERR macro check for all usb writes.
|
12 years ago |
Con Kolivas
|
8fb7a0d1be
Always use a usb read buffer instead of having to explicitly enable it.
|
12 years ago |
Con Kolivas
|
310aa75460
Discriminate between libusb transfer errors and regular libusb errors and make sure to capture them all.
|
12 years ago |
Con Kolivas
|
d1683fe6b1
Always read a full sized transfer for bulk reads.
|
12 years ago |
Con Kolivas
|
fc80e2feb6
Deprecate preferred packet size functions in usbutils since they're unhelpful.
|
12 years ago |
Con Kolivas
|
ea12210032
Why are we reading extra again in usb read when buffering is enabled? Don't do that.
|
12 years ago |
Con Kolivas
|
38d9c24e56
Copy known transferred amount back to buffer for usb reads instead of requested length.
|
12 years ago |
Con Kolivas
|
b5dfb8f03e
Ignore preferred packet size.
|
12 years ago |
Con Kolivas
|
0cceaccf75
Treat timeout errors on usb writes as IO errors.
|
12 years ago |
Con Kolivas
|
dfba30b9f2
Ignore iManufacturer from bitfury devices to support bluefury as well as redfury.
|
12 years ago |
Con Kolivas
|
95797821b4
Add more debugging info for when usb details don't match.
|
12 years ago |
Con Kolivas
|
73f6a570f3
Look for timeout overruns in usb read/write.
|
12 years ago |
Con Kolivas
|
ccb742399f
Use an int for usb_read/write to identify overruns.
|
12 years ago |
Con Kolivas
|
1f22746243
Use the callback timeout as a safety mechanism only on windows.
|
12 years ago |
Con Kolivas
|
4c0b643864
Instead of using complicated sleeps to emulate characters per second on usb writes, submit only as many characters as can be transferred per usb poll of 1ms, and use timeouts in bulk transfers, cancelling transfers only as a failsafe.
|
12 years ago |
Con Kolivas
|
5c9f30369a
Merge branch 'master' into hashfast
|
12 years ago |
Kano
|
5bd1b560ac
usbutils - usb_nodev() allow a driver to drop a device
|
12 years ago |
Con Kolivas
|
a821df6a27
Correctly calculate sleep_estimate in usbutils that may have been preventing usecps from working.
|
12 years ago |
Con Kolivas
|
4940b7198e
Merge branch 'master' into hashfast
|
12 years ago |
Con Kolivas
|
691a681f7e
Remove inappropriate extra locking in _usb_transfer_read
|
12 years ago |
Con Kolivas
|
f29f612182
Merge branch 'master' into hashfast
|
12 years ago |
Con Kolivas
|
0657b64e38
Only set libusb cancellable status if the transfer succeeds.
|
12 years ago |
Con Kolivas
|
0da551fac1
Use a linked list for all usb transfers instead of just cancellable ones.
|
12 years ago |
Con Kolivas
|
7b5884caa5
Add cancellable transfers correctly to the ct_list
|
12 years ago |