RSP1A No Waterfall Help

New install within Debian 10 virtual machine using RSP1A. No waterfall and RuntimeError shown below. RSP1A runs fine in CubicSDR. I’ve tried both the v2 and v3 of the SDRPlay API, searchd through troubleshooting and referenced other’s RSP1A settings. I need help understanding possible causes. Many thanks!

Mar 16 23:01:28 debian satnogs-client[32744]: satnogsclient.observer.worker - DEBUG - Initial frequency: 437426923
Mar 16 23:01:28 debian satnogs-client[32744]: satnogsclient.observer.worker - DEBUG - Rigctld msg: 437436453
Mar 16 23:01:28 debian satnogs-client[32744]: satnogsclient.observer.orbital - DEBUG - Observer data: {‘lon’: -86.75529, ‘lat’: 34.71426, ‘elev’: 200}
Mar 16 23:01:28 debian satnogs-client[32744]: satnogsclient.observer.orbital - DEBUG - Satellite data: {‘tle0’: ‘0 AAUSAT CUBESAT 2’, ‘tle1’: ‘1 32788U 08021F 21075.48716827 .00000942 00000-0 90098-4 0 9992’, ‘tle2’: ‘2 32788 97.5028 74.0660 0010537 215.6845 144.3673 14.95442730699967’}
Mar 16 23:01:28 debian satnogs-client[32744]: satnogsclient.observer.orbital - DEBUG - Calculated data: {‘alt’: 0.21489737927913666, ‘az’: 3.250701665878296, ‘rng’: 1762103.75, ‘rng_vlct’: -6531.2763671875, ‘ok’: True}
Mar 16 23:01:28 debian satnogs-client[32744]: satnogsclient.observer.worker - DEBUG - Initial frequency: 437426923
Mar 16 23:01:28 debian satnogs-client[32744]: satnogsclient.observer.worker - DEBUG - Rigctld msg: 437436452
Mar 16 23:01:29 debian satnogs-client[32744]: Traceback (most recent call last):
Mar 16 23:01:29 debian satnogs-client[32744]: File “/usr/bin/satnogs_fsk.py”, line 522, in
Mar 16 23:01:29 debian satnogs-client[32744]: main()
Mar 16 23:01:29 debian satnogs-client[32744]: File “/usr/bin/satnogs_fsk.py”, line 505, in main
Mar 16 23:01:29 debian satnogs-client[32744]: tb = top_block_cls(antenna=options.antenna, baudrate=options.baudrate, bb_freq=options.bb_freq, bw=options.bw, dc_removal=options.dc_removal, decoded_data_file_path=options.decoded_data_file_path, dev_args=options.dev_args, doppler_correction_per_sec=options.doppler_correction_per_sec, enable_iq_dump=options.enable_iq_dump, file_path=options.file_path, framing=options.framing, gain=options.gain, gain_mode=options.gain_mode, iq_file_path=options.iq_file_path, lo_offset=options.lo_offset, other_settings=options.other_settings, ppm=options.ppm, rigctl_port=options.rigctl_port, rx_freq=options.rx_freq, samp_rate_rx=options.samp_rate_rx, soapy_rx_device=options.soapy_rx_device, stream_args=options.stream_args, tune_args=options.tune_args, udp_IP=options.udp_IP, udp_port=options.udp_port, waterfall_file_path=options.waterfall_file_path)
Mar 16 23:01:29 debian satnogs-client[32744]: File “/usr/bin/satnogs_fsk.py”, line 96, in init
Mar 16 23:01:29 debian satnogs-client[32744]: tune_args, settings, samp_rate_rx, “fc32”)
Mar 16 23:01:29 debian satnogs-client[32744]: File “/usr/lib/python3/dist-packages/soapy/soapy_swig.py”, line 166, in make
Mar 16 23:01:29 debian satnogs-client[32744]: return _soapy_swig.source_make(nchan, device, dev_args, stream_args, tune_args, other_settings, sampling_rate, type)
Mar 16 23:01:29 debian satnogs-client[32744]: RuntimeError: soapy::source: Unsupported sample rate (2000000.000000). Rate must be in the range [8000.000000, 8000.000000] [16000.000000, 16000.000000] [22050.000000, 22050.000000] [32000.000000, 32000.000000] [44100.000000, 44100.000000] [48000.000000, 48000.000000] [96000.000000, 96000.000000]

Mar 16 23:01:30 debian satnogs-client[32744]: satnogsclient.observer.observer - INFO - Tracking stopped.
Mar 16 23:01:30 debian satnogs-client[32744]: satnogsclient.observer.worker - INFO - Tracking stopped.
Mar 16 23:01:32 debian satnogs-client[32744]: satnogsclient.observer.worker - INFO - Tracking stopped.
Mar 16 23:01:32 debian satnogs-client[32744]: satnogsclient.observer.observer - INFO - Observation Finished
Mar 16 23:01:32 debian satnogs-client[32744]: satnogsclient.observer.observer - INFO - Executing post-observation script.
Mar 16 23:01:32 debian satnogs-client[32744]: satnogsclient.observer.observer - INFO - Creating waterfall plot.
Mar 16 23:01:32 debian satnogs-client[32744]: satnogsclient.waterfall - INFO - Reading waterfall file
Mar 16 23:01:32 debian satnogs-client[32744]: satnogsclient.observer.observer - ERROR - No waterfall data file found

######################################################

Soapy SDR – the SDR abstraction library

######################################################

Probe device
[INFO] devIdx: 0
[INFO] hwVer: 255


– Device identification

driver=SDRplay
hardware=1803038B94
sdrplay_api_api_version=3.070000
sdrplay_api_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)]
* 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: NO
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.001, 2000] MHz
RF freq range: [0.001, 2000] MHz
CORR freq range: MHz
Sample rates: 0.0625, 0.096, 0.125, 0.192, 0.25, …, 6, 7, 8, 9, 10 MSps
Filter bandwidths: 0.2, 0.3, 0.6, 1.536, 5, 6, 7, 8 MHz

"versions": {
    "satnogs-client": "1.4",
    "satnogs-client-ansible": "202012231828",
    "satnogs-flowgraphs": "1.3-1",
    "gr-satnogs": "2.2.0.0-1",
    "gr-soapy": "2.1.3.1-1",
    "gnuradio": "3.8.2.0-14satnogs2",
    "satnogs-config": "0.11"
},
"state": {
    "is-applied": true,
    "pending-tags": null
},
"system": {
    "date": "2021-03-16T23:20:02.909178+00:00",
    "distribution": {
        "DESCRIPTION": "Debian GNU/Linux 10 (buster)",
        "RELEASE": "10",
        "CODENAME": "buster",
        "ID": "Debian"
    },
    "pending-updates": false,
    "platform": {
        "system": "Linux",
        "node": "debian",
        "release": "4.19.0-14-amd64",
        "version": "#1 SMP Debian 4.19.171-2 (2021-01-30)",
        "machine": "x86_64",
        "processor": ""
    },
    "memory": {
        "total": 2066632704,
        "available": 351350784,
        "percent": 83.0,
        "used": 1427353600,
        "free": 214835200,
        "active": 874344448,
        "inactive": 559099904,
        "buffers": 19439616,
        "cached": 405004288,
        "shared": 131878912,
        "slab": 113233920
    },
    "disk": {
        "total": 19994066944,
        "used": 7521574912,
        "free": 11433250816,
        "percent": 39.7
    }
},
"configuration": {
    "satnogs_antenna": "RX",
    "satnogs_api_token": "[redacted]",
    "satnogs_log_level": "DEBUG",
    "satnogs_rf_gain": "40",
    "satnogs_rx_bandwidth": "600e3",
    "satnogs_rx_samp_rate": "2e6",
    "satnogs_soapy_rx_device": "device=sdrplay",
    "satnogs_station_elev": "200",
    "satnogs_station_id": "2097",
    "satnogs_station_lat": "34.71426",
    "satnogs_station_lon": "-86.75529"
}

}

I think is the sample rate problem.

1 Like

Thank you Michel for responding. I have tried other sample rates, but still no waterfall. The sample rate I used is a valid rate for the RSP1A. The error message ranges seem to be audio sample rates instead of RX sample rates, so the error message doesn’t seem to match the parameter it says is wrong. I saw a similar post for an RTLSDR, but it seemed to be related to not recognizing the RTLSDR. So it seems like this message is more a symptom and not the root cause.

Mar 16 23:01:32 debian satnogs-client[32744]: satnogsclient.observer.observer - ERROR - No waterfall data file found

I’d check PATH’s in satnogs-setup as well as the permissions on the various data directories.

I will do that and report back what I find and results. Thanks!

I’ve not been able to find any path or permission issues. I did a fresh install in another VM making sure to install API 3 from sdrplay. It looks like it is maybe an issue with compatibility with API 3? I can find the RSP1A fine with SoapySDRUtil and execute a loop test, but satnogs_fsk.py errors with : RuntimeError: SoapySDR::Device::make() no match

SoapySDRUtil --args=“driver=sdrplay” --direction=RX --rate=1e6
######################################################

Soapy SDR – the SDR abstraction library

######################################################

[INFO] devIdx: 0
[INFO] hwVer: 255
[INFO] Using format CS16.
Stream format: CS16
Num channels: 1
Element size: 4 bytes
Begin RX rate test at 1 Msps
Starting stream loop, press Ctrl+C to exit…
0.312476 Msps 1.2499 MBps

|ku4yj@debian:~/Downloadsatnogs_fsk.py --soapy-rx-device=“driver=sdrplay” --rx-freq=444000000 --file-path=./audio-out.ogg --waterfall-file-path=./waterfall.dat --samp-rate-rx=1e6 --antenna=RX
Traceback (most recent call last):
File “/usr/bin/satnogs_fsk.py”, line 522, in
main()
File “/usr/bin/satnogs_fsk.py”, line 505, in main
tb = top_block_cls(antenna=options.antenna, baudrate=options.baudrate, bb_freq=options.bb_freq, bw=options.bw, dc_removal=options.dc_removal, decoded_data_file_path=options.decoded_data_file_path, dev_args=options.dev_args, doppler_correction_per_sec=options.doppler_correction_per_sec, enable_iq_dump=options.enable_iq_dump, file_path=options.file_path, framing=options.framing, gain=options.gain, gain_mode=options.gain_mode, iq_file_path=options.iq_file_path, lo_offset=options.lo_offset, other_settings=options.other_settings, ppm=options.ppm, rigctl_port=options.rigctl_port, rx_freq=options.rx_freq, samp_rate_rx=options.samp_rate_rx, soapy_rx_device=options.soapy_rx_device, stream_args=options.stream_args, tune_args=options.tune_args, udp_IP=options.udp_IP, udp_port=options.udp_port, waterfall_file_path=options.waterfall_file_path)
File “/usr/bin/satnogs_fsk.py”, line 96, in init
tune_args, settings, samp_rate_rx, “fc32”)
File “/usr/lib/python3/dist-packages/soapy/soapy_swig.py”, line 166, in make
return _soapy_swig.source_make(nchan, device, dev_args, stream_args, tune_args, other_settings, sampling_rate, type)
RuntimeError: SoapySDR::Device::make() no match

If I change --soapy-rx-device to sdrplay I get an error of unsupported sample rate which looks like it’s a wrong driver issue:

satnogs_fsk.py --soapy-rx-device=“sdrplay” --rx-freq=444000000 --file-path=./audio-out.ogg --waterfall-file-path=./waterfall.dat --samp-rate-rx=1e6 --antenna=RX

RuntimeError: soapy::source: Unsupported sample rate (1000000.000000). Rate must be in the range [48000.000000, 48000.000000]

So what is satnogs_fsk.py passing or getting from soapy that it’s not happy about?

I have spent hours working on this with still no success. Either I am overlooking something pretty obvious or there is a bug in the desktop implementation. I am running Debian 10.

To summarize: SoapySDRUtil --probe returns the correct information so the RSP1A is installed correctly with API 3 driver from SdrPlay, but manual tests with satnogs_fsk.py returns RuntimeError: SoapySDR::Device::make() no match.

Even though I have installed SoapySDRPlay from SdrPlay, it’s as if satnogs_fsk is still using old soapy. I have not been able to figure out what path satnogs is calling soapy from, so maybe I have to change the install path of SoapySDRPlay?