Hi Guys,
i have recently seen problems with dump1090 running on my Pi. The dump1090 process hangs after some time, usually many hours after a fresh boot of the Pi. Restarting the fr24 script (which will stop and restart dump1090 and the fr24 feeder program) will start the decoder but it usually hangs again in a few minutes. Even rebooting the Pi doesn't seem to help much. What does help is sutting down everything for some time (15 minutes to an hour maybe) after which is works for a longer time (cooling issue??).
In some cases, dump1090 refuses to start up after a few reboots/restarts, and dumps a huge error list (read/write errors) as shown below:
Now starting dump1090
done
Now starting FR24 Feed
done
pi@raspberrypi ~ $ Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001 (currently selected) - // this is normal output from dump1090
rtlsdr_demod_read_reg failed with -1
rtlsdr_demod_write_reg failed with -1
## these errors occur multiple times, followed by...
rtlsdr_read_reg failed with -1
rtlsdr_write_reg failed with -1
## again, many times, followed by...
No supported tuner found
rtlsdr_demod_write_reg failed with -1
rtlsdr_demod_read_reg failed with -1
Enabled direct sampling mode, input 1
rtlsdr_demod_write_reg failed with -1
rtlsdr_demod_read_reg failed with -1
Max available gain is: 0.00 - // this is normal output from dump1090, but gain is showing as 0
Setting gain to: 0.00 - // this is normal output from dump1090, same as above - normally this is not zero but the max gain of 49.9 dB (I think).
rtlsdr_demod_write_reg failed with -1
rtlsdr_demod_read_reg failed with -1
Exact sample rate is: 2000000.052982 Hz - // this is normal output from dump1090
rtlsdr_demod_write_reg failed with -1
rtlsdr_demod_read_reg failed with -1
rtlsdr_write_reg failed with -1
rtlsdr_write_reg failed with -1
Gain reported by device: 0.00 - // this is normal output from dump1090, but gain is 0 again
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
The blank lines have been added by me and multiple repetitions of the same errors removed to reduce the text here. After this, there is no output from dump1090 until i shutdown / restart the Pi.
Some recearch into the read/write errors seems to indicate that this is a power problem, which happens only if the DVB-T USB stick is directly powered from the Pi port and goes away if powered via an external USB hub. I'm only using the tuner and a wifi adapter from Edimax with the Pi right now, so I'm not sure if this is the problem, but I'm going to try with the external hub again (which I had removed a few days ago) to see if this is indeed a power problem. I have a verion B Pi board, so I don;t think this is a currnt limitng fuse probem, but just trying to make sure.
Anyone else ever seen this type of behaviour before? Any inputs will be useful.
Thanks
Jayant
i have recently seen problems with dump1090 running on my Pi. The dump1090 process hangs after some time, usually many hours after a fresh boot of the Pi. Restarting the fr24 script (which will stop and restart dump1090 and the fr24 feeder program) will start the decoder but it usually hangs again in a few minutes. Even rebooting the Pi doesn't seem to help much. What does help is sutting down everything for some time (15 minutes to an hour maybe) after which is works for a longer time (cooling issue??).
In some cases, dump1090 refuses to start up after a few reboots/restarts, and dumps a huge error list (read/write errors) as shown below:
Now starting dump1090
done
Now starting FR24 Feed
done
pi@raspberrypi ~ $ Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001 (currently selected) - // this is normal output from dump1090
rtlsdr_demod_read_reg failed with -1
rtlsdr_demod_write_reg failed with -1
## these errors occur multiple times, followed by...
rtlsdr_read_reg failed with -1
rtlsdr_write_reg failed with -1
## again, many times, followed by...
No supported tuner found
rtlsdr_demod_write_reg failed with -1
rtlsdr_demod_read_reg failed with -1
Enabled direct sampling mode, input 1
rtlsdr_demod_write_reg failed with -1
rtlsdr_demod_read_reg failed with -1
Max available gain is: 0.00 - // this is normal output from dump1090, but gain is showing as 0
Setting gain to: 0.00 - // this is normal output from dump1090, same as above - normally this is not zero but the max gain of 49.9 dB (I think).
rtlsdr_demod_write_reg failed with -1
rtlsdr_demod_read_reg failed with -1
Exact sample rate is: 2000000.052982 Hz - // this is normal output from dump1090
rtlsdr_demod_write_reg failed with -1
rtlsdr_demod_read_reg failed with -1
rtlsdr_write_reg failed with -1
rtlsdr_write_reg failed with -1
Gain reported by device: 0.00 - // this is normal output from dump1090, but gain is 0 again
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
The blank lines have been added by me and multiple repetitions of the same errors removed to reduce the text here. After this, there is no output from dump1090 until i shutdown / restart the Pi.
Some recearch into the read/write errors seems to indicate that this is a power problem, which happens only if the DVB-T USB stick is directly powered from the Pi port and goes away if powered via an external USB hub. I'm only using the tuner and a wifi adapter from Edimax with the Pi right now, so I'm not sure if this is the problem, but I'm going to try with the external hub again (which I had removed a few days ago) to see if this is indeed a power problem. I have a verion B Pi board, so I don;t think this is a currnt limitng fuse probem, but just trying to make sure.
Anyone else ever seen this type of behaviour before? Any inputs will be useful.
Thanks
Jayant
Comment