Updated to 7.2 PiAware software and have the same problem reported by winsortc (June "21) in Dump978-fa reports USB_Claim_Interface error -6 thread.
The 978 dongle will not connect to device 0.
Ran rtl_test -t and found
Found 2 device(s):
0: Realtek, RTL2832U, SN: 00001090
1: Realtec, RTL2832U, SN: 00000978
Using device 0: Generic RTL2832U
usb_claim_interface error -6
Failed to open rtlsdr device #0
pi@piaware:- $ sudo piaware-status
PiAware master process (piaware) is running with pid 459.
PiAware ADS-B client (faup1090) is running with pid 1910.
PiAware ADS-B UAT client (faup978 is not running.
PiAware mlat client (fa-mlat-client) is running with pid 908.
Local ADS-B reciever (dump1090-fa) is running with pid 1864.
Local ADS-B UAT reciever (dump978) is not running.
dump1090-fa (pid 1864) is listening for ES connections on port 30005.
no program appears to be listening for UAT connections on port 30978.
faup978 is NOT connected to the ADS-B UAT receiver.
piaware is connected to FlightAware.
got ‘couldn’t open socket: connection refused’
dump978 in NOT producing data on localhost::30978.
dump1090 is producing data on localhost::30005.
Your feeder ID is e79350df-5b41-4e09-517c-6aaac3e65571 (configured at /boot/piaware-config.txt:12)
Device #0 (Serial #00001090) is NOT dongle for dump978-fa, it is dongle for dump1090-fa
Test failed to open device #0 because device 0 is being used ny dump1090-fa. It has nothing to do with dump978-fa, which uses device #1 (serial # 00000978)
Plugged in 978 dongle by itself on Nov 10th and it returned results to FlightAware. According to Old Posts about subject 978 dongle wants to be device 0 and won’t connect if it’s not.
What happened with Update 7.2? It’s been working fine with prior updates.
See results attached.
Yes, that is the reason for failure of dump978-fa.
As you have piaware SD card image, do NOT make any changes in file /etc/default/dump978-fa, as it will be overwritten on boot. Make changes in config using command sudo piaware-config as follows:
NOTE: To prevent mistake in the serial number, do NOT type the command. Instead copy-paste from below
Performed the code entries you requested. You did mean for the third command to be sudo systemctl restart dump978-fa (and not the dump878-fa)?
Skyaware978 now shows as device 0 and the map is present but no targets reported. Current weather is not good for small aircraft that aren’t certified for flight into known icing, Will monitor results to see if flights log when weather improves.
Never made any changes in file /etc/default/dump978-fa Also, if the Pi is rebooted will the above commands have to be reinstalled?
Changes most likely happened due to malfuntion during upgrade. Anyway if a correct value is saved in file /boot/piaware-config.txt , the error will be overwritten by correct value on reboot
As you have Piaware SD card image, you dont have to issue sudo piaware-config commands again. The changes in file /etc/default/dump978-fa and /etc/default/dump1090-fa are not permanent. These get over-written on boot by the values saved in file /boot/piaware-config.txt.
To see the settings saved in file /boot/piaware-config.txt, open it in nano editor
pi@piaware:~ $ sudo nano /boot/piaware-config.txt
When above file opens in nano editor, scroll down to it’s bottom. You will see the saved settings: