bladeRF
bladeRF copied to clipboard
Unable to Enable Bias Tee with Config File
Hello, I've been attempting to enable my BT-200 bias tee when using the bladeRF with srsRAN (more specifically, srsUE). As per this post, I have created a bladeRF.conf
file with biastee_rx true
as the first and only line, and placed a config file at all the locations specified here, and still it is not found.
I've verified that I can enable the bias tee using the CLI, though naturally the state of the bias tee resets when re-initializing the bladeRF during the srsUE startup sequence.
Doing some additional digging in the meantime, though what could account for this? Thanks in advance!
I was able to work around this by modifying rf_blade_imp.c
within srsRAN. My patch is here.
With this method, the user is at no point prompted to enable the bias tee or not, it's simply enabled after the BladeRF device is opened. I have verified this works via the LED lighting up on the BT-200, though it doesn't make an appreciable difference in SNR. Currently investigating this.
Leaving this issue open as I am still unable to use the config files to enable the bias tee.
I struggled with this as well until I found out that I've put the bladeRF.conf
in the wrong directory.
The documentation is a bit misleading. Correct locations for linux are:
<The current working directory>/bladeRF.conf
<The directory containing the program being executed>/bladeRF.conf
~/.config/Nuand/bladeRF/bladeRF.conf
~/.Nuand/bladeRF/bladeRF.conf
/etc/Nuand/bladeRF/bladeRF.conf
/usr/share/Nuand/bladeRF/bladeRF.conf
I missed the bladeRF folder.