RTL-SDR GNU Radio Issue......

Main forum to discuss RTL-SDR related topics.
Post Reply
vitoal-vx5
Posts: 6
Joined: Sun May 07, 2017 5:46 am

RTL-SDR GNU Radio Issue......

Post by vitoal-vx5 » Tue May 09, 2017 6:24 am

Hello,

I hope there is a simple fix to this. I have been using GNU Radio with HackRF and it works great.

However, I have an issue using RTL-SDR with GNU Radio specifically.
In GNU Radio blocks under Sources I have "RTL-SDR Source", which I can place in my Flow Graph.

When I click execute, I get this error:
FATAL: No supported devices found to pick from.

So GNU radio doesn't work with RTL-SDR, but if I execute RTL_FM command:
rtl_fm -f 107.7e6 -M wbfm -s 200000 -r 48000 - | aplay -r 48k -f S16_LE

RTL-SDR tunes to the FM station and plays audio through my sound card.

So let me summarize:
- HackRF works great with GNU Radio on my computer
- RTL-SDR dongle works great with rtf_fm command, it receives FM channel and plays audio
- RTL-SDR does NOT work with GNU Radio, but "RTL-SDR Source" is in GRC blocks

What am I missing? This is clearly a simple configuration issue with GNU Radio and RTL-SDR.

Thank you!

rtlsdrblog
Site Admin
Posts: 2488
Joined: Mon Nov 19, 2012 11:54 pm

Re: RTL-SDR GNU Radio Issue......

Post by rtlsdrblog » Tue May 09, 2017 11:55 pm

Did you install gr-osmosdr? Perhaps you installed RTL-SDR after compiling GNU Radio or gr-osmosdr. I'd try reinstall gr-osmosdr first.

vitoal-vx5
Posts: 6
Joined: Sun May 07, 2017 5:46 am

Re: RTL-SDR GNU Radio Issue......

Post by vitoal-vx5 » Wed May 10, 2017 2:22 am

I figured this out, I was about to post it, but rtlsdrblog beat me to it :).

I found the hint here: https://lists.gnu.org/archive/html/disc ... 00160.html

That was exactly the problem, I installed RTL-SDR after installing gr-osmosdr, so CMAKE didn't configure for RTL-SDR.

All I had to do was re-run cmake, make and make install for gr-osmosdr and now RTL-SDR works with GNU Radio.

Thank you for the help!

cd gr-osmosdr
cmake ../
make
sudo make install
sudo ldconfig

Post Reply