SOLVED: Is is possible to send biastee=false when using Docker installation?

As I understand, pre- and post scripts are not implemented in the Docker packages.
Is it possible in other ways to send a ‘biastee=false’ to the Soapy driver to turn off the voltage to LNA between the observations?

regards
Lars

1 Like

No option I am aware of. One might try to hack something separate, that checks time-based what state it should be, that seems unreliable to me.

Since you are already that deep into station specifics, you might also give a manual installation a try: Manual Installation of SatNOGS station stack (latest development versions, no docker, May 2025) ($4842563) · Snippets · librespacefoundation / SatNOGS / satnogs-docs · GitLab

That will give you all features, but will definitely involve some hands-on interaction by you.

1 Like

Thanks.
When using HackRF it actually works, it turns off Bias-T after every observations without any specific configuration. Too bad it does not work the same way with Airspy (and maybe other SDRs also?).

Thr docker version does support pre and post scripts btw Tutorial: How to install satnogs groundstation for Newbie & PRO (for STATIC and ROTATOR) - #42 by bali

2 Likes

The definitive solution is to add rtl_biast -b 0 to the SATNOGS_POST_OBSERVATION_SCRIPT environment/configuration field.

rtl_biast -b 0 turns off the bias tee, whereas rtl_biast -b 1 turns it on (which isn’t necessary, as it’s already turned on when an observation starts).

rtl_biast is installed in the Docker container deployed by the ansible scripts (that is, deployed by satnogs-setup). No additional installation is required.

1 Like

@platypus The rtl_biast -b 0 does not work on a Airspy SDR…

Maybe this will work airspy_rx -r /dev/null -n 1 -b 0

Program details:

airspy_rx v1.0.5 23 April 2016
Usage:
-r <filename>: Receive data into file
-w Receive data into file with WAV header and automatic name
 This is for SDR# compatibility and may not work with other software
[-s serial_number_64bits]: Open device with specified 64bits serial number
[-p packing]: Set packing for samples, 
 1=enabled(12bits packed), 0=disabled(default 16bits not packed)
[-f frequency_MHz]: Set frequency in MHz between [24, 1900] (default 900MHz)
[-a sample_rate]: Set sample rate
[-t sample_type]: Set sample type, 
 0=FLOAT32_IQ, 1=FLOAT32_REAL, 2=INT16_IQ(default), 3=INT16_REAL, 4=U16_REAL, 5=RAW
[-b biast]: Set Bias Tee, 1=enabled, 0=disabled(default)
[-v vga_gain]: Set VGA/IF gain, 0-15 (default 5)
[-m mixer_gain]: Set Mixer gain, 0-15 (default 5)
[-l lna_gain]: Set LNA gain, 0-14 (default 1)
[-g linearity_gain]: Set linearity simplified gain, 0-21
[-h sensivity_gain]: Set sensitivity simplified gain, 0-21
[-n num_samples]: Number of samples to transfer (default is unlimited)
[-d]: Verbose mode

Jan | PE0SAT

1 Like

Good to know! You didn’t specify what radio the original post though - important detail :slight_smile:

That works! Thank you very much!

2 Likes