On 20/04/13(Sat) 13:08, Stuart Henderson wrote: > On 2013/04/20 11:24, Stuart Henderson wrote: > > ok so I have some hardware now. bulk transfers with asynchronous > > events don't work via libusb yet (mglocker has been looking at this) but > > when used in synchronous mode this is doing something which looks kind-of > > correct. > > > > I need to make some comparisons with non-OpenBSD machines to > > see if it it's really working though; I'm in a bit of a radio black > > hole and the crappy stock aerial I'm currently using don't make it > > easy to tell what's working and what isn't ;) > > > > attached tar.gz (to unpack in /usr/ports/mystuff/comms) has these 3 ports: > > > > py-rtlsdr - python library making librtlsdr functions available from python. > > includes a demo "waterfall" program (which requires newer py-matplotlib > > from openbsd-wip), dependency on matplotlib not enforced for this as it's > > mostly intended as a library. > > > > rtlsdr-scanner: scanner program making use of above library - > > this one does work with -current py-matplotlib. > > > > updated rtl-sdr port: for now, remove programs which can *only* use > > async mode. > > > so... given the limitations, this definitely works: > > http://junkpile.org/rtlscanner.png > > any OKs to import these? > > http://junkpile.org/rtl-sdr-ports.tgz
I've seen by looking at the code that there's a "-S" flag to use libusb in a synchronous fashion. Does it work better when you use this flag? If so, do you think it would make any sense to make it the default on OpenBSD and add a comment about our current status of asynchronous transfer submission? M.