linux getting started probs

General discussions
richard-g8jvm
Posts: 12
Joined: Fri Nov 16, 2018 9:40 pm

linux getting started probs

Post by richard-g8jvm » Fri Nov 16, 2018 10:03 pm

Hi
Read the topic on linux failure and went to
https://github.com/pothosware/SoapySDR/ ... structions
and built as the instruction
It builds and installs
but it cant find its libs
so did a make uninstall and use the cmake instauction to install in /usr
built and installed
but

Code: Select all

richard@richard-Inspiron-N5030:~$ SoapySDRUtil --info
SoapySDRUtil: error while loading shared libraries: libSoapySDR.so.0.7: cannot open shared object file: No such file or directory

ran ldconfig rebooted and
locate libsoapySDR.

Code: Select all

richard@richard-Inspiron-N5030:~$ locate libSoapySDR
/home/richard/SoapySDR/build/lib/libSoapySDR.so
/home/richard/SoapySDR/build/lib/libSoapySDR.so.0.7
/home/richard/SoapySDR/build/lib/libSoapySDR.so.0.7.1
/usr/lib/x86_64-linux-gnu/libSoapySDR.so.0.6
/usr/lib/x86_64-linux-gnu/libSoapySDR.so.0.6.1
/usr/lib64/libSoapySDR.so
/usr/lib64/libSoapySDR.so.0.7
/usr/lib64/libSoapySDR.so.0.7.1

So I copied the libs to /usr/lib/x86_64-linux-gnu/

Code: Select all

richard@richard-Inspiron-N5030:~$ sudo cp /usr/lib64/libSoapySDR.s*  /usr/lib/x86_64-linux-gnu/
richard@richard-Inspiron-N5030:~$ sudo updatedb
richard@richard-Inspiron-N5030:~$ locate libSoapySDR
/home/richard/SoapySDR/build/lib/libSoapySDR.so
/home/richard/SoapySDR/build/lib/libSoapySDR.so.0.7
/home/richard/SoapySDR/build/lib/libSoapySDR.so.0.7.1
/usr/lib/x86_64-linux-gnu/libSoapySDR.so
/usr/lib/x86_64-linux-gnu/libSoapySDR.so.0.6
/usr/lib/x86_64-linux-gnu/libSoapySDR.so.0.6.1
/usr/lib/x86_64-linux-gnu/libSoapySDR.so.0.7
/usr/lib/x86_64-linux-gnu/libSoapySDR.so.0.7.1
/usr/lib64/libSoapySDR.so
/usr/lib64/libSoapySDR.so.0.7
/usr/lib64/libSoapySDR.so.0.7.1
richard@richard-Inspiron-N5030:~$ SoapySDRUtil --info
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Lib Version: v0.7.1-g33be191d
API Version: v0.7.0
ABI Version: v0.7
Install root: /usr
Search path:  /usr/lib64/SoapySDR/modules0.7       (missing)
Search path:  /usr/local/lib64/SoapySDR/modules0.7 (missing)
No modules found!
Available factories... No factories found!
Available converters...
 -  CF32 -> [CF32, CS16, CS8, CU16, CU8]
 -  CS16 -> [CF32, CS16, CS8, CU16, CU8]
 -  CS32 -> [CS32]
 -   CS8 -> [CF32, CS16, CS8, CU16, CU8]
 -  CU16 -> [CF32, CS16, CS8]
 -   CU8 -> [CF32, CS16, CS8]
 -   F32 -> [F32, S16, S8, U16, U8]
 -   S16 -> [F32, S16, S8, U16, U8]
 -   S32 -> [S32]
 -    S8 -> [F32, S16, S8, U16, U8]
 -   U16 -> [F32, S16, S8]
 -    U8 -> [F32, S16, S8]
richard@richard-Inspiron-N5030:~$ sudo ldconfig
/sbin/ldconfig.real: /usr/lib/x86_64-linux-gnu/libSoapySDR.so.0.7 is not a symbolic link

richard@richard-Inspiron-N5030:~$ locate SoapySDR/modules0.7
richard@richard-Inspiron-N5030:~$ locate modules0.7
richard@richard-Inspiron-N5030:~$ 

AS I built soapysdr I would have expected to have built the modeules as well

OS is linux mint 19 x86_64 which is based on Ubuntu 18.04
Any idea what next ????
The API was loaded
Last edited by richard-g8jvm on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

richard-g8jvm
Posts: 12
Joined: Fri Nov 16, 2018 9:40 pm

Re: linux getting started probs

Post by richard-g8jvm » Sat Nov 17, 2018 4:12 pm

I'll reply to myself :(

I was hopng for some help. but alas nothing
I have looked through threads and even installed the bianaries for gqrx, but that doesn't recognise the RSP!A
Considering I had asked for recommendations of a SDR. there was the choice between the RTLSDR which works on everything
And the SDRPlay RSP1A, the latter was recommended and like an idiot I beleived them
There doesn't appear to be any linux support.
I'll give it a few more days then its try and get my money back from the dealer.
very disappointed
Last edited by richard-g8jvm on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

Tech_Support
Posts: 499
Joined: Mon Jun 01, 2015 7:00 pm

Re: linux getting started probs

Post by Tech_Support » Sat Nov 17, 2018 4:48 pm

Hello Richard,
This is a community forum. You may get help here, but your best approach is to open a support ticket at www.sdrplay.com/support

Sincerely

Tech_Support

Reason: No reason

richard-g8jvm
Posts: 12
Joined: Fri Nov 16, 2018 9:40 pm

Re: linux getting started probs

Post by richard-g8jvm » Sat Nov 17, 2018 4:55 pm

OK I'll do that, but at the moment don't hold out much hope
Last edited by richard-g8jvm on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

kk4nsf
Posts: 1
Joined: Sat Nov 17, 2018 6:39 pm

Re: linux getting started probs

Post by kk4nsf » Sat Nov 17, 2018 6:45 pm

OK I'll do that, but at the moment don't hold out much hope
Actually, I've run into the same problem.... and am very disappointed. I've posted a thread on QRZ in the SDR section. Maybe one of those users can help us. I too am very disappointed.
Last edited by kk4nsf on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

richard-g8jvm
Posts: 12
Joined: Fri Nov 16, 2018 9:40 pm

Re: linux getting started probs

Post by richard-g8jvm » Sun Nov 18, 2018 9:28 am

Hi
The support didn't seem very helpful,
like most they DID NOT read what was posted, just the first few lines.
I've got to the point where

Code: Select all

$ SoapySDRUtil --info
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Lib Version: v0.7.1-g33be191d
API Version: v0.7.0
ABI Version: v0.7
Install root: /usr
Search path:  /usr/lib64/SoapySDR/modules0.7                            (missing)
Search path:  /usr/local/lib64/SoapySDR/modules0.7
Module found: /usr/local/lib64/SoapySDR/modules0.7/libsdrPlaySupport.so (0.1.0-12c3db6)
Available factories... sdrplay
Available converters...
 -  CF32 -> [CF32, CS16, CS8, CU16, CU8]
 -  CS16 -> [CF32, CS16, CS8, CU16, CU8]
 -  CS32 -> [CS32]
 -   CS8 -> [CF32, CS16, CS8, CU16, CU8]
 -  CU16 -> [CF32, CS16, CS8]
 -   CU8 -> [CF32, CS16, CS8]
 -   F32 -> [F32, S16, S8, U16, U8]
 -   S16 -> [F32, S16, S8, U16, U8]
 -   S32 -> [S32]
 -    S8 -> [F32, S16, S8, U16, U8]
 -   U16 -> [F32, S16, S8]
 -    U8 -> [F32, S16, S8]

BUT

Code: Select all

$ SoapySDRUtil --find=sdrplay
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

No devices found!

What a a mess, This is what happens when windows programmers say its linux supported, .

to put it in american english ,"it sucks"
Last edited by richard-g8jvm on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

Tech_Support
Posts: 499
Joined: Mon Jun 01, 2015 7:00 pm

Re: linux getting started probs

Post by Tech_Support » Sun Nov 18, 2018 11:55 am

Richard,
I approved your post despite it appearing to be solely intended to embarrass the company and paint us in negative light. For the record, we don't censor posts unless they are spam, abusive or aggressive. You post was just the right side of the line where the latter was concerned.

I want to correct one point that you are making. The RSP drivers DO work on Linux and we have many users using RSPs with a Linux OS. It is just not currently working with your system.

You initially posted on this forum looking for help with Linux. If you read the banner at the top of the page, you will have seen that it clearly states that for support you should go to http://www.sdrplay.com/support

When after just one day, you didn't get a response from the community, you placed another post stating that the Linux drivers clearly don't work. I suggested that you should open up a support ticket and that if you did so, the company would try to help you resolve the problem. at 5:06pm on Saturday afternoon, you opened up a ticket. The person best positioned to help you is away this weekend, but at 6:39pm they posted an initial response from their hotel room. At 7:55pm you posted back stating that the problem was still not resolved. At this stage, we do not know whether you have a faulty device or a software problem, but as far as were understood it, this ticket is still in progress. When the person who has being trying to help you returns, we would be moving the ticket forward to try to resolve your problem in a systematic and methodical way.

You have a few options open:
You can try your unit on a Windows machine or a R-Pi to check the unit is definitely functional.
You can wait until Sunday night or Monday morning when we will continue to try to help you via the ticketing system.
Or finally, you can simply return your device from where you bought it for a refund.

Sincerely

Tech_Support

Reason: No reason

richard-g8jvm
Posts: 12
Joined: Fri Nov 16, 2018 9:40 pm

Re: linux getting started probs

Post by richard-g8jvm » Sun Nov 18, 2018 12:30 pm

Hi
Considering I am not the only person using linux having problems , its not isolated
I have checked the USB cable with my printer and that works fine.
I dont have any windows computers, I gave that up a few years after I stopped smoking, the effect of both are similar IMO
I dont have any RPI, a couple of ODROIDS, C1 And C2.
both have been reported on the forum as not working with SDRPLAY.
Strange the odroids primarily run Ubuntu , some on android
I've even been looking at other lists and found others with problems yet no solutions.
I'll have fun and games trying to get a refund as the unit was second user and "tested",
probably tested on windows, so I will have to go through the small claims courts to get a refund, and
Although I have only tried to use it this last few days
I have had it more that 14 days, just over, so I cant return it under the UK distance selling regulations.
So I'm stuck with what support I'm offered,
Last edited by richard-g8jvm on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

Tech_Support
Posts: 499
Joined: Mon Jun 01, 2015 7:00 pm

Re: linux getting started probs

Post by Tech_Support » Sun Nov 18, 2018 12:55 pm

Hello Richard,
If your unit is indeed second hand, then of course it is possible that it has been damaged or is faulty in some way. If you like, you can send your unit to us and we can check it our for you.

It is true that getting up and running on Linux can be tricky. That is because we provide:

1. A hardware driver
2. A hardware API

All other software currently comes from third parties and generally has to be built from source.

The fact that there is more than one user out there having problems doesn't 'prove' that it does not work. Indeed having a single user who has it working proves that it DOES work. We have this working on various Odroid platforms as well as x86 platforms running Linux. If you are a Facebook user, I suggest you join the independently controlled SDRplay FB group. A user called Rob Quinlan posted just 4 days ago that he had got CubicSDR up and running on Ubuntu with his RSP:
Ubuntu.JPG
Ubuntu.JPG (68.52 KiB) Viewed 20583 times
In the meantime, if you are prepared to wait until this evening or tomorrow morning, we will try to help you via the support ticketing system.

Sincerely

Tech_Support

Reason: No reason

fventuri
Posts: 37
Joined: Sun Dec 25, 2016 4:24 pm

Re: linux getting started probs

Post by fventuri » Sun Nov 18, 2018 2:51 pm

I read through your steps and it looks like you diidn't build/install Soapy SDR Play as described here: https://github.com/pothosware/SoapySDRPlay/wiki
I just went through all those steps (i.e. the ones for SoapySDR from here https://github.com/pothosware/SoapySDR/ ... structions plus the ones for Soapy SDR Play mentioned above) and the command 'SoapySDRUtil --probe="driver=sdrplay"' can see my RSP2:

Code: Select all

SoapySDRUtil --probe="driver=sdrplay"

######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Probe device driver=sdrplay
libusb: error [udev_hotplug_event] ignoring udev action unbind
libusb: error [udev_hotplug_event] ignoring udev action bind

----------------------------------------------------
-- Device identification
----------------------------------------------------
  driver=SDRplay
  hardware=**********
  mir_sdr_api_version=2.130000
  mir_sdr_hw_version=2

----------------------------------------------------
-- Peripheral summary
----------------------------------------------------
  Channels: 1 Rx, 0 Tx
  Timestamps: NO
  Other Settings:
     * RF Gain Select - RF Gain Select
       [key=rfgain_sel, default=4, type=string, options=(0, 1, 2, 3, 4, 5, 6, 7, 8)]
     * IF Mode - IF frequency in kHz
       [key=if_mode, default=Zero-IF, type=string, options=(Zero-IF, 450kHz, 1620kHz, 2048kHz)]
     * IQ Correction - IQ Correction Control
       [key=iqcorr_ctrl, default=true, type=bool]
     * AGC Setpoint - AGC Setpoint (dBfs)
       [key=agc_setpoint, default=-30, type=int, range=[-60, 0]]
     * ExtRef Enable - External Reference Control
       [key=extref_ctrl, default=true, type=bool]
     * BiasT Enable - BiasT Control
       [key=biasT_ctrl, default=true, type=bool]
     * RfNotch Enable - RF Notch Filter Control
       [key=rfnotch_ctrl, default=true, type=bool]

----------------------------------------------------
-- RX Channel 0
----------------------------------------------------
  Full-duplex: YES
  Supports AGC: YES
  Stream formats: CS16, CF32
  Native format: CS16 [full-scale=32767]
  Antennas: Antenna A, Antenna B, Hi-Z
  Corrections: DC removal
  Full gain range: [0, 47] dB
    IFGR gain range: [20, 59] dB
    RFGR gain range: [0, 8] dB
  Full freq range: [0.01, 2000] MHz
    RF freq range: [0.01, 2000] MHz
    CORR freq range:  MHz
  Sample rates: 0.25, 0.5, 1, 2, 2.048, 6, 7, 8, 9, 10 MSps
  Filter bandwidths: 0.2, 0.3, 0.6, 1.536, 5, 6, 7, 8 MHz
Hope this helps,
Franco

Reason: No reason

Post Reply