I have two RTL SDR receivers on a raspi 3B. The Flightaware Pro + ends up as device 1 due to the hardware configuration. (Device 0 is setup to be a VHF Airband reciever).
I’ve set the advance configuration for rtlsdr-device-index as 1 and it shows up in the /etc/piaware.conf file (copied below), yet the message rate is very low indicating the wrong receiver has been selected. I’ve confirmed that by running rtl_test -d 1 and the test runs, and running for -d 0 there is a conflict indicating that piaware is still grabbing the 0 receiver.
The unit is at a remote location, and swapping the dongle positions is not an easy option.
What am I missing?
Thanks
Chuck
pi@Flattop:~ $ rtl_test -d 0
Found 2 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001
1: Realtek, RTL2832U, SN: 00001000
Using device 0: Generic RTL2832U OEM
usb_claim_interface error -6
Failed to open rtlsdr device #0.
pi@Flattop:~ $ rtl_test -d 1
Found 2 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001
1: Realtek, RTL2832U, SN: 00001000
Using device 1: Generic RTL2832U
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
Sampling at 2048000 S/s.
Info: This tool will continuously read from the device, and report if
samples get lost. If you observe no further output, everything is fine.
Reading samples in async mode…
^CSignal caught, exiting!
/etc/piaware.config
This file configures piaware and related software.
You can edit it directly or use piaware-config from the command line
to view and change settings.
If /boot/piaware-config.txt also exists, then settings present in
that file will override settings in this file.
allow-auto-updates no # updated by fa_piaware_config
allow-manual-updates yes # updated by fa_piaware_config
receiver-type rtlsdr # updated by fa_piaware_config
rtlsdr-device-index 1 # updated by fa_piaware_config
allow-modeac yes # updated by fa_piaware_config