How to add-on 978 MHz dump978-fa, etc. with Buster and PiAware 3.8?

I started here and decided to add the UAT 978. I received most everything today and decided to give it a try.

I currently have a RasPi 2B running Buster Lite (Sep 2019 image), with PiAware 3.8 (not the SD card image) and plugged into a blue FA Pro Stick Plus. I started with Do you want to link your with dump1090 to FlightAware? to get up & running. This has been running since Dec 28 and all is working really well! :grinning:

I just added an orange FA Pro Stick. I changed the serial numbers but I cannot figure out how to properly install dump978-fa.

I went back to the Do you want to link your with dump1090 to FlightAware? page and started with step #4. And that may have been my first big mistake!

I got these errors:

pi@piaware:~ $ sudo apt-get install dump978-fa
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 dump978-fa : Depends: libsoapysdr0.5-2 but it is not installable
              Recommends: skyaware978 but it is not going to be installed
              Recommends: soapysdr-module-rtlsdr but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

 

So then I picked on skyaware978 (but I have no idea what this is or what it does!):

pi@piaware:~ $ sudo apt-get install skyaware978
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  skyaware978
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,701 kB of archives.
After this operation, 9,522 kB of additional disk space will be used.
Get:1 http://flightaware.com/adsb/piaware/files/packages stretch/piaware armhf skyaware978 armhf 3.8.0~bpo9+1 [1,701 kB]
Fetched 1,701 kB in 4s (466 kB/s)      
Selecting previously unselected package skyaware978.
(Reading database ... 44992 files and directories currently installed.)
Preparing to unpack .../skyaware978_3.8.0~bpo9+1_armhf.deb ...
Unpacking skyaware978 (3.8.0~bpo9+1) ...
Setting up skyaware978 (3.8.0~bpo9+1) ...
Enabling lighttpd integration..
Enabling skyaware978: ok
Run "service lighttpd force-reload" to enable changes
Restarting lighttpd..
Created symlink /etc/systemd/system/dump978-fa.service.wants/skyaware978.service → /lib/systemd/system/skyaware978.service.

 

So then I picked on soapysdr-module-rtlsdr (again I have no idea what this is or what it does!):

pi@piaware:~ $ sudo apt-get install soapysdr-module-rtlsdr
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libsoapysdr0.6 soapysdr0.6-module-rtlsdr
The following NEW packages will be installed:
  libsoapysdr0.6 soapysdr-module-rtlsdr soapysdr0.6-module-rtlsdr
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 87.8 kB of archives.
After this operation, 296 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirror.pit.teraswitch.com/raspbian/raspbian buster/main armhf libsoapysdr0.6 armhf 0.6.1-4+b4 [56.7 kB]
Get:2 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf soapysdr0.6-module-rtlsdr armhf 0.2.5-1 [29.9 kB]
Get:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf soapysdr-module-rtlsdr armhf 0.2.5-1 [1,140 B]
Fetched 87.8 kB in 2s (37.5 kB/s)                  
Selecting previously unselected package libsoapysdr0.6:armhf.
(Reading database ... 45555 files and directories currently installed.)
Preparing to unpack .../libsoapysdr0.6_0.6.1-4+b4_armhf.deb ...
Unpacking libsoapysdr0.6:armhf (0.6.1-4+b4) ...
Selecting previously unselected package soapysdr0.6-module-rtlsdr:armhf.
Preparing to unpack .../soapysdr0.6-module-rtlsdr_0.2.5-1_armhf.deb ...
Unpacking soapysdr0.6-module-rtlsdr:armhf (0.2.5-1) ...
Selecting previously unselected package soapysdr-module-rtlsdr:armhf.
Preparing to unpack .../soapysdr-module-rtlsdr_0.2.5-1_armhf.deb ...
Unpacking soapysdr-module-rtlsdr:armhf (0.2.5-1) ...
Setting up libsoapysdr0.6:armhf (0.6.1-4+b4) ...
Setting up soapysdr0.6-module-rtlsdr:armhf (0.2.5-1) ...
Setting up soapysdr-module-rtlsdr:armhf (0.2.5-1) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
pi@piaware:~ $ 

To me it ended odd but there are no errors…

 

So then I tried dump978-fa again…

pi@piaware:~ $ sudo apt-get install dump978-fa
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 dump978-fa : Depends: libsoapysdr0.5-2 but it is not installable

…and got the dump978-fa : Depends: libsoapysdr0.5-2 but it is not installable error.

From reading the FA Discourse/forum it looks like I may need to compile something. But should this be part of the Do you want to link your with dump1090 to FlightAware page? What did I miss?!?

I’ve never compiled anything for a RasPi and so I’m way over my head here. Any help would be great!

probably too slow to run dump978 and dump1090 at the same time.

---- edit: misread.

Try

sudo apt purge piaware-repository

Install the current piaware repository
PiAware - dump1090 ADS-B integration with FlightAware - FlightAware

sudo apt dist-upgrade

Try again …

1 Like

no joy…

pi@piaware:~ $ sudo apt purge piaware-repository
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  piaware-repository*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 22.5 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 45572 files and directories currently installed.)
Removing piaware-repository (3.8.0~bpo9+1) ...
(Reading database ... 45570 files and directories currently installed.)
Purging configuration files for piaware-repository (3.8.0~bpo9+1) ...

pi@piaware:~ $ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

pi@piaware:~ $ sudo apt-get install dump978-fa
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package dump978-fa is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'dump978-fa' has no installation candidate

Edit:
Oops missed a step. Start at Step #2?

@JonMu

wget https://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.8.0_all.deb

sudo dpkg -i piaware-repository_3.8.0_all.deb

sudo apt-get update

sudo apt-get install dump978-fa

1 Like

That worked! Anything else to install?

pi@piaware:~ $ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

pi@piaware:~ $ wget https://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.8.0_all.deb
--2020-01-19 17:07:19--  https://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.8.0_all.deb
Resolving flightaware.com (flightaware.com)... 70.42.6.250
Connecting to flightaware.com (flightaware.com)|70.42.6.250|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5792 (5.7K) [application/x-debian-package]
Saving to: ‘piaware-repository_3.8.0_all.deb’

piaware-repository_3.8.0_all.deb 100%[==========================================================>]   5.66K  --.-KB/s    in 0s      

2020-01-19 17:07:19 (24.1 MB/s) - ‘piaware-repository_3.8.0_all.deb’ saved [5792/5792]

pi@piaware:~ $ sudo dpkg -i piaware-repository_3.8.0_all.deb
Selecting previously unselected package piaware-repository.
(Reading database ... 45568 files and directories currently installed.)
Preparing to unpack piaware-repository_3.8.0_all.deb ...
Unpacking piaware-repository (3.8.0) ...
Setting up piaware-repository (3.8.0) ...

pi@piaware:~ $ sudo apt-get update
Get:1 http://flightaware.com/adsb/piaware/files/packages buster InRelease [1,858 B]
Hit:2 http://archive.raspberrypi.org/debian buster InRelease                     
Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
Get:4 http://flightaware.com/adsb/piaware/files/packages buster/piaware armhf Packages [4,093 B]
Fetched 5,951 B in 6s (985 B/s)                                                                                                    
Reading package lists... Done

pi@piaware:~ $ sudo apt-get install dump978-fa
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libboost-filesystem1.67.0 libboost-program-options1.67.0 libboost-regex1.67.0 libboost-system1.67.0
The following NEW packages will be installed:
  dump978-fa libboost-filesystem1.67.0 libboost-program-options1.67.0 libboost-regex1.67.0 libboost-system1.67.0
0 upgraded, 5 newly installed, 0 to remove and 3 not upgraded.
Need to get 1,385 kB of archives.
After this operation, 10.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://flightaware.com/adsb/piaware/files/packages buster/piaware armhf dump978-fa armhf 3.8.0 [142 kB]
Get:2 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libboost-system1.67.0 armhf 1.67.0-13 [228 kB]
Get:3 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libboost-filesystem1.67.0 armhf 1.67.0-13 [254 kB]
Get:4 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libboost-program-options1.67.0 armhf 1.67.0-13 [330 kB]
Get:5 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libboost-regex1.67.0 armhf 1.67.0-13 [430 kB]
Fetched 1,385 kB in 3s (429 kB/s)             
Selecting previously unselected package libboost-system1.67.0:armhf.
(Reading database ... 45572 files and directories currently installed.)
Preparing to unpack .../libboost-system1.67.0_1.67.0-13_armhf.deb ...
Unpacking libboost-system1.67.0:armhf (1.67.0-13) ...
Selecting previously unselected package libboost-filesystem1.67.0:armhf.
Preparing to unpack .../libboost-filesystem1.67.0_1.67.0-13_armhf.deb ...
Unpacking libboost-filesystem1.67.0:armhf (1.67.0-13) ...
Selecting previously unselected package libboost-program-options1.67.0:armhf.
Preparing to unpack .../libboost-program-options1.67.0_1.67.0-13_armhf.deb ...
Unpacking libboost-program-options1.67.0:armhf (1.67.0-13) ...
Selecting previously unselected package libboost-regex1.67.0:armhf.
Preparing to unpack .../libboost-regex1.67.0_1.67.0-13_armhf.deb ...
Unpacking libboost-regex1.67.0:armhf (1.67.0-13) ...
Selecting previously unselected package dump978-fa.
Preparing to unpack .../dump978-fa_3.8.0_armhf.deb ...
Unpacking dump978-fa (3.8.0) ...
Setting up libboost-program-options1.67.0:armhf (1.67.0-13) ...
Setting up libboost-regex1.67.0:armhf (1.67.0-13) ...
Setting up libboost-system1.67.0:armhf (1.67.0-13) ...
Setting up libboost-filesystem1.67.0:armhf (1.67.0-13) ...
Setting up dump978-fa (3.8.0) ...
Adding user `dump978' to group `plugdev' ...
Adding user dump978 to group plugdev
Done.
Created symlink /etc/systemd/system/default.target.wants/dump978-fa.service → /lib/systemd/system/dump978-fa.service.
Processing triggers for libc-bin (2.28-10+rpi1) ...
pi@piaware:~ $ 

Configuration

sudo piaware-config uat-receiver-type sdr
sudo sed -i 's/--device-index 0/--device-index 00001090/' /etc/default/dump1090-fa
sudo sed -i 's/driver=rtlsdr/driver=rtlsdr,serial=00000978/' /etc/default/dump978-fa
sudo reboot  
2 Likes

The Configuration went A-OK! Yay! Thank you!

Do I need to claim anything via FA?

Do anything extra with dump1090 or tar1090 (both are already installed last week)

 

EDIT: I think all is working A-OK. No GA/UAT planes to look at. Maybe tomorrow if the weather improves.

1 Like

I am waiting for this tomorrow since last four weeks :wink:
Toronto very rarely gets UAT flights

Us also! Today was nice and sunny but cold. Every other day is overcast.

I can see my first GA/UAT plane! Life is good!

So the TL;DR here was that you had the Stretch repository package installed, and the libraries that the Stretch dump978-fa package requires are not available on Buster (buster has a newer version); installing the correct repository package got you the Buster dump978-fa package which has dependencies that match the rest of Buster.

2 Likes

so should What’s needed be updated to Stretch instead of Buster?


 

EDIT:
Ugh! Never mind! I did grab the wrong repository!

pi@raspberrypi:~ $ wget http://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.8.0~bpo9+1_all.deb

No, those instructions are correct.

(They were updated about a week ago; before the update they said Stretch + the bpo9 package, which was also correct - but not very useful if you were on Buster)

1 Like

My PiAware rebuild from scratch was on Jan 5. So maybe we just crossed update paths.

I think things are mostly working… I only see about 1 plane an hour. And I can only see planes within 1 nm of my location. I am still waiting for a proper antenna to arrive so I’m not overly worried :worried: . . . . . . . yet!.

Both of the dongles (i.e., the blue FA Pro Stick Plus and the orange FA Pro Stick) are plugged into one RasPi2B.

So with the new UAT978 will I see a separate My ADB-S stats page? I see lots of data on My ADB-S stats page. But no data related to UAT.

Note: On the My ADB-S stats page I do see Web Interface: View live 978 data (requires local network connection)

2 receivers is something only a RPi3 or later will handle.

You should see UAT stats start populating in the next few days - we have some changes to support this that are close to release.

3 Likes

Does the RPi2B have too much USB traffic with 2 receivers? (performance graphs below)

I think I can move RPIs around and make a RPI3B available. Is there any value in using a RPi4B or is it a waste of extra resources?

Is there a web page or FAQ on requirements for 2 receivers? I looked but did not locate anything.

Oh i was mistaken, 2B was already quad core.

Should be fine then.

Also misunderstood when you said low range, i thought you meant 1090.
The graphs for UAT don’t look too terrible, believe it or not :wink:

Turn down the gain for UAT a bit, the decoder doesn’t work well with high gain.

1 Like

Looks like the default was 49.6 dB. I just picked a gain number out of the air and set it to 40.2 dB.

pi@piaware:~ $ cat /etc/default/dump978-fa | grep gain
RECEIVER_OPTIONS="--sdr driver=rtlsdr,serial=00000978 --sdr-gain 40.2 --format CS8"

I’m not sure how to set a UAT978 receiver to the optimized gain… But I did see a few planes out 10nm!

Excellent! I’ll keep an eye out for it! Is this a change on the FA stats web page? Or something that downloads & updates PiAware?