[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] USB Issues

From: Michael Dickens
Subject: [Discuss-gnuradio] USB Issues
Date: Mon, 9 Jan 2006 21:48:47 -0500

The primary issues right now are that (1) both the USRP and my fusb_darwin codes copy LIBUSB internals to get the job done (mine is very dependent right now, but I'll reduce that with re-programming some things); and (2) some LIBUSB calls are made directly, while others are through the USRP's "fusb" implementation. My fusb_darwin code is much more efficient that libusb's already since it's darwin- specific (instead of an OS-blind wrapper into darwin code), but could be even more so if all the USB calls were routed through it (i.e. I would put all the USB code into FUSB, and not even use LIBUSB; a C++ class works -so- much better than LIBUSB's C code).

Thus, IMHO what needs to happen is to route -all- USB calls through FUSB, so that there is 1 place to deal with "everything USB". That won't immediately take care of the "internals" problem, but it would centralize all USB calls and issues into a few files, and make a cleaner USB interface for all platforms. Thoughts? - MLD

reply via email to

[Prev in Thread] Current Thread [Next in Thread]