aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/libusb1_base.cpp
Commit message (Collapse)AuthorAgeFilesLines
* BUG #183: B200 High CPU Usage: Created a single thread to handle libusb ↵Michael West2013-11-081-0/+19
| | | | events and expanded packet size to 16k
* usb: added logging capability w/ env varJosh Blum2013-07-191-0/+10
|
* usb: added timeout param and additional queriesJosh Blum2013-07-151-5/+18
|
* usb: improve messages/logging for when the usb open failsJosh Blum2011-10-241-1/+15
|
* uhd: some tweaks to fix msvc warningsJosh Blum2011-07-081-1/+1
|
* uhd: replaced instanced of std::exception with the uhd exceptionsJosh Blum2011-02-241-4/+4
|
* uhd: renamed the assert header to assert hasJosh Blum2011-02-241-1/+1
| | | | | | | | only the assert has implementation is in this header uhd assert throw moved to the exception header updated code base includes to match
* usb: moved event handler thread into the zero copy interfaceJosh Blum2010-10-051-18/+0
|
* usb: catch open errors and print message, device: catch exceptions at ↵Josh Blum2010-10-011-5/+11
| | | | discovery time
* usb: set rt thread priority for the libusb event loopJosh Blum2010-09-301-0/+3
|
* usb: zero copy work, multiple endpoints with single context, async ioJosh Blum2010-09-261-0/+16
| | | | | | | | | Heavy work on the zero copy interface and endpoint wrappers to properly use the async io. The global libusb session starts a thread to run the event handler, the async callbacks push completed transfers onto a thread-safe bounded buffer. The managed buffer creation routines use the bounded buffer to efficiently pop off completed transfers. works on linux, throws a weird exception on cleanup
* usb: work on libusb code to use a single context across all callsJosh Blum2010-09-251-77/+212
| | | | | | | | libusb allocation stuff had been moved inside of smart pointer classes to handle automatic cleanup the public device handle implementation now holds an actual libusb device inside of it needs testing - all platforms
* usb: tweaks to usb code to cleanup properly and/or in error conditionsJosh Blum2010-09-241-10/+7
|
* usrp1: fixes to remove warnings and errors for usrp1 + libusb windowsJosh Blum2010-09-231-1/+1
|
* EEPROM burning in UHD. Changed some USB device handle stuff. Added ↵Nick Foster2010-08-311-44/+8
| | | | usrp_init_eeprom.cpp. Hacked up the firmware makefile to behave and to generate .bin EEPROM images instead of IHX.
* usrp1: Additional comments on libusb transport implemenationThomas Tsou2010-08-281-0/+12
|
* usrp1: Cleanup libusb device handlingThomas Tsou2010-08-271-9/+41
| | | | | | | | This patch limits all libusb device enumeration operations to FSF (Vendor ID = 0xfffe) devices, which removes a lot of unncessary libusb output when debug mode is enabled. The reference counts held by the libusb device list are also reduced, which prevents holding references to unused devices.
* usrp1: Modifiy USB transport implementations to use new interfaceThomas Tsou2010-08-261-0/+118
Common libusb1 code is consolidated in the libusb base file.