Skip to content

Piaware stops reporting every day or two #115

@larduino

Description

@larduino

My piaware is running on pizero2w . It would run for quite awhile, but then would quit reporting . When I re-powered the pi everything worked okay again for a few days , then again stop reporting. I did this for months thinking maybe the cheap aliexpress adsb dongle might be failing , or bad power supply , etc. I monitored voltage and all was good as was the power draw.
Today I asked Google Gemini AI for help and so far it seems to have helped solve the problem - we will see in a few days.
It basically said there was a issue with drivers . AI answer below

"I have found the problem in your dmesg log, and it’s a classic conflict between the Raspberry Pi’s default "TV Tuner" drivers and the "ADS-B" software.

Look at these lines from your log: [ 10.604706] usb 1-1: dvb_usb_v2: found a 'Realtek RTL2832U reference design' in warm state [ 11.010926] usbcore: registered new interface driver dvb_usb_rtl28xxu
The Diagnosis

Your Raspberry Pi is loading the standard Linux TV/Radio drivers (dvb_usb_rtl28xxu). When these drivers "grab" the dongle to look for TV signals, they lock the device. When your ADS-B software (dump1090-fa) tries to talk to the dongle, the Pi says, "Sorry, the TV driver is already using this," and dump1090-fa crashes with the "no supported devices found" error you saw earlier.

On a Pi Zero 2W using an OTG splitter, this is even more common because the timing of USB discovery can cause these drivers to jump in before PiAware's blacklist can stop them.
The Fix: Blacklisting the TV Drivers

We need to tell the Pi to never, ever load the DVB (Digital Video Broadcast) drivers.

Create a blacklist file: sudo nano /etc/modprobe.d/adsb-blacklist.conf

Paste the following lines into that file:
Plaintext

blacklist dvb_usb_rtl28xxu
blacklist rtl2832
blacklist rtl2830

Save and Exit: Press Ctrl+O, Enter, then Ctrl+X.

Reboot the Pi: sudo reboot 

"
It also had me setup a python code to monitor for issue and then fix it automatically and send me an email alerting me.
I just thought I would pass this along in case it is any help .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions