Page 6 of 7
Re: ubuntu 16.04: nothing works!
Posted: Wed Jul 20, 2016 9:22 pm
by sdrplay
The author of SoapySDR got back to me, can you try the 0.4 build of SoapySDR/SoapySDRPlay just to rule that out...
cd SoapySDR && git checkout soapy-sdr-0.4.4
then build + install SoapySDR and relevant modules
Best regards,
SDRplay Support
Re: ubuntu 16.04: nothing works!
Posted: Thu Jul 21, 2016 6:57 am
by AH6DL
I had a long day at work and didn't have a chance to try SoapySDR v4, but I can report the results of the tests you mention match yours except that the mirsdrapi is in /usr/lib instead of /usr/local/lib. I also have the 32 bit version of libusb installed as part of my multilib configuration along with the 64 bit version.
Code: Select all
[dl@t520 ~]$ ls -l /usr/lib/libusb-1.0.so.0.1.0
-rwxr-xr-x 1 root root 101296 Oct 9 2015 /usr/lib/libusb-1.0.so.0.1.0
[dl@t520 ~]$ ldconfig -p | grep libusb
libusbmuxd.so.4 (libc6,x86-64) => /usr/lib/libusbmuxd.so.4
libusbmuxd.so (libc6,x86-64) => /usr/lib/libusbmuxd.so
libusb-1.0.so.0 (libc6,x86-64) => /usr/lib/libusb-1.0.so.0
libusb-1.0.so.0 (libc6) => /usr/lib32/libusb-1.0.so.0
libusb-1.0.so (libc6,x86-64) => /usr/lib/libusb-1.0.so
libusb-1.0.so (libc6) => /usr/lib32/libusb-1.0.so
libusb-0.1.so.4 (libc6,x86-64) => /usr/lib/libusb-0.1.so.4
[dl@t520 ~]$ ldconfig -p | grep mirsdrapi
libmirsdrapi-rsp.so.1.95 (libc6,x86-64) => /usr/lib/libmirsdrapi-rsp.so.1.95
libmirsdrapi-rsp.so (libc6,x86-64) => /usr/lib/libmirsdrapi-rsp.so
I hope to have time tomorrow night to recompile SoapySDR and see if the results are different. Note that everything works using a USB 3.0 port and USB 2.0 works with the gqrx, but not with dump1090_sdrplus and CubicSDR.
73...
. ...Doug, AH6DL
Re: ubuntu 16.04: nothing works!
Posted: Thu Jul 21, 2016 7:33 am
by IW2DHW
This is my last test before starting for my vacation.
Checked 0.4.4 version of SoapySDR
Removed any previous version, also build directory
Compiled and installed 0.4.4 version
Removed any previous version of SoapySDRPlay and SoapyRTLSDR, also build directory
Compiled and installed SoapySDRPlay, SoapyRTLSDR and CubicSDR
Now ldd show a 0.4.4 requirement for SoapySDR library for Cubic
SoapySDRUtil --info
show correct version
ShowSDRUtil --probe have same error (show 2 RTLSDR devices!)
After removing RTLSDR device CubucSDR and my test python program crash, as usual, Ubuntu 16.04
After my vacation I will install a fresh version of Ubuntu 16.04 (no upgrade) and test it
Regards
Franco Spinelli
IW2DHW
Re: ubuntu 16.04: nothing works!
Posted: Thu Jul 21, 2016 8:16 am
by sdrplay
Hi Doug,
I'm confused as to how the mirsdrapi stuff ended up in /usr/lib?
It's not in /usr/local/lib at all?
Do you have a /usr/local directory? Have you tried the export LD_LIBRARYPATH= /usr/lib or /usr/local/lib if you have libraries in there?
Best regards,
SDRplay Support
Re: ubuntu 16.04: nothing works!
Posted: Thu Jul 21, 2016 8:18 am
by sdrplay
Doug,
Could I get remote access to the machine (TeamViewer maybe?) - I'd just like to understand how your system differs.
If so, drop me an email at
software@sdrplay.com with the login details and an appropriate time.
Best regards,
SDRplay Support
Re: ubuntu 16.04: nothing works!
Posted: Fri Jul 22, 2016 1:40 am
by AH6DL
I had a chance to uninstall SoapySDR and CubicSDR and rebuilt both using the SoapySDR v0.4.4-gdb459f4f release. I also deleted and rebuild the SoapySDRPlay module.
Unfortunately, the behavior is the same as before. The messages are the same, although I did note that it printed "SDR enumerator done" , not "made" as I'd written down on the last crash test.
libusb is built from
http://downloads.sourceforge.net/libusb-1.0.20.tar.bz2
source file md5sum = 1d4eb194eaaa2bcfbba28102768c7dbf
Also, as before, everything works great using a USB 3.0 port.
73...
...Doug, AH6DL
Re: ubuntu 16.04: nothing works!
Posted: Sun Jul 24, 2016 6:14 am
by rtrn
ubuntu 16.04 and USB 2.0 64 bit
SDRPlay API 1.95.3
mir_sdr_SetTransferMode(mir_sdr_ISOCH) does not work, system crash
mir_sdr_SetTransferMode(mir_sdr_BULK) working
Regards
Re: ubuntu 16.04: nothing works!
Posted: Wed Jul 27, 2016 4:20 pm
by AH6DL
I can confirm adding:
mir_sdr_SetTransferMode(mir_sdr_BULK);
above all mir_sdr_Init statements in the source code stops the crash using USB 2.0.
For SoapySDRPlay I had to edit Registation.cpp and Streaming.cpp.
dump1090_sdrplus now works after modifying dump1090.c .
Glad to see we got this fixed!
73...
...Doug AH6DL
Re: ubuntu 16.04: nothing works!
Posted: Mon Aug 01, 2016 6:00 pm
by bilbolodz
Merge into source no github
Re: ubuntu 16.04: nothing works!
Posted: Mon Aug 01, 2016 6:01 pm
by bilbolodz
Proposed changes merged into source on github