Sample Header Ad - 728x90

Debian/PipeWire disable bluetooth headset switching to HSP/HFP

1 vote
0 answers
1680 views
Everytime I launch Audacity (which aggressively starts testing every possible input source), or even telegram-desktop, my headphones either switch to an HSP profile permanently (the A2DP options dispensary until I reconnect the headset), or they completely disconnect (probably because the headset cannot handle multiple profile changes within a second). I have a dedicated USB Mic and do not need this useless feature with awful sound quality (even for voice calls). The only method I could find specifically for Debian was on this page but the instructions are incomplete (the guy references Arch Wiki which involves modifying a .conf file but uses .lua syntax). These files are in /usr/share/wireplumber in Debian, not /etc/wireplumber, but also the media-session.d subdir does not exist. It offers to "add a line" but I have no idea where I could add this line to not break the syntax in lua in a different file. I've tried both solutions by creating files under .config/wireplumber which is referenced as a possible local user config, but it changed nothing after restart. How do I disable the HSP profiles entirely and only have A2DP profiles available. I'm running Debian stable with bookworm-backports enabled, and therefore on pipewire version 1.0.3-1~bpo12+1
Asked by Nick Bailuc (299 rep)
Mar 26, 2024, 09:09 PM