Page 1 of 1

Starting SoapySDR?

Posted: Tue Aug 07, 2018 3:50 pm
by ramseyrt
Hello,

I've just installed the SoapySDR software and SDRPlay modules on my Raspberry Pi 3. Everything looks like it installed correctly. How do I launch the SoapySDR software? The github website doesn't have an end-to-end tutorial and it doesn't seem like anyone has run into this problem before :/

Thanks,

Rob
SDRPlay RSP1

Code: Select all

pi@raspberrypi:~/SoapySDR $ SoapySDRUtil --info
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Lib Version: v0.7.0-ge6948134
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]

Code: Select all

root@raspberrypi:/home/pi/SoapySDR# SoapySDRUtil --probe
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Probe device

----------------------------------------------------
-- Device identification
----------------------------------------------------
  driver=SDRplay
  hardware=B0001P0004
  mir_sdr_api_version=2.130000
  mir_sdr_hw_version=1

----------------------------------------------------
-- Peripheral summary
----------------------------------------------------
  Channels: 1 Rx, 0 Tx
  Timestamps: NO
  Other Settings:
     * RF Gain Select - RF Gain Select
       [key=rfgain_sel, default=1, type=string, options=(0, 1, 2, 3)]
     * 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]]

----------------------------------------------------
-- 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, 42] dB
    IFGR gain range: [20, 59] dB
    RFGR gain range: [0, 3] 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
  

Re: Starting SoapySDR?

Posted: Tue Aug 07, 2018 5:59 pm
by Sasan
Hello Rob
What do you want to achieve?
SoapySDR is not an standalone application; It's a SDR library which is used by other applications or libraries (like CubicSDR, gqrx, gr-osmosdr, etc)

Re: Starting SoapySDR?

Posted: Tue Aug 07, 2018 6:08 pm
by ramseyrt
Hello Sasan,

I'm trying to use my Raspberry Pi with my SDRPlay RSP1 SDR. I've used the SDR on my Windows PC with a variety of applications (SDR Console, SDRUno, HDSDR). It seems there are fewer applications for Linux and fewer still for the Raspberry Pi. It's also a heavier lift in the fact that I'm having to compile and trouble-shoot everything...

So you're saying that SoapySDR isn't an application I can use to directly play with my SDR and that it's some kind of foundation for other applications like Cubic SDR? I'm working on installing Cubic SDR now; although I'm having trouble getting it to find the wxWidgets program I just installed...

Do you have any SDR application recommendations for the Raspberry Pi?

Cordially,

Rob

Re: Starting SoapySDR?

Posted: Wed Aug 08, 2018 8:41 am
by Sasan
So you're saying that SoapySDR isn't an application I can use to directly play with my SDR and that it's some kind of foundation for other applications like Cubic SDR?
Correct. It's called a library (a piece of software that provides some features that can be used by other software). You cannot directly run it.
Do you have any SDR application recommendations for the Raspberry Pi?
If you're running Linux on Rpi, then you can use either CubicSDR or gqrx (I've used both)

Re: Starting SoapySDR?

Posted: Wed Aug 08, 2018 2:22 pm
by ramseyrt
Hello,

I did get Cubic SDR and gqrx installed and running on the Raspberry Pi. I'm currently using my Pi with the 7" touchscreen display. While this works, it's a lot harder to navigate the applications than I had hoped. I've configured a virtual VNC display, which I can connect to from my Windows PC. However, I can't get Cubic SDR to come up over the VNC. I suspect it has something to do with the GL graphics and VNC driver?

What type of display do you use with your Pi?

Cordially,

Rob