pi@piaware:~ $ piaware-status
PiAware master process (piaware) is running with pid 559.
PiAware ADS-B client (faup1090) is not running.
PiAware ADS-B UAT client (faup978) is running with pid 3776.
PiAware mlat client (fa-mlat-client) is not running.
Local ADS-B receiver (dump1090) is not running.
Local ADS-B UAT receiver (dump978-fa) is running with pid 2399.
no program appears to be listening for ES connections on port 30005.
dump978-fa (pid 2399) is listening for UAT connections on port 30978.
faup1090 is NOT connected to the ADS-B receiver.
faup978 is connected to the ADS-B UAT receiver.
piaware is connected to FlightAware.
got 'couldn't open socket: connection refused'
dump1090 is NOT producing data on localhost:30005.
dump978 is producing data on localhost:30978.
I’m not sure what happened, both dongles were working after the upgrade but before the reboot. The 1090 stopped after I rebooted. I have reconnected the 1090 usb dongle and plugged it back in. I have reboot several times.
Any advice? or should I just start over from the beginning?
Is your your dongle still equipped with the serial number ? or is piaware trying to grab the same dongle twice and thus failing since it is already in use by dump978-fa ?
Thanks for the reply.
I disconnected the 978 dongle and dump1090 started running again.
So it seems I may have lost the serial numbers for the dongles.
After breakfast I’ll see if I can find the commands to check and set it if needed.
Edit:
Both devices still had their respective serial numbers.
I swapped usb slots that the dongles were plugged into. dump1090 and dump978 are now running.
pi@piaware:~ $ rtl_test -t
Found 2 device(s):
0: Realtek, RTL2832U, SN: 00000978
1: Realtek, RTL2832U, SN: 00001090
Using device 0: Generic RTL2832U
usb_claim_interface error -6
Failed to open rtlsdr device #0.
pi@piaware:~ $ piaware-status
PiAware master process (piaware) is running with pid 539.
PiAware ADS-B client (faup1090) is running with pid 976.
PiAware ADS-B UAT client (faup978) is running with pid 2982.
PiAware mlat client (fa-mlat-client) is running with pid 1305.
Local ADS-B receiver (dump1090-fa) is running with pid 527.
Local ADS-B UAT receiver (dump978-fa) is running with pid 2035.
dump1090-fa (pid 527) is listening for ES connections on port 30005.
dump978-fa (pid 2035) is listening for UAT connections on port 30978.
faup1090 is connected to the ADS-B receiver.
faup978 is connected to the ADS-B UAT receiver.
piaware is connected to FlightAware.
dump978 is producing data on localhost:30978.
dump1090 is producing data on localhost:30005.
Not sure what happened, thanks for the point in the right direction.
Seems during upgrade, the serialization settings of piiaware were lost. If this is the case, then even if it is now working ok, in any of future reboots, the problem may reccur.
It is better to issue config commands to restore serialization settings of piaware, and prevent this happening in future reboots.
The serialization config commands are given bellow:
sudo piaware-config rtlsdr-device-index 00001090
sudo piaware-config uat-sdr-device driver=rtlsdr,serial=00000978
# Reboot Pi to implement configuration settings
sudo reboot
pi@piaware:~ $ piaware-config
adaptive-dynamic-range no # value set at /boot/piaware-config.txt:96
allow-auto-updates yes # value set at /boot/piaware-config.txt:67
allow-manual-updates yes # value set at /boot/piaware-config.txt:71
allow-mlat yes # value set at /boot/piaware-config.txt:75
allow-modeac yes # value set at /boot/piaware-config.txt:79
feeder-id ou812 # value set at /boot/piaware-config.txt:84
image-type piaware # value set at /usr/share/piaware-support/piaware-image-config.txt:5
manage-config yes # value set at /usr/share/piaware-support/piaware-image-config.txt:4
network-config-style buster # value set at /usr/share/piaware-support/piaware-image-config.txt:6
rfkill yes # value set at /boot/piaware-config.txt:95
rtlsdr-device-index 00001090 # value set at /boot/piaware-config.txt:86
rtlsdr-gain 43.4 # value set at /boot/piaware-config.txt:60
uat-receiver-type sdr # value set at /boot/piaware-config.txt:85
uat-sdr-device driver=rtlsdr,serial=00000978 # value set at /boot/piaware-config.txt:87
uat-sdr-gain 28.0 # value set at /boot/piaware-config.txt:94