V5.0.5-airspy dump1090-fa with native AirSpy support now available

sudo systemctl disable --now airspy_adsb

nope same
mmmmmmmmmmmm
i saw armv7 think mines 8
airspy mini
airspy conf still there not edited

i used this to install

$ sudo piaware-config manage-config no

If you can, and desire to, compile it yourself…

$ sudo apt-get install libairspy-dev
$ git clone GitHub - gtjoseph/dump1090: Dump1090 is a simple Mode S decoder for RTLSDR devices dump1090-airspy
$ cd dump1090-airspy
$ git checkout airspy-hirate
$ make
$ make wisdom.local ### this will take a while
$ sudo systemctl stop dump1090-fa
$ sudo cp dump1090 /usr/bin/dump1090-fa
$ sudo cp view1090 /usr/bin/view1090-fa
$ sudo cp starch-benchmark /usr/lib/dump1090-fa/
$ sudo cp wisdom.local /etc/dump1090-fa/wisdom-airspy.local $ cd /etc/default
$ sudo cp dump1090-fa dump1090-fa.original

Now modify /etc/default/dump1090-fa using the sample in the release zip files

Nothing works this end

Please post the results of the following commands:

$ uname -a
$ cat /etc/default/dump1090-fa
$ piaware-status
$ piaware-config -show
$ dump1090-fa --version

Why are you compiling yourself? Can you not use the pre-built binaries?

i can only follow ins im not a linux buff

You didn’t answer my question about why you are compiling yourself.

Please use the pre-built binary from here…
dump1090-fa-airspy-v5.0.5-airspy-aarch64.zip

After you’ve installed…

  • Run dump1090-fa --version and confirm it shows the following…
-----------------------------------------------------------------------------
| dump1090 ModeS Receiver                  dump1090-fa-airspy v5.0.5-airspy |
| build options: ENABLE_RTLSDR ENABLE_BLADERF ENABLE_HACKRF ENABLE_AIRSPY   |
-----------------------------------------------------------------------------
  • Run
    • sudo systemctl stop dump1090-fa
    • pgrep -fa airspy
  • If airspy_adsb is running, run
    • sudo systemctl stop airspy_adsb
    • sudo systemctl disable airspy_adsb
  • Open a second terminal window to the pi and run
    • sudo journalctl -o cat -fu dump1090-fa
  • Then back in the first window run
    • sudo systemctl start dump1090-fa
  • Copy the output from the second terminal window and paste it here. Do NOT screenshot. Copy the text by selecting it with your mouse then right clicking and selecting “Copy”.

To paste it into a post, click the </> button in the toolbar at the top of the post and paste between the two sets of ``` characxters.

Yes sorry i did manually compile but did use the files you said to use here

pi@raspberrypi:~ $ sudo journalctl -o cat -fu dump1090-fa
Stopped dump1090 ADS-B receiver (FlightAware customization).
Started dump1090 ADS-B receiver (FlightAware customization).
Failed to read wisdom file /etc/dump1090-fa/wisdom-airspy.armv7: No such file or directory
dump1090-fa.service: Main process exited, code=exited, status=1/FAILURE
dump1090-fa.service: Failed with result 'exit-code'.
Stopped dump1090 ADS-B receiver (FlightAware customization).
Started dump1090 ADS-B receiver (FlightAware customization).
Failed to read wisdom file /etc/dump1090-fa/wisdom-airspy.armv7: No such file or directory
dump1090-fa.service: Main process exited, code=exited, status=1/FAILURE
dump1090-fa.service: Failed with result 'exit-code'.
dump1090-fa.service: Service RestartSec=30s expired, scheduling restart.
dump1090-fa.service: Scheduled restart job, restart counter is at 164.
Stopped dump1090 ADS-B receiver (FlightAware customization).
Started dump1090 ADS-B receiver (FlightAware customization).
Failed to read wisdom file /etc/dump1090-fa/wisdom-airspy.armv7: No such file or directory
dump1090-fa.service: Main process exited, code=exited, status=1/FAILURE
dump1090-fa.service: Failed with result 'exit-code'.

OK, progress!

Look in the /etc/dump1090-fa directory and note the name of the wisdom file. It should be “wisdom.local”. If there are any other files in that directory, delete them.

Now edit /etc/default/dump1090-fa and change /etc/dump1090-fa/wisdom-airspy.armv7'to /etc/dump1090-fa/wisdom.local, then do a sudo systemctl restart dump1090-fa. The journalctl window should now show it starting successfully.

cp: cannot stat 'dump1090': No such file or directory
really conffused now all files i did  went to right place  
only 1 that failed was dump1090-fa in /etc/dump1090-fa  i had to make  that folder 
id rather  start a fresh 

I’m going to create a new zip file with an install script and a README. Hold on for a few minutes.

thanks im getting confussed with so may dif folders

i will install a fresh working airspy_adsb working
then follow your ins

I’ve updated the release zip files with a README and an install.sh script.

dump1090-fa-airspy-v5.0.5-airspy-aarch64.zip

dump1090-fa-airspy-v5.0.5-airspy-armv7l.zip

@suffolk3000 Make sure you use the aarch64 version.

1 Like
ok thanks for this 
owe you a pint 
pi@raspberrypi:~ $ sudo journalctl -o cat -fu dump1090-fa
/usr/share/dump1090-fa/start-dump1090-fa: 30: /etc/default/dump1090-fa: Syntax error: newline unexpected
dump1090-fa.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
dump1090-fa.service: Failed with result 'exit-code'.
dump1090-fa.service: Service RestartSec=30s expired, scheduling restart.
dump1090-fa.service: Scheduled restart job, restart counter is at 354.
Stopped dump1090 ADS-B receiver (FlightAware customization).
Started dump1090 ADS-B receiver (FlightAware customization).
/usr/share/dump1090-fa/start-dump1090-fa: 30: /etc/default/dump1090-fa: Syntax error: newline unexpected

Well, that means there’s an unexpected newline in /etc/default/dump1090-fa.

Can you paste the current contents of /etc/default/dump1090-fa? Again, no screenshots please.

type or pas         ENABLED=yes

RECEIVER_OPTIONS=" --airspy-linearity-gain 21
                   --sample-rate 12 --sample-format u16o12
                   --device-type airspy --airspy-enable-packing"
 DECODER_OPTIONS=" --demod hirate --demod-preamble-threshold 0.9
                   --demod-smoother-window 1 --demod-msg-window -4:4
                   --wisdom /etc/dump1090-fa/wisdom.local
                   --demod-drop-dup-msgs --max-range 500 --fix"
     NET_OPTIONS=" --net --net-heartbeat 60 --net-ro-size 1300
                   --net-ro-interval 0.2 --net-ri-port 0
                   --net-ro-port 30002 --net-sbs-port 30003
                   --net-bi-port 30004,30104 --net-bo-port 30005"
    JSON_OPTIONS=" --json-location-accuracy 2 --stats --stats-every 10"

     PIAWARE_LAT=<te code here

Well, that’s not right. I did say not to use the sample as-is. :slight_smile:
At the very least, the PIAWARE_LAT and PIAWARE_LON lines are messed up.
Correct them and you should be OK.

You should also remove the --stats --stats-every 10 entries from JSON_OPTIONS.

the sample i used edited  name  and only edited lat and long  
heres full copy 

# dump1090-fa configuration
# This is sourced by /usr/share/dump1090-fa/start-dump1090-fa as a
# shellscript fragment.

# If you are using a PiAware sdcard image, this config file is regenerated
# on boot based on the contents of piaware-config.txt; any changes made to this
# file will be lost.

#
# This is a SAMPLE FILE ONLY.  Don't use it as-is.
#

# dump1090-fa won't automatically start unless ENABLED=yes
         ENABLED=yes

RECEIVER_OPTIONS=" --airspy-linearity-gain 21
                   --sample-rate 12 --sample-format u16o12
                   --device-type airspy --airspy-enable-packing"
 DECODER_OPTIONS=" --demod hirate --demod-preamble-threshold 0.9
                   --demod-smoother-window 1 --demod-msg-window -4:4
                   --wisdom /etc/dump1090-fa/wisdom.local
                   --demod-drop-dup-msgs --max-range 500 --fix"
     NET_OPTIONS=" --net --net-heartbeat 60 --net-ro-size 1300
                   --net-ro-interval 0.2 --net-ri-port 0
                   --net-ro-port 30002 --net-sbs-port 30003
                   --net-bi-port 30004,30104 --net-bo-port 30005"
    JSON_OPTIONS=" --json-location-accuracy 2 --stats --stats-every 10"

     PIAWARE_LAT=<52.2475>
     PIAWARE_LON=<0.7103>