Skip to content

SDR trouble shooting

Paul edited this page Nov 30, 2024 · 3 revisions

To check the correct installation of SoapySDR you can use the SoapySDRUtil utility.

pi@pi2:~ $ SoapySDRUtil -probe
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Probe device
[INFO] SoapyRadioberry::SoapyRadioberry  constructor called
[INFO] SoapyRadioberry::getDriverKey called
[INFO] SoapyRadioberry::getHardwareKey called
[INFO] SoapyRadioberry::getHardwareInfo called
[INFO] SoapyRadioberry::getNumChannels called
[INFO] SoapyRadioberry::getNumChannels called
[INFO] SoapyRadioberry::getFullDuplex called
[INFO] SoapyRadioberry::getStreamFormats called
[INFO] SoapyRadioberry::getNativeStreamFormat called
[INFO] SoapyRadioberry::listAntennas called
[INFO] SoapyRadioberry::getGainRange called
[INFO] SoapyRadioberry::listGains called
[INFO] SoapyRadioberry::getFrequencyRange called
[INFO] SoapyRadioberry::getSampleRateRange called
[INFO] SoapyRadioberry::listBandwidths called
[INFO] SoapyRadioberry::getFullDuplex called
[INFO] SoapyRadioberry::getStreamFormats called
[INFO] SoapyRadioberry::getNativeStreamFormat called
[INFO] SoapyRadioberry::listAntennas called
[INFO] SoapyRadioberry::getGainRange called
[INFO] SoapyRadioberry::listGains called
[INFO] SoapyRadioberry::getFrequencyRange called
[INFO] SoapyRadioberry::getSampleRateRange called
[INFO] SoapyRadioberry::listBandwidths called

----------------------------------------------------
-- Device identification
----------------------------------------------------
  driver=radioberry
  hardware=v2.0-beta5
  firmwareVersion=0.1
  gatewareVersion=73.3
  hardwareVersion=2.4
  protocolVersion=1.58

----------------------------------------------------
-- Peripheral summary
----------------------------------------------------
  Channels: 1 Rx, 1 Tx
  Timestamps: NO

----------------------------------------------------
-- RX Channel 0
----------------------------------------------------
  Full-duplex: YES
  Supports AGC: NO
  Stream formats: CF32, CS16
  Native format: CF32 [full-scale=2048]
  Stream args:
     * Buffer Size - Number of bytes per buffer, multiples of 512 only.
       [key=bufflen, units=bytes, default=64, type=int]
  Antennas: ANTENNA RX
  Full gain range: [-12, 48] dB
  Full freq range: [0.01, 30] MHz
  Sample rates: [0.048, 0.384] MSps

----------------------------------------------------
-- TX Channel 0
----------------------------------------------------
  Full-duplex: YES
  Supports AGC: NO
  Stream formats: CF32, CS16
  Native format: CF32 [full-scale=32768]
  Stream args:
     * Buffer Size - Number of bytes per buffer, multiples of 512 only.
       [key=bufflen, units=bytes, default=64, type=int]
  Antennas: ANTENNA TX
  Full gain range: [0, 15] dB
  Full freq range: [0.01, 30] MHz
  Sample rates: 0.048 MSps

[INFO] SoapyRadioberry::SoapyRadioberry  destructor called

To check the radioberry driver you can use dmesg command.

pi@pi2:~ $ dmesg |grep radioberry
[    9.223522] radioberry: loading out-of-tree module taints kernel.
[    9.239079] Radioberry: inside radioberry_init function
[    9.239115] Radioberry: driver radioberry loading...
[    9.239333] Radioberry: inside radioberry_probe function
[    9.239814] inside loading_radioberry_gateware function
[   29.537463] inside radioberry_open function

If you have installed the radioberry driver directly from pa3gsb github repository be sure you switch off the firmware (that simulates the hpsdr protocol) demon. By executing the following commands:

sudo systemctl stop radioberry
sudo systemctl disable radioberry
Clone this wiki locally