Has anyone managed to get a Raspberry Pi 4 working with an RTL SDR?

Need help installing or figuring out something about your SDR? Ask here.
Post Reply
Feek
Posts: 2
Joined: Fri Jun 28, 2019 9:57 am
Contact:

Has anyone managed to get a Raspberry Pi 4 working with an RTL SDR?

Post by Feek » Fri Jun 28, 2019 10:11 am

I've got a spanky new Raspberry Pi 4 running with Buster and am having big problems getting any RTL-SDR type dongle to work.

Starting from scratch, I wrote a fresh install of Buster Lite to an SD card, booted, ran sudo apt-get update and sudo apt-get dist-upgrade.

I then installed rtl-sdr with the usual command, sudo apt-get install rtl-sdr

This is where the problem starts.

Image

I've now done this multiple times using different dongles. I have two FlightAware Pro Stick Plus', an RTL-SDR V3 and an old NooElec dongle. Even with a fresh install of Buster each time, exactly the same happens.

I've even downloaded, compiled and built RTL-SDR from GitHub and I get the same error.

It's not a Buster issue because I did the same with a Raspberry Pi 3B and it works perfectly with all the dongles.

This looks like a combination of the new Pi4 and Buster. As the whole USB subsystem of the Pi has changed with the Pi4, I don't know if it's the hardware or the underlying RTL-SDR software that's the problem.

It's not power related. I'm using an official Raspberry PSU and I've put a meter in the power cable to confirm. I'm not getting voltage drops and the Pi isn't reporting under voltage errors.

Others on the FlightAware forums are reporting the same problems.

Unfortunately I'm not a coder so I wouldn't have a clue where else to start.

I'd be interested to know if anyone else has tried this yet and what results you've had.

Thanks.
--
Essex Radar
Last edited by Feek on Sun Jun 30, 2019 6:33 am, edited 1 time in total.

Feek
Posts: 2
Joined: Fri Jun 28, 2019 9:57 am
Contact:

Re: Has anyone managed to get a Raspberry Pi 4 working with an RTL SDR?

Post by Feek » Sun Jun 30, 2019 6:30 am

Does the lack of replies mean that nobody else has tried or nobody else has had problems?
--
Essex Radar

hotpaw2
Posts: 101
Joined: Sat Jan 14, 2017 11:07 pm
Contact:

Re: Has anyone managed to get a Raspberry Pi 4 working with an RTL SDR?

Post by hotpaw2 » Mon Jul 01, 2019 12:38 am

A bunch of us are probably still waiting for more Pi 4's to be in stock and ship.

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

Re: Has anyone managed to get a Raspberry Pi 4 working with an RTL SDR?

Post by rtlsdrblog » Mon Jul 01, 2019 4:31 am

Still waiting on my Pi4 to arrive.

But I have everyone who already got their units complaining about this, so something is definitely wrong with the Pi4 and RTL-SDR at the moment. Most likely just a software issue that can be fixed in the future.

jjczon
Posts: 3
Joined: Wed Jul 10, 2019 5:43 pm

Re: Has anyone managed to get a Raspberry Pi 4 working with an RTL SDR?

Post by jjczon » Wed Jul 10, 2019 6:39 pm

Have a similar issue with a Pi3B, rtl_test -t successful tests the RTL-SDR v3 dongle. But when running gqrx ot shows no fft audio and when changing frequency is see similar error messages. Running Stretch last available image of April 2019 desktop-only version.
In the past both on Jessie and Stretch have had no issue with a NooElec dongle.
Have a powered USB hub with a 2.5 Amp powersupply so don't think it is a power issue.
I'm also a bit clueless what I'm missing.

jjczon
Posts: 3
Joined: Wed Jul 10, 2019 5:43 pm

Re: Has anyone managed to get a Raspberry Pi 4 working with an RTL SDR?

Post by jjczon » Wed Jul 10, 2019 7:04 pm

The test:
[email protected]:~ $ rtl_test -t
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Detached kernel driver
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
[R82XX] PLL not locked!
Sampling at 2048000 S/s.
No E4000 tuner found, aborting.
Reattached kernel driver
[email protected]:~ $

Tuning:
[email protected]:~ $ rtl_fm -f 96.3e6 -M wbfm -s 200000
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Detached kernel driver
Found Rafael Micro R820T tuner
Tuner gain set to automatic.
Tuned to 96616000 Hz.
oversampling input by: 6x.
Oversampling output by: 1x.
Buffer size: 6.83ms
Create UDP thread
Created UDP thread
Main socket started! :-) Tuning enabled on UDP/6020
r82xx_write: i2c wr failed=-9 reg=0a len=1
rtlsdr_demod_write_reg failed with -9
rtlsdr_demod_read_reg failed with -9
rtlsdr_demod_write_reg failed with -9
rtlsdr_demod_read_reg failed with -9
rtlsdr_demod_write_reg failed with -9
rtlsdr_demod_read_reg failed with -9
rtlsdr_demod_write_reg failed with -9
rtlsdr_demod_read_reg failed with -9
rtlsdr_demod_write_reg failed with -9
rtlsdr_demod_read_reg failed with -9
rtlsdr_demod_write_reg failed with -9
rtlsdr_demod_read_reg failed with -9
rtlsdr_demod_write_reg failed with -9
rtlsdr_demod_read_reg failed with -9
WARNING: Failed to set sample rate.
Output at 200000 Hz.

radiolistener
Posts: 47
Joined: Thu Jan 25, 2018 10:48 pm

Re: Has anyone managed to get a Raspberry Pi 4 working with an RTL SDR?

Post by radiolistener » Thu Jul 11, 2019 2:09 am

I had the same errors on windows when several dongles was connected to PC simultaneously.

jjczon
Posts: 3
Joined: Wed Jul 10, 2019 5:43 pm

Re: Has anyone managed to get a Raspberry Pi 4 working with an RTL SDR?

Post by jjczon » Thu Jul 18, 2019 1:37 am

I followed today an instructable project for NOAA weather sats that I have had running on a PI3 with a NoEelec dongle without an issue. Have a 2.5 powersupply connected to a powered hub on the Raspberry (it even powers the PI).
Still have the same issues.

Message-Id: <[email protected]>
From: [email protected]
Date: Wed, 17 Jul 2019 19:55:29 -0500

Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Tuner gain set to 44.50 dB.
Tuner error set to 55 ppm.
Tuned to 138100000 Hz.
Oversampling input by: 32x.
Oversampling output by: 1x.
Buffer size: 4.27ms
Sampling at 1920000 S/s.
Output at 60000 Hz.
Signal caught, exiting!
Signal caught, exiting!

User cancel, exiting...
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
r82xx_write: i2c wr failed=-1 reg=06 len=1
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
rtlsdr_write_reg failed with -4

linux_author
Posts: 1
Joined: Thu Jul 18, 2019 11:27 am

Re: Has anyone managed to get a Raspberry Pi 4 working with an RTL SDR?

Post by linux_author » Thu Jul 18, 2019 11:35 am

the issue of the rtl-sdr thumb radios not working with the new Raspberry Pi 4 is known, and status of work on the kernel driver is that the issue is fixed - but who knows how long it will take for the merged one-liner to appear in a new Raspbian release:

https://github.com/raspberrypi/linux/issues/3060

i am a big fan of the rtl-sdr and appreciate its open-source support to date... it's a shame it's not supported at the moment...

i tried the new Raspbian Buster on a RPi3B+, RPi4 2GB and RPi4 4GB - the rtl-sdr driver fails on the RPi4s...

HOWEVER, and this is a repost from Raspberry Pi forums in case this info helps someone here:

ordered and received a "NooElec NESDR XTR+ Tiny Extended-Range TCXO-Based RTL-SDR & DVB-T USB Stick (RTL2832U + E4000) w/Antenna and Remote Control," which according to the seller, contains "an ultra-rare E4000 tuner chip," made by Elonics, "the maker of the E4000 integrated circuit," which "went out of business years ago."

So, not a mainstream usb sdr, but I plugged it into my new RPi 4 4GB, and it automagically works well using the previously installed rtl-sdr drivers!!!

at least i can proceed with my portable Pi Panadapter for ham radio use:

https://kg4zqz.blogspot.com/2019/07/ras ... r-for.html

as an aside, and even better - this stick is smaller than the rtl-sdr, and does not get hot like the rtl-sdr and other sdr thumbs... was barely warm after a half-hour of use!!!

willie
on the Gulf of Mexico

pjsansom
Posts: 1
Joined: Fri Sep 06, 2019 11:10 am

Re: Has anyone managed to get a Raspberry Pi 4 working with an RTL SDR?

Post by pjsansom » Fri Sep 06, 2019 11:12 am

I had the same problem failed with -7 and a firmware update seems to have done the trick to the Pi 4

Post Reply