SigDigger icon indicating copy to clipboard operation
SigDigger copied to clipboard

SDRplay RSPdx not appearing as a capture device

Open amerkert opened this issue 4 years ago • 5 comments

My SDRplay RSPdx is not appearing as a capture device, using both SigDigger-0.1.0-x86_64-full.AppImage and/or SigDigger-0.2.0-x86_64-full.AppImage

Linux Mint 20.2/5.4.0-77-generic

All installations of SDRplay API, SoapySDR, and SoapySDRPlay3 were successful.

Install dependencies...

sudo apt install cmake g++ git swig (I don't think swig is actually a dependency, however)

Install SDRplay API...

Download API/Driver from SDRplay,

sudo ./SDRplay_RSP_API-Linux-3.07.1.run

Install SoapySDR...

git clone https://github.com/pothosware/SoapySDR cd SoapySDR mkdir build cd build cmake .. make sudo make install sudo ldconfig

Install SoapySDRplay3...

git clone https://github.com/pothosware/SoapySDRPlay3 cd SoapySDRPlay3 mkdir build cd build cmake .. make sudo make install sudo ldconfig

Test if SDRplay device is present...

SoapySDRUtil --probe="driver=sdrplay"

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

Soapy SDR -- the SDR abstraction library

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

Probe device driver=sdrplay [INFO] devIdx: 0 [INFO] hwVer: 4 [INFO] rspDuoMode: 0 [INFO] tuner: 1 [INFO] rspDuoSampleFreq: 0.000000


-- Device identification

driver=SDRplay hardware=RSPdx sdrplay_api_api_version=3.070000 sdrplay_api_hw_version=4


-- 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, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27)] * 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: Antenna A, Antenna B, Antenna C Corrections: DC removal Full gain range: [0, 66] dB IFGR gain range: [20, 59] dB RFGR gain range: [0, 27] 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

SoapySDRUtil --info

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

Soapy SDR -- the SDR abstraction library

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

Lib Version: v0.8.1-g265c3435 API Version: v0.8.0 ABI Version: v0.8 Install root: /usr/local Search path: /usr/local/lib/SoapySDR/modules0.8 Module found: /usr/local/lib/SoapySDR/modules0.8/libsdrPlaySupport.so (0.3.0-206b241) 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]

amerkert avatar Jul 19 '21 16:07 amerkert

IMHO you can try workaround with soapyremote.

jedi7 avatar Jul 19 '21 16:07 jedi7

IMHO you can try workaround with soapyremote.

It turns out, that doesn't seem to work either.

I get this result after installing SoapyRemote...

SoapySDRUtil --find

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

Soapy SDR -- the SDR abstraction library

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

Found device 0 driver = remote label = SDRplay Dev0 RSPdx myserialnumber remote = tcp://192.168.0.135:55132 remote:driver = sdrplay serial = myserialnumber

CubicSDR connects to the remote device and operates, so it is working.

I even tried this, as you suggested in another report...

"Actually is possible to connect to SoapyRemote only by editing the suscan config files. Example (file: ~/.suscan/config/sources.xml) <suscan:object name="sdr_args"> <suscan:field name="driver" value="remote" /> <suscan:field name="soapy" value="0" /> <suscan:field name="remote" value="tcp://myremotesdr:55132" /> </suscan:object>

Goal is to add possibility to change these parameters in GUI"

I can see an additional device due to the suscan edit, but I could just name it "bigBanana" and "bigBanana" would just show up as a greyed out device. It even causes 0.2.0 to crash. (0.1.0 doesn't seem to mind though).

Maybe I am doing something wrong.

I would still, of course, like to work on a solution to this issue, so it will work natively and at full 14-bit performance.

Actually, having said that, is soapyremote limiting to 8-bit, or is that my imagination?

Is this a known issue with SoapySDR, and having to use soapyremote?

Thanks!

IMHO you can try workaround with soapyremote.

amerkert avatar Jul 19 '21 16:07 amerkert

I do have a second RSPdx, everything is working the same on that one, so it is definitely not a hardware issue with that particular SDR. On that note, I am willing to loan my second RSPdx (with paid return postage included), if it will help with this issue, and also if it will improve support for this device.

amerkert avatar Jul 20 '21 00:07 amerkert

Hi @amerkert, and thanks for the offering! Still, I think there's a lot of room for experimentation on my side before delivering stuff by postal mail / express delivery. In particular, I was suspicious of the SDRPlay driver included in this release (0.2.0) because, to begin with, it was a precompiled binary. Also, I believe I built an older version of the SoapySDR wrapper.

So what I will do these days is to repeat the build with an up-to-date version of the drivers and upload an engineering AppImage for you to test.

PS: do you have any computer you can leave unattended with the SDRPlay plugged in, so I can ssh to it and test things on my own? That could speed up things a little.

BatchDrake avatar Jul 20 '21 10:07 BatchDrake

Machine with SSH access up and running, email sent, thank you!

amerkert avatar Jul 20 '21 13:07 amerkert

I am closing this issue due to inactivity. Feel free to reopen if this issue persists.

BatchDrake avatar Apr 12 '23 07:04 BatchDrake