New Raspberry Pi available - Pi 4

I had to force it to allow the downgrade but that made no difference.

As said above, I’ve tried different dongles and different USB ports so sadly it’s not as simple as that.

You mean due to the proximity of the ethernet cable? For the moment, I’m testing on the bench so I’ve thrown a wpa_supplicant.conf file at it and am working via WiFi so no ethernet connected.

1 Like

Maybe you have a powered USB hub handy? :slight_smile:

You can also try updating firmware/kernel to the development version:

sudo apt install rpi-update
sudo rpi-update
1 Like

I don’t think I even own a powered USB hub and I already tried the firmware/kernel using that method, despite the usual warning not to do it unless instructed by an RPi engineer.

Still the same :frowning:

I know it works with the Airspy because I’ve seen a post elsewhere by someone who’s got it working, it’s just this damn RTL-SDR that’s the issue. And yes, I appreciate that I’m going to be using this particular setup with an Airspy but not just yet.

1 Like

Just as another check, I have a ratty old NooElec dongle which I’ve just tried. Same thing.

1 Like

Most likely it’s not a power issue but rather a driver issue with the new USB driver/firmware used on the RPi 4.

1 Like

I think that’s right. I wrote a fresh SD card and installed just rtl-sdr.

pi@raspberrypi:~ $ rtl_test
Found 1 device(s):
  0:  Realtek, RTL2832U, SN: 00001000

Using device 0: Generic RTL2832U
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.

Info: This tool will continuously read from the device, and report if
samples get lost. If you observe no further output, everything is fine.

Reading samples in async mode...
Allocating 15 zero-copy buffers
lost at least 3714 bytes
lost at least 286 bytes
lost at least 158 bytes
lost at least 5494 bytes
lost at least 4260 bytes
lost at least 158 bytes
lost at least 3402 bytes
lost at least 3846 bytes
lost at least 2416 bytes
lost at least 3402 bytes
lost at least 700 bytes
lost at least 444 bytes

However, after a reboot:

pi@raspberrypi:~ $ rtl_test
Found 1 device(s):
  0:  Realtek, RTL2832U, SN: 00001000

Using device 0: Generic RTL2832U
Detached kernel driver
rtlsdr_read_reg failed with -7
rtlsdr_write_reg failed with -7
rtlsdr_read_reg failed with -7
rtlsdr_write_reg failed with -7
rtlsdr_read_reg failed with -7
rtlsdr_write_reg failed with -7
rtlsdr_read_reg failed with -7
rtlsdr_write_reg failed with -7
No supported tuner found
rtlsdr_demod_write_reg failed with -7
rtlsdr_demod_read_reg failed with -7
rtlsdr_demod_write_reg failed with -7
rtlsdr_demod_read_reg failed with -7
rtlsdr_demod_write_reg failed with -7
rtlsdr_demod_read_reg failed with -7
rtlsdr_demod_write_reg failed with -7

It all seems a bit flakey at the moment.

1 Like

Hmm that somewhat strange behaviour could be low voltage just as well.

Maybe the new USB voltage on the RPi is even worse than before compared to the input.

1 Like

FWIW, I’m new to the Raspberry Pi and Piaware and ADS-B tracking in general. Picked up a 4 B 1GB at MicroCenter earlier.

Tried booting from the default piaware image and it doesn’t seem to - running it headless though. The USB stick from flightaware doesn’t even heat up like it does when I’m running dump1090 on a Windows machine with it, which makes me think it’s not interfacing with the USB device.

1 Like

It’s not even booting.
The piaware image isn’t ready for the new hardware yet.

You’ll have to use Raspbian Buster Lite:
Raspberry Pi OS – Raspberry Pi

I’m sure you’ll find a guide on the internet how to go about that.

When you have that running, install piaware/dump1090-fa:
PiAware - dump1090 ADS-B integration with FlightAware - FlightAware

You’ll either have to connect via SSH/putty or plugin a monitor/keyboard to install piaware.

This might be a good place to start looking how to do that:
Raspberry Pi Documentation - Getting started

1 Like

Yep, figured as much! I’ll probably do some playing around with it until then, I’ve got Buster installed now.

Working on installing piaware and dump1090-fa now.

1 Like

There really isn’t any reason to use the piaware sd-card image if you manage to use a standard Raspbian.
The sd-card image is made so that you never need to use the console of the RPi basically.

If you have console access installing piaware should be really easy :slight_smile:

1 Like

Good point. Just installed both and I’ll see what I get.

Edit: yeah, not seeing anything on the 8080 page, or even in the console when running view1090-fa - Hmm… joys of being the first few to own the 4? lol

1 Like

It worked fine for Keithma.

He did this:

wget http://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.7.1_all.deb
sudo dpkg -i piaware-repository_3.7.1_all.deb
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt install piaware
sudo apt install dump1090-fa

You should run each command individually and check for errors along the way.

1 Like

Sorry, I should have been more specific and said that I’m not getting data. Piaware and dump1090 are installed fine now.

Also getting this, like Keithma

sudo rtl_test
Found 1 device(s):
0: Realtek, RTL2832U, SN: 00001000

Using device 0: Generic RTL2832U
Detached kernel driver
rtlsdr_read_reg failed with -7
rtlsdr_write_reg failed with -7
rtlsdr_read_reg failed with -7
rtlsdr_write_reg failed with -7
rtlsdr_read_reg failed with -7
rtlsdr_write_reg failed with -7
rtlsdr_read_reg failed with -7
rtlsdr_write_reg failed with -7

1 Like

Ah, yeah that more or less confirms it being a driver issue.
Do you by chance have the official power supply?

Or it could be a systemic voltage issue with the USB ports not providing adequate power.

1 Like

Yep. Have the official USB-C power supply. Same issue. Currently have it on a OnePlus PSU which should be plenty of juice as well.

1 Like

Any chance you have a powered USB hub handy that you could try.

dongle into the hub, hub into the pi.

1 Like

Unfortunately nope :frowning:

1 Like

Don’t suppose keithma or you have one of those :slight_smile:

image

1 Like

I’ve got one, along with a pi 4.
I’ll check the voltage out at the USB ports tomorrow if nobody else does it before then.

1 Like