Version 3.7.0 of dump1090-fa & Piaware

NO

pi@orangepipc:~$ apt-cache policy soapysdr-module-rtlsdr 

soapysdr-module-rtlsdr:
  Installed: (none)
  Candidate: 0.2.2-2
  Version table:
     0.2.2-2 500
        500 http://httpredir.debian.org/debian stretch/main armhf Packages

EDIT:

pi@orangepipc:~$ sudo apt-get install soapysdr-module-rtlsdr

pi@orangepipc:~$ apt-cache policy soapysdr-module-rtlsdr
soapysdr-module-rtlsdr:
  Installed: 0.2.2-2
  Candidate: 0.2.2-2
  Version table:
 *** 0.2.2-2 500
        500 http://httpredir.debian.org/debian stretch/main armhf Packages
        100 /var/lib/dpkg/status

Oh well gotta remember that error then :slight_smile:

std::exception::what: SoapySDR::Device::make() no match

This probably means it didn’t find a matching SoapySDR driver/module.

Thanks @wiedehopf

After these command:

sudo apt-get install soapysdr-module-rtlsdr 
sudo reboot

.
It is fixed :slightly_smiling_face:
(I will now add soapysdr-module-rtlsdr to step 3.1 of post #50 of this thread)

pi@orangepipc:~$ sudo systemctl status dump978-fa 

● dump978-fa.service - dump978 ADS-B UAT receiver
   Loaded: loaded (/lib/systemd/system/dump978-fa.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2019-04-08 12:03:48 EDT; 51s ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 1856 (dump978-fa)
    Tasks: 4 (limit: 4915)
   CGroup: /system.slice/dump978-fa.service
           └─1856 /usr/bin/dump978-fa --sdr driver=rtlsdr,serial=00000978 --format CS8 --raw-port 30

Apr 08 12:03:49 orangepipc dump978-fa[1856]: Found Rafael Micro R820T tuner
Apr 08 12:03:49 orangepipc dump978-fa[1856]: Reattached kernel driver
Apr 08 12:03:49 orangepipc dump978-fa[1856]: usb_claim_interface error -6
Apr 08 12:03:49 orangepipc dump978-fa[1856]: Detached kernel driver
Apr 08 12:03:49 orangepipc dump978-fa[1856]: Found Rafael Micro R820T tuner
Apr 08 12:03:50 orangepipc dump978-fa[1856]: Exact sample rate is: 2083333.135571 Hz
Apr 08 12:03:50 orangepipc dump978-fa[1856]: [R82XX] PLL not locked!
Apr 08 12:03:50 orangepipc dump978-fa[1856]: SoapySDR: using maximum manual gain 49.6 dB
Apr 08 12:03:50 orangepipc dump978-fa[1856]: SoapySDR: INFO: Using format CS8.
Apr 08 12:04:00 orangepipc dump978-fa[1856]: [::]:30978: accepted a connection from [::1]:38230
2 Likes

Yep, exactly. Sadly current soapysdr throws a generic exception in this case, not something that’s easy to specifically catch and turn into a more useful error.

Hi followed all instructions but added id as xxx xxx xxxxx
it says sending info but not showing on map
a bit confussed as to what it could be
im wanting to run both 1090 and 978
any help please
also unsure how to exe patch 0002
john

Main problem is probably still having dump1090-mutability half installed at least judging by the background.
Use these commands to make sure they are no longer install and follow the rest of the guide.

sudo apt remove dump1090-mutability dump1090
sudo lighty-disable-mod dump1090

Or just use the sd-card image.

A better command to remove all configuration files as well is to use purge instead of remove

sudo apt purge dump1090-mutability dump1090

Following folder should be removed manually (not removed by command as it is not empty)

sudo rm -rf /usr/share/dump1090-mutability

With lighty-disable-mod it doesn’t matter.

It absolutely doesn’t matter if that directory exists or not if it’s not served by lighttpd.

Yes, but why not to remove the garbage?

Has he BOTH the dump1090-fa AND dump1090-mutability?

If he has ONLY dump1090-mutability, then it is NOT a problem to run it with dump978-fa + skyview978. No need to remove and replace it with dump1090-fa.

I have dump1090-mutability + gmap.html + dump978-fa (v 3.7.1) + skyview978 (v 3.7.1) + piaware (v 3.7.1), and it is working perfectly ok.

.

pi@raspberrypi:~ $ sudo systemctl status piaware 

● piaware.service - FlightAware ADS-B uploader
   Loaded: loaded (/lib/systemd/system/piaware.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2019-05-04 15:34:37 EDT; 20min ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 465 (piaware)
   CGroup: /system.slice/piaware.service
           ├─ 465 /usr/bin/piaware -p /run/piaware/piaware.pid -plainlog -statusfile /run/piaware/status.json
           ├─ 992 /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout --lat 43.xxx --lon -79.xxx
           └─1001 /usr/lib/piaware/helpers/fa-mlat-client --input-connect localhost:30005 --input-type dump1090 --results beast,connect,

May 04 15:40:14 raspberrypi piaware[465]: 1112 msgs recv'd from dump1090-mutabi (1013 in last 5m); 1112 msgs sent to FlightAware
May 04 15:45:14 raspberrypi piaware[465]: 2060 msgs recv'd from dump1090-mutabi (948 in last 5m); 2060 msgs sent to FlightAware
May 04 15:49:56 raspberrypi piaware[465]: mlat-client(1001): Receiver status: connected
May 04 15:49:56 raspberrypi piaware[465]: mlat-client(1001): Server status:   synchronized with 121 nearby receivers
May 04 15:49:56 raspberrypi piaware[465]: mlat-client(1001): Receiver:  183.1 msg/s received       68.0 msg/s processed (37%)
May 04 15:49:56 raspberrypi piaware[465]: mlat-client(1001): Server:      0.0 kB/s from server    0.0kB/s TCP to server     0.8kB/s UDP
May 04 15:49:56 raspberrypi piaware[465]: mlat-client(1001): Results:  5.1 positions/minute
May 04 15:49:56 raspberrypi piaware[465]: mlat-client(1001): Aircraft: 7 of 22 Mode S, 19 of 25 ADS-B used
May 04 15:50:14 raspberrypi piaware[465]: 3015 msgs recv'd from dump1090-mutabi (955 in last 5m); 3015 msgs sent to FlightAware
May 04 15:55:14 raspberrypi piaware[465]: 4053 msgs recv'd from dump1090-mutabi (1038 in last 5m); 4053 msgs sent to FlightAware

.

pi@raspberrypi:~ $ sudo systemctl status dump978-fa 

● dump978-fa.service - dump978 ADS-B UAT receiver
   Loaded: loaded (/lib/systemd/system/dump978-fa.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2019-05-04 15:34:38 EDT; 21min ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 480 (dump978-fa)
   CGroup: /system.slice/dump978-fa.service
           └─480 /usr/bin/dump978-fa --sdr driver=rtlsdr,serial=00000978 --format CS8 --raw-port 30978 --json-port 30979

May 04 15:34:39 raspberrypi dump978-fa[480]: json-port: listening for connections on [::]:30979
May 04 15:34:41 raspberrypi dump978-fa[480]: linux; GNU C++ version 6.2.0 20161010; Boost_106100; UHD_003.009.005-0-unknown
May 04 15:34:42 raspberrypi dump978-fa[480]: Found Rafael Micro R820T tuner
May 04 15:34:42 raspberrypi dump978-fa[480]: usb_claim_interface error -6
May 04 15:34:42 raspberrypi dump978-fa[480]: Found Rafael Micro R820T tuner
May 04 15:34:43 raspberrypi dump978-fa[480]: Exact sample rate is: 2083333.135571 Hz
May 04 15:34:43 raspberrypi dump978-fa[480]: [R82XX] PLL not locked!
May 04 15:34:43 raspberrypi dump978-fa[480]: SoapySDR: using maximum manual gain 49.6 dB
May 04 15:34:43 raspberrypi dump978-fa[480]: SoapySDR: using stream setting buffsize=262144
May 04 15:38:01 raspberrypi dump978-fa[480]: [::]:30978: accepted a connection from [::1]:36900

.

pi@raspberrypi:~ $ sudo systemctl status dump1090-mutability 

● dump1090-mutability.service - LSB: dump1090 daemon (mutability variant)
   Loaded: loaded (/etc/init.d/dump1090-mutability; generated; vendor preset: enabled)
   Active: active (running) since Sat 2019-05-04 15:34:39 EDT; 21min ago
     Docs: man:systemd-sysv-generator(8)
   CGroup: /system.slice/dump1090-mutability.service
           └─576 /usr/bin/dump1090-mutability --net --device-index 00001090 --gain 42 --ppm 0 --fix --max-range 300 --net-ri-port 30001

May 04 15:34:38 raspberrypi systemd[1]: Starting LSB: dump1090 daemon (mutability variant)...
May 04 15:34:39 raspberrypi systemd[1]: Started LSB: dump1090 daemon (mutability variant).

I dunno what happend i swapped pi’s half way through so will have to restart over again with stretch lite
also is this possible to combine both on 30005 to feed FA

@suffolk3000
Please do NOT install both dump1090-fa AND dump1090-mutability.
Install ONLY ONE of the above two.

ok starting a fresh thankyou

Ive totally lost the plot now so confussed as to what i used and links
abcd could you point me in direction so i can strol through it all many thanks

If you have freshly written Raspbian Stretch image on microSD card, and have NOT Installed anything else on it, then blindly follow the steps in the following post:

Version 3.7.1 Add-on Package Install

.

It will install latest version (3.7.1) of following:

  • dump978-fa
  • skyview978
  • dump1090-fa
  • piaware data feeder.

If you want dump1090-mutability ver 1.15~dev, and NOT the dump1090-fa:

Omit following step:
“3 - INSTALLED DUMP1090-FA ver 3.7.1”

and insted use following steps:

sudo apt update

sudo apt install -y git debhelper librtlsdr-dev lighttpd
sudo apt install -y rtl-sdr build-essential cron curl
sudo apt install -y fakeroot libusb-1.0-0-dev pkg-config 

.

cd /home/pi/
git clone https://github.com/mutability/dump1090.git dump1090-mut  
cd /home/pi/dump1090-mut  
sudo dpkg-buildpackage -b   

.

cd ../
sudo dpkg -i dump1090-mutability_1.15~dev_*.deb   

sudo lighty-enable-mod dump1090   
sudo systemctl force-reload lighttpd   

.

Reconfigure dump1090-mutability (Add Latitude & Longitude)

sudo dpkg-reconfigure dump1090-mutability

.

STRETCH WORKAROUND (Ajax call Fail)

sudo wget -O  /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules" 

# REBOOT (ESSENTIAL)
sudo reboot

.

Adding Dongle’s Serial Number:

sudo nano /etc/default/dump1090-mutability 

Scroll down till you see following text:

# Receiver options
#
# RTLSDR device index or serial number to use
# If set to "none", dump1090 will be started in --net-only mode
DEVICE=""

Replace
DEVICE=""
by
DEVICE="00001090"

sudo systemctl restart dump1090-mutability 

.

Thankyou so much
doing it now

The following command takes a very long time to complete. Sometimes, there is no output for several minutes, giving impression that the Pi has hanged, though it has not. Be patient.

sudo dpkg-buildpackage -b

yes i did panik a bit but all looks well now albeit no aircraft asyet 2 vhf antennas on dongles and 00.45 in morning so im happy so far
see pic im not using my main id but no id used on this combo for now
i will get 2 antennas made up for 978 -1090 very soon

1 Like

@suffolk3000

Install graphs also. These will help you to monitor if you have only occasional UAT traffic, like I have.

Give following commannd to install the graphs:
The command is long, scroll right to see it in full.

sudo bash -c "$(wget -q -O - https://raw.githubusercontent.com/wiedehopf/graphs1090/master/install.sh)"

.
After installing graphs, wait for 15 minutes for data collection by graph tools (rrdtools+collected), then check graphs in browser at following address. The UAT graphs are at the bottom.

IP-of-PI/graphs1090/
.

Thanks to @wiedehopf for these graphs.

For full details, visit his Github site here:
GitHub - wiedehopf/graphs1090: Graphs for readsb / dump1090-fa / dump1090 (based on dump1090-tools by mutability)

My UAT Graph (traffic is occassional only)
dump1090-localhost-aircraft_978-24h-2-1

2 Likes