I have a Nooelec NESDR Mini R820T SDR & DVB-T dongle using with Raspberry pi, which has been working fine for few months, suddenly stopped generating any data.
have already tried to power cycle the whole setup twice.
Wanted to see if this indicates a likely failure with the dongle or some level of further troubleshooting can be done?
Setup and version details are below:
$ cat /sys/firmware/devicetree/base/model
Raspberry Pi 5 Model B Rev 1.0
$ cat /etc/*-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
$ dump1090-fa --version
-----------------------------------------------------------------------------
| dump1090 ModeS Receiver dump1090-fa 9.0 |
| build options: ENABLE_RTLSDR ENABLE_BLADERF ENABLE_HACKRF ENABLE_LIMESDR |
-----------------------------------------------------------------------------
detected runtime CPU features:
selected DSP implementations:
magnitude_uc8 neon_vrsqrte_armv8_neon_simd
magnitude_uc8_aligned neon_vrsqrte_armv8_neon_simd
magnitude_power_uc8 neon_vrsqrte_armv8_neon_simd
magnitude_power_uc8_aligned neon_vrsqrte_armv8_neon_simd
magnitude_sc16 neon_vrsqrte_armv8_neon_simd
magnitude_sc16_aligned neon_vrsqrte_armv8_neon_simd
magnitude_sc16q11 neon_vrsqrte_armv8_neon_simd
magnitude_sc16q11_aligned neon_vrsqrte_armv8_neon_simd
mean_power_u16 u32_armv8_neon_simd
mean_power_u16_aligned u32_armv8_neon_simd
count_above_u16 generic_armv8_neon_simd
count_above_u16_aligned generic_armv8_neon_simd_aligned
$ piaware -v
9.0.1
Following logs are observed for dump1909-fa from which don’t see anything stand out
Apr 29 16:14:01 octopi dump1090-fa[881]: Mon Apr 29 16:14:01 2024 IST dump1090-fa 9.0 starting up.
Apr 29 16:14:01 octopi dump1090-fa[881]: rtlsdr: using device #0: Generic RTL2832U OEM (Realtek, RTL2838UHIDIR, SN 00000001)
Apr 29 16:14:01 octopi dump1090-fa[881]: Detached kernel driver
Apr 29 16:14:01 octopi dump1090-fa[881]: Found Rafael Micro R820T tuner
Apr 29 16:14:01 octopi dump1090-fa[881]: rtlsdr: tuner gain set to about 58.6 dB (gain step 29) (tuner AGC enabled)
Apr 29 16:14:01 octopi dump1090-fa[881]: adaptive: using 50% duty cycle
Apr 29 16:14:01 octopi dump1090-fa[881]: adaptive: enabled adaptive gain control with gain limits 0.0dB (step 0) .. 58.6dB (step 29)
Apr 29 16:14:01 octopi dump1090-fa[881]: adaptive: enabled dynamic range control, target dynamic range 30.0dB
Apr 29 16:14:01 octopi dump1090-fa[881]: adaptive: enabled burst control
Apr 29 16:14:01 octopi dump1090-fa[881]: Allocating 4 zero-copy buffers
Apr 29 16:14:11 octopi dump1090-fa[881]: adaptive: reached upper gain limit, halting dynamic range scan here
from the piaware logs I can see its not getting any data
Apr 29 16:14:07 octopi piaware[1274]: creating pidfile /run/piaware/piaware.pid
Apr 29 16:14:07 octopi piaware[1274]: ****************************************************
Apr 29 16:14:07 octopi piaware[1274]: piaware version 9.0.1 is running, process ID 1274
Apr 29 16:14:07 octopi piaware[1274]: your system info is: Linux octopi 6.1.0-rpi7-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux
Apr 29 16:14:09 octopi piaware[1274]: Connecting to FlightAware adept server at piaware.flightaware.com/1200
Apr 29 16:14:09 octopi piaware[1274]: Connection with adept server at piaware.flightaware.com/1200 established
Apr 29 16:14:09 octopi piaware[1274]: TLS handshake with adept server at piaware.flightaware.com/1200 completed
Apr 29 16:14:09 octopi piaware[1274]: FlightAware server certificate validated
Apr 29 16:14:09 octopi piaware[1274]: encrypted session established with FlightAware
Apr 29 16:14:10 octopi piaware[1274]: ADS-B data program 'dump1090-fa' is listening on port 30005, so far so good
Apr 29 16:14:10 octopi piaware[1274]: Starting faup1090: /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout --lat 12.899 --lon 77.709
Apr 29 16:14:10 octopi piaware[1274]: Started faup1090 (pid 1598) to connect to dump1090-fa
Apr 29 16:14:10 octopi piaware[1274]: UAT support disabled by local configuration setting: uat-receiver-type
Apr 29 16:14:10 octopi piaware[1274]: adept reported location: 12.89878, 77.70895, 150ft AMSL
Apr 29 16:14:10 octopi piaware[1274]: multilateration data requested
Apr 29 16:14:10 octopi piaware[1274]: Starting multilateration client: /usr/lib/piaware/helpers/fa-mlat-client --input-connect localhost:30005 --input-type dump1090 --results beast,connect,localhost:30104 --results beast,listen,30105 --results ext_basestation,listen,30106 --udp-transport 206.253.84.198:19597:1230057416
Apr 29 16:14:10 octopi piaware[1274]: mlat-client(1601): fa-mlat-client 0.2.13 starting up
Apr 29 16:14:10 octopi piaware[1274]: mlat-client(1601): Using UDP transport to 206.253.84.198 port 19597
Apr 29 16:14:10 octopi piaware[1274]: mlat-client(1601): Listening for Beast-format results connection on port 30105
Apr 29 16:14:10 octopi piaware[1274]: mlat-client(1601): Listening for Extended Basestation-format results connection on port 30106
Apr 29 16:14:10 octopi piaware[1274]: mlat-client(1601): Route MTU changed to 1500
Apr 29 16:14:10 octopi piaware[1274]: mlat-client(1601): Input connected to localhost:30005
Apr 29 16:14:10 octopi piaware[1274]: mlat-client(1601): Input format changed to BEAST, 12MHz clock
Apr 29 16:14:11 octopi piaware[1274]: mlat-client(1601): Beast-format results connection with ::1:30104: connection established
Apr 29 16:14:42 octopi piaware[1274]: 0 msgs recv'd from dump1090-fa; 0 msgs sent to FlightAware
Apr 29 16:19:25 octopi piaware[1274]: mlat-client(1601): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
Apr 29 16:19:25 octopi piaware[1274]: mlat-client(1601): Input connected to localhost:30005
Apr 29 16:19:25 octopi piaware[1274]: mlat-client(1601): Input format changed to BEAST, 12MHz clock
Apr 29 16:19:42 octopi piaware[1274]: 0 msgs recv'd from dump1090-fa (0 in last 5m); 0 msgs sent to FlightAware
Apr 29 16:24:42 octopi piaware[1274]: 0 msgs recv'd from dump1090-fa (0 in last 5m); 0 msgs sent to FlightAware
Apr 29 16:19:25 octopi piaware[1274]: mlat-client(1601): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
no under voltage issues seen
Status: 0x0
Undervolted:
Now: NO
Run: NO
Throttled:
Now: NO
Run: NO
Frequency Capped:
Now: NO
Run: NO
Softlimit:
Now: NO
Run: NO
I do see PLL not locked, is that again indicative of dongle failure?
881 /usr/bin/dump1090-fa --quiet --device-type rtlsdr --gain 60 --adaptive-range --adaptive-burst --fix --lat 12.8987 --lon 77.7090 --max-range 360 --net-ro-port 30002 --net-sbs-port 30003 --net-bi-port 30004,30104 --net-bo-port 30005 --json-location-accuracy 1 --write-json /run/dump1090-fa
-----
Lost samples in the first 2 seconds after starting the test are common and not a problem!
Starting 30 second rtl_test, standby!
-----
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001
Using device 0: Generic RTL2832U OEM
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 2400000 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 48 bytes
Signal caught, exiting!
User cancel, exiting...
Samples per million lost (minimum): 0
-------
Test finished!
More than 2 lost samples per million or other errors probably mean the receiver isn't working correctly.
Try another power supply before condemning the receiver though!
-------
-------
No undervoltage detected, looking fine!
If the dongle is not directly plugged into the Raspberry Pi, lack of power/voltage could still be an issue.
Even without detected undervoltage a better power supply can often improve reception!
For optimum performance i would recommend the Official Raspberry Pi power supply.