How can I set my bluetooth dongle to be primary bluetooth adapter on Bazzite?

Hi guys, I am new to bazzite and I already tried what felt like 20 attempts to make the usb dongle default device, but ended up borking bluetooth completely. I am getting a bit tired of reinstaling the OS and at this point would like to seek your advice. What I tried >> First attempt: Created udev rules in /etc/udev/rules.d/81-bluetooth-controllers.rules Second attempt: Created a systemd service in /etc/systemd/system/bluetooth-default.service Third attempt: Modified /etc/bluetooth/main.conf to set DefaultControllers and DisablePlugins Fourth attempt: Tried creating configuration in /var/lib/bluetooth/settings/controllers.conf Fifth attempt: Created user-level systemd service in ~/.config/systemd/user/bluetooth-default.service Sixth attempt: Tried rpm-ostree approach to create system overlay (failed due to immutable filesystem) Final attempt: Tried udev rules in writable location /var/lib/udev/rules.d/ None of these approaches worked, likely due to Bazzite's immutable filesystem design. I feel completely lost, please help.
4 Replies
cray
crayOP2mo ago
resolved....i disabled onboard bluetooth in bios, not sure why i didnt think of it before
HikariKnight
HikariKnight2mo ago
youre lucky with this one, i cant do that and there is no way to set the default primary bluetooth adapter as there is no spec for it other than "the first one detected is the default" the alternative is to have a script at boot manually shut down the one that is auto set as primary
# Turn off the bluetooth adapter that was detected first
echo -e "select 00:E0:4C:56:49:78\npower off\n" | bluetoothctl
# Select the other adapter
echo -e "select 00:1A:7D:BC:66:11\n" | bluetoothctl
# Turn off the bluetooth adapter that was detected first
echo -e "select 00:E0:4C:56:49:78\npower off\n" | bluetoothctl
# Select the other adapter
echo -e "select 00:1A:7D:BC:66:11\n" | bluetoothctl
example script
cray
crayOP2mo ago
good to know, thanks
HikariKnight
HikariKnight2mo ago
figured i would drop it in since the help threads are indexed

Did you find this page helpful?