Passing arguments to osmosdr's soapy sdrplay driver

370 views
Skip to first unread message

Chris Vine

unread,
Jan 28, 2020, 4:19:24 PM1/28/20
to Gqrx SDR
Hi

I use gqrx with a SDRPlay RSP1A device, using the gr-osmosdr's soapy support for that device (soapy=0,driver=sdrplay).  It works fine except that I would like to activate the medium wave notch filter in the RSP1A device.  I can do this using the gr-soapy block with gnuradio-companion by passing the 'rfnotch_ctrl=true' argument, but gqrx seems to use the gr-osmosdr block rather than the gr-soapy block.  Is there any way I can pass the rfnotch_ctrl argument to gr-osmosdr so that it will be picked up by the SDR device?

Chris

Robin Gape

unread,
Jan 28, 2020, 8:52:51 PM1/28/20
to gq...@googlegroups.com
Chris,

the theoretical answer is to access your RSP1A is to use the Soapy,
rather than Osmo, support library. It will need some experimentation,
but this may help to get you started, since Lime support is provided
through the Soapy mechanisms: http://gqrx.dk/supported-hardware#limesdr.

HTH, Good luck,

Robin, G8DQX

PS: my direct experience with this is some time ago, when Lime support
worked like a charm. YMMV, of course!

Bruce

unread,
Jan 28, 2020, 9:06:13 PM1/28/20
to gq...@googlegroups.com
On 29/01/2020 12:52 pm, 'Robin Gape' via Gqrx SDR wrote:
> Chris,
>
> the theoretical answer is to access your RSP1A is to use the Soapy,
> rather than Osmo, support library. It will need some experimentation,
> but this may help to get you started, since Lime support is provided
> through the Soapy mechanisms: http://gqrx.dk/supported-hardware#limesdr.
Another option is to hardcode these options to Soapy in Osmo. Not
pretty, but it might get you past the issue. That's how I happened to
find that direct GQRX control of the input preamp was possible with
recompilation with an #define option change.
>
> HTH, Good luck,
>
> Robin, G8DQX
>
> PS: my direct experience with this is some time ago, when Lime support
> worked like a charm. YMMV, of course!
>
> On 28/01/2020 21:19, Chris Vine wrote:
>> Hi
>>
>> I use gqrx with a SDRPlay RSP1A device, using the gr-osmosdr's soapy
>> support for that device (soapy=0,driver=sdrplay).  It works fine
>> except that I would like to activate the medium wave notch filter in
>> the RSP1A device.  I can do this using the gr-soapy block with
>> gnuradio-companion by passing the 'rfnotch_ctrl=true' argument, but
>> gqrx seems to use the gr-osmosdr block rather than the gr-soapy
>> block.  Is there any way I can pass the rfnotch_ctrl argument to
>> gr-osmosdr so that it will be picked up by the SDR device?
>>
>> Chris
>

--
Cheers,
Bruce

Chris Vine

unread,
Jan 29, 2020, 5:38:33 AM1/29/20
to Gqrx SDR
I have already got soapy working with my RSP1A.  With gnuradio-companion, I can use the follow blocks with my RSP1A:

- gr-osmosdr's inbuilt support for sdrplay;
- gr-osmosdr's inbuilt support for soapy, which also provides support for sdrplay  (soapy=0,driver=sdrplay);
- gr-soapy's inbuilt support for sdrplay.

Only the last of those (gr-soapy) allows me to pass the rfnotch_ctl argument.

However gqrx always picks up the gr-osmosdr block.  So I guess my question then is, how do I force gqrx to use the gr-soapy block instead of the gr-osmosdr block?
Reply all
Reply to author
Forward
0 new messages