ubuntu 16.04: nothing works!

General discussions
sdrplay
Posts: 978
Joined: Wed Jan 07, 2015 7:58 am

Re: ubuntu 16.04: nothing works!

Post by sdrplay » Wed Jul 20, 2016 9:22 pm

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
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

AH6DL
Posts: 49
Joined: Sun Jun 14, 2015 7:24 am

Re: ubuntu 16.04: nothing works!

Post by AH6DL » Thu Jul 21, 2016 6:57 am

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
Last edited by AH6DL on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

IW2DHW
Posts: 59
Joined: Wed Sep 23, 2015 7:33 pm

Re: ubuntu 16.04: nothing works!

Post by IW2DHW » Thu Jul 21, 2016 7:33 am

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
Last edited by IW2DHW on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

sdrplay
Posts: 978
Joined: Wed Jan 07, 2015 7:58 am

Re: ubuntu 16.04: nothing works!

Post by sdrplay » Thu Jul 21, 2016 8:16 am

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
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

sdrplay
Posts: 978
Joined: Wed Jan 07, 2015 7:58 am

Re: ubuntu 16.04: nothing works!

Post by sdrplay » Thu Jul 21, 2016 8:18 am

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
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

AH6DL
Posts: 49
Joined: Sun Jun 14, 2015 7:24 am

Re: ubuntu 16.04: nothing works!

Post by AH6DL » Fri Jul 22, 2016 1:40 am

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
Last edited by AH6DL on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

rtrn
Posts: 1
Joined: Sun Jul 24, 2016 6:02 am
Location: Russia

Re: ubuntu 16.04: nothing works!

Post by rtrn » Sun Jul 24, 2016 6:14 am

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
Last edited by rtrn on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

AH6DL
Posts: 49
Joined: Sun Jun 14, 2015 7:24 am

Re: ubuntu 16.04: nothing works!

Post by AH6DL » Wed Jul 27, 2016 4:20 pm

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
Last edited by AH6DL on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

bilbolodz
Posts: 4
Joined: Wed May 11, 2016 9:17 pm

Re: ubuntu 16.04: nothing works!

Post by bilbolodz » Mon Aug 01, 2016 6:00 pm

Merge into source no github
Last edited by bilbolodz on Tue Aug 02, 2016 6:33 am, edited 1 time in total.

bilbolodz
Posts: 4
Joined: Wed May 11, 2016 9:17 pm

Re: ubuntu 16.04: nothing works!

Post by bilbolodz » Mon Aug 01, 2016 6:01 pm

Proposed changes merged into source on github
Last edited by bilbolodz on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

Post Reply