Results 1 to 3 of 3

Thread: Automated Installation of AcarSDeco2 on RPi

  1. #1
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,770

    Automated Installation of AcarSDeco2 on RPi

    (1) Easy Installation - Just copy-paste one command to run bash script and it does everything.

    (2) Automatic start - systemd service automatically starts it at boot/reboot.

    (3) Easy monitoring & control - Provides commands systemctl status, systemctl stop, systemctl start, and systemctl restart.

    (4) Easy configuration - Provides a separate config file in simple format, each config item on a separate line, starting with --

    (5) Blacklisting of rtl-sdr - The installation script creates a blacklist file /etc/modprobe.d/blacklist-rtl-sdr.conf with required blacklist entries, preventing error: failed to connect/open rtl-sdr device.


    FOR DETAILED INSTRUCTIONS:
    https://github.com/abcd567a/ad2/blob/master/README.md



    NOTE:
    AcarSDeco2 requires a dedicated DVB-T dongle.

    If you install it on a RPi already running dump1090 and one DVB-T dongle, then you will need to plugin a second dongle for AcarSDeco2, and serialize both dongles, one serial-number 00000101 and other serial-number 00000102

    Code:
    sudo apt-get update 
    sudo apt-get install rtl-sdr
    
    rtl_eeprom -s 00000101 -d 0
    rtl_eeprom -s 00000102 -d 1
    After serialization, unplug, then replug both dongles.

    Use these serial numbers in config files of dump1090 and AcarSDeco2.

    If you have not installed dump1090 and have installed only AcarSDeco2, then only one DVB-T dongle is required. In this case no need to serialize the dongle.
    Last edited by abcd567; 2019-08-30 at 12:56.

  2. #2
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,770
    UNINSTALL

    To uninstall and remove all files, issue following 4 commands:
    Code:
    sudo systemctl stop ad2
    sudo systemctl disable ad2
    sudo rm /lib/systemd/system/ad2.service
    sudo rm -rf /usr/share/ad2

  3. #3
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,770
    Running AcarSDeco2 AND ModeSDeco2 on Same Pi

    If you want, AcarSDeco2 and ModeSDeco2 can be installed on the same RPi, provided:

    (1) Two DVB-T dongles are plugged into RPi, one for ModeSDeco2, other for AcarSDeco2.

    (2) The two dongles are serialized so that each software use its respective dongle+antenna. The dongles can be serialized, say 00000101 & 00000102. In addition, following to be added in config of the two softwares

    ModeSDeco2 config:
    --device-serial 00000101

    AcarSDeco2 config:
    --device-serial 00000102

    How to serialize dongles

    (1) Prepration
    Code:
    ## Install necessary tool
    sudo apt update
    sudo apt install rtl-sdr
    
    ## Stop all programs which use the dongle
    sudo systemctl stop md2 ad2
    (2) Serialize Dongle for ModeSDeco2
    Code:
    ## Plug the dvbt dongle you want to use for ModeSDeco2 (UNPLUG ALL OTHER Dongles)
    ## Issue following command. 
    ## The command will ask [y/n], type y for yes.
    
    rtl_eeprom -s 00000101
    
    ## Un-plug the dvb-t dongle
    (3) Serialize Dongle for AcarSDeco2
    Code:
    ## Plug the dvbt dongle you want to use for AcarSDeco2 (UNPLUG ALL OTHER Dongles)
    ## Issue following command. 
    ## The command will ask [y/n], type y for yes.
    
    rtl_eeprom -s 00000102
    
    ## Un-plug the dvb-t dongle
    (4) Now re-plug both dongles

    (5) Check that dongles have been correctly serialized
    Code:
    rtl_test -t
    (6) Reboot Pi to restore it to normal
    Code:
    sudo reboot
    Last edited by abcd567; 2019-09-20 at 23:22.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •