RSP2 and API 2.13.1

Post information or questions regarding SDRplay products here
Rebel
Posts: 19
Joined: Thu Jan 08, 2015 4:21 pm

RSP2 and API 2.13.1

Postby Rebel » Thu Jul 19, 2018 11:07 am

Hi,

after updating to API2.13.1 and pulling SoapySDR and SoapySDRPlay from Git, compile and install it, the RSP2 is not recognized anymore.
Any idea what could be wrong?

SoapySDRUtil --info output shows:

######################################################
## Soapy SDR -- the SDR abstraction library ##
######################################################

Lib Version: v0.7.0-gcea2ae17
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/libLMS7Support.so (18.04.1-00c66d4)
Module found: /usr/local/lib/SoapySDR/modules0.7/librtlsdrSupport.so (0.2.5-ad3d8e0)
Module found: /usr/local/lib/SoapySDR/modules0.7/libsdrPlaySupport.so (0.1.0-12c3db6)
Available factories... lime, rtlsdr, 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]


Thanks in advance
Fred

Reason: No reason

Rebel
Posts: 19
Joined: Thu Jan 08, 2015 4:21 pm

Re: RSP2 and API 2.13.1

Postby Rebel » Thu Jul 19, 2018 11:56 am

Additional question, do I also have to recompile gr-osmosdr?

Reason: No reason

Sasan
Posts: 122
Joined: Sat Jun 27, 2015 1:15 am
Location: Berlin

Re: RSP2 and API 2.13.1

Postby Sasan » Thu Jul 19, 2018 12:02 pm

gr-osmosdr has nothing to do with SoapySDR.
Make sure that your device is detected by the OS first (for example by lsusb)
Then try with CubicSDR or gqrx (although the former relies on Soapy).

I've experienced a weird bug in the past: the first run of SoapySDRUtil did not work and I had to run it for a second time to detect SDRPlay!

Reason: No reason
DF2HF, NM9A, EP2C

Rebel
Posts: 19
Joined: Thu Jan 08, 2015 4:21 pm

Re: RSP2 and API 2.13.1

Postby Rebel » Thu Jul 19, 2018 1:21 pm

It's getting strange now for me...

SoapySDRUtil --probe shows:

######################################################
## Soapy SDR -- the SDR abstraction library ##
######################################################

libusb: error [udev_hotplug_event] ignoring udev action bind
libusb: error [udev_hotplug_event] ignoring udev action bind[/color]

----------------------------------------------------
-- Device identification
----------------------------------------------------
driver=SDRplay
hardware=1605056300
mir_sdr_api_version=2.130000
mir_sdr_hw_version=2

----------------------------------------------------
-- 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)]
* 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]]
* ExtRef Enable - External Reference Control
[key=extref_ctrl, default=true, type=bool]
* BiasT Enable - BiasT Control
[key=biasT_ctrl, default=true, type=bool]
* RfNotch Enable - RF Notch Filter Control
[key=rfnotch_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: Antenna A, Antenna B, Hi-Z
Corrections: DC removal
Full gain range: [0, 47] dB
IFGR gain range: [20, 59] dB
RFGR gain range: [0, 8] 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

Reason: No reason

Sasan
Posts: 122
Joined: Sat Jun 27, 2015 1:15 am
Location: Berlin

Re: RSP2 and API 2.13.1

Postby Sasan » Thu Jul 19, 2018 1:36 pm

Have you installed the udev permission rules?!
Look at the page 4 of http://sdrplay.com/docs/Mirics_SDR_API_ ... e_r1p1.pdf

EDIT: I use SDRPlay on OS X, not Linux, but found this on the forum (search for udev)

Reason: No reason
DF2HF, NM9A, EP2C

Rebel
Posts: 19
Joined: Thu Jan 08, 2015 4:21 pm

Re: RSP2 and API 2.13.1

Postby Rebel » Fri Jul 20, 2018 7:36 am

Thanks a lot Sasan for your hints... udev permission rules were and are in place, have checked again to be shure.
Looks like I ran into the same issue you've mentioned, first run of SoapySDRUtil does not work, after trying second or third time I have the expected output:

fred@amazona:~$ SoapySDRUtil --probe
######################################################
## Soapy SDR -- the SDR abstraction library ##
######################################################

Probe device

----------------------------------------------------
-- Device identification
----------------------------------------------------
driver=SDRplay
hardware=1605056300
mir_sdr_api_version=2.130000
mir_sdr_hw_version=2

but still CubicSDR and GQRX do not see the RSP2, btw. RTL Stick is working fine.
I woud like to try to go back to 2.11 of the RSP_SDRPlay_API_Linux, but can't find this file anymore. Have no other ideas at the moment and no clue what to do.

73s de Fred, DL6BAW

Reason: No reason

Sasan
Posts: 122
Joined: Sat Jun 27, 2015 1:15 am
Location: Berlin

Re: RSP2 and API 2.13.1

Postby Sasan » Fri Jul 20, 2018 9:02 am

It's hard to say, but my gut feeling is that you have a problem with Soapy, not the API driver.
Have you tried "soapy=0,driver=sdrplay" in Gqrx?
Are you sure you don't have multiple versions of Soapy installed?
Have you tried the "Refresh" button in CubicSDR's device dialog?

Reason: No reason
DF2HF, NM9A, EP2C


Return to “SDRplay related”

Who is online

Users browsing this forum: No registered users and 5 guests