I recently installed graphs1090 and I want to see how adjusting my gain might affect my number of messages and planes tracked. When I try to follow the instructions here for the Debian Package add-on of flight aware (I’m running Raspbian 11 bullseye):
I don’t see RECEIVER_OPTIONS, but instead see a file that says “this is sourced by /usr/share/dump1090-fa/start-dump1090-fa as a shellscript fragment”, followed by options for setting ADAPTIVE_DYNAMIC_RANGE, ADAPTIVE_MIN_GAIN, ADAPTIVE_MAX_GAIN, etc.
Could anyone please provide me with some guidance on the best way to do this?
You are following a several years old guide (pre version 6). There have been some changes since then.
(1) Please issue following command to open config file:
sudo nano /etc/default/dump1090-fa
(2) Slowly scroll down the file, till you see following code:
# Initial receiver gain, in dB. If adaptive gain is enabled (see below) the actual gain
# may change over time
RECEIVER_GAIN=60
# Adjust gain to try to achieve optimal dynamic range / noise floor?
ADAPTIVE_DYNAMIC_RANGE=yes
# Target dynamic range in dB (leave blank to autoselect based on SDR type)
ADAPTIVE_DYNAMIC_RANGE_TARGET=
# Reduce gain when loud message bursts from nearby aircraft are seen?
ADAPTIVE_BURST=no
# Gain range to allow when changing gain, in dB (empty = no limit)
ADAPTIVE_MIN_GAIN=
ADAPTIVE_MAX_GAIN=
(3) To adjust gain to your desired value, replace 60 by your desired value of gain (for example 42) in following line:
RECEIVER_GAIN=60
(4) Also change yes to no in following line:
ADAPTIVE_DYNAMIC_RANGE=yes
(5) Save file, then restart dump1090-fa to implement the changes you have made as above:
Tried this method, but after rebooting dump1090-fa the dump10-90-fa file shows again max gain at 60 and adaptative as “yes”. The changes are restored to the initial settings.
Short answer is yes.
If you have adaptive gain set then the system will automatically change the gain for you. The gain setting will just be the starting point.
It is possible to limit the range.
Full details are in the documentation here: