Linux installation - help needed

General discussions
martinpd
Posts: 11
Joined: Mon Feb 05, 2018 2:20 pm

Re: Linux installation - help needed

Post by martinpd » Sat Oct 27, 2018 1:46 am

Thank you for hanging in there with me. We’re making progress. My Rsp1a now shows up with the LSU’s command. I’ve installed SoapySDR and CubicSDR per instructions and everything seemed to go well, HOWEVER, When I run CubicSDR the Rsp1a doesn’t show up in devices. Is there a command line instruction I should be entering instead of just double clicking the CubicSDR icon?

Reason: No reason

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

Re: Linux installation - help needed

Post by sdrplay » Sat Oct 27, 2018 6:55 am

As well as SoapySDR and CubicSDR, you will also need SoapySDRPlay (https://github.com/pothosware/SoapySDRPlay) - this is what handles the communication between SoapySDR and the RSP

Once you have the SoapySDRPlay library built and installed, you should be able to use...

SoapySDRUtil --find=sdrplay

and

SoapySDRUtil --probe=sdrplay

and see details of the RSP you have connected. If you get that far, then you should also see the device in CubicSDR

Best regards,

SDRplay Support

Reason: No reason

martinpd
Posts: 11
Joined: Mon Feb 05, 2018 2:20 pm

Re: Linux installation - help needed

Post by martinpd » Sat Oct 27, 2018 1:28 pm

Yes, SoapySDRPlay is installed. I followed the Non Windows Workflow doc. Here is what I get:

paul@hp17:~/Dev/SoapySDRPlay$ SoapySDRUtil -info
######################################################
## Soapy SDR -- the SDR abstraction library ##
######################################################

Lib Version: v0.7.0-g6d21756e
API Version: v0.7.0
ABI Version: v0.7
Install root: /usr/local
Search path: /usr/local/lib/SoapySDR/modules0.7
Module found: /usr/local/lib/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]
paul@hp17:~/Dev/SoapySDRPlay$ SoapySDRUtil --probe-sdrplay
SoapySDRUtil: unrecognized option '--probe-sdrplay'
######################################################
## Soapy SDR -- the SDR abstraction library ##
######################################################

Usage SoapySDRUtil [options]
Options summary:
--help Print this help message
--info Print module information
--find[="driver=foo,type=bar"] Discover available devices
--make[="driver=foo,type=bar"] Create a device instance
--probe[="driver=foo,type=bar"] Print detailed information

Advanced options:
--check[=driverName] Check if driver is present
--sparse Simplified output for --find

Rate testing options:
--args[="driver=foo"] Arguments for testing
--rate[=stream rate Sps] Rate in samples per second
--channels[="0, 1, 2"] List of channels, default 0
--direction[=RX or TX] Specify the channel direction

paul@hp17:~/Dev/SoapySDRPlay$

I still don't see the RSP1a in devices.

Reason: No reason

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

Re: Linux installation - help needed

Post by sdrplay » Sat Oct 27, 2018 3:15 pm

--find=sdrplay

and

--probe=sdrplay

must be = between the option and the value

Best regards,

SDRplay Support

Reason: No reason

martinpd
Posts: 11
Joined: Mon Feb 05, 2018 2:20 pm

Re: Linux installation - help needed

Post by martinpd » Sat Oct 27, 2018 3:27 pm

paul@hp17:~/Dev/SoapySDRPlay$ SoapySDRUtil --find=sdrplay
######################################################
## Soapy SDR -- the SDR abstraction library ##
######################################################

Found device 0
driver = sdrplay
label = SDRplay Dev0 RSP1A 1803017F94


paul@hp17:~/Dev/SoapySDRPlay$
paul@hp17:~/Dev/SoapySDRPlay$ SoapySDRUtil --probe=sdrplay
######################################################
## Soapy SDR -- the SDR abstraction library ##
######################################################

Probe device sdrplay

----------------------------------------------------
-- Device identification
----------------------------------------------------
driver=SDRplay
hardware=1803017F94
mir_sdr_api_version=2.130000
mir_sdr_hw_version=255

----------------------------------------------------
-- 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, 9)]
* 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]]
* BiasT Enable - BiasT Control
[key=biasT_ctrl, default=true, type=bool]
* RfNotch Enable - RF Notch Filter Control
[key=rfnotch_ctrl, default=true, type=bool]
* DabNotch Enable - DAB Notch Filter Control
[key=dabnotch_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: RX
Corrections: DC removal
Full gain range: [0, 48] dB
IFGR gain range: [20, 59] dB
RFGR gain range: [0, 9] 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


paul@hp17:~/Dev/SoapySDRPlay$

Reason: No reason

martinpd
Posts: 11
Joined: Mon Feb 05, 2018 2:20 pm

Re: Linux installation - help needed

Post by martinpd » Sat Oct 27, 2018 3:54 pm

How should I open CubicSDR so it will find my device?

Reason: No reason

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

Re: Linux installation - help needed

Post by sdrplay » Sat Oct 27, 2018 4:41 pm

This shows everything working fine.

As long as CubicSDR is using this version of SoapySDR then you should see the RSP in the device selection. You should be able to type CubicSDR at the command prompt (depending on how it's installed)

Some builds of CubicSDR are what are called AppImages - AppImages contain their own libraries so will probably not use the version of SoapySDR that you've just proved works, so it depends on how and where you get CubicSDR from.

Best regards,

SDRplay Support

Reason: No reason

martinpd
Posts: 11
Joined: Mon Feb 05, 2018 2:20 pm

Re: Linux installation - help needed

Post by martinpd » Sat Oct 27, 2018 6:33 pm

I used the version that your link in the Non Windows Workflow referenced. It is an AppImage v0.2.3. I tried v0.2.4 and it did not work, either. Next I tried the experimental v0.2.5 which is also an AppImage and it does work. Hopefully it will still work in the final release. For now I will call this Solved. Thank you for your time and help. I hope for the day SDRuno is available for Linux.

Reason: No reason

Post Reply