Ubuntu – How permanently remove or disable HSP/HFP bluetooth profile

bluetoothpulseaudioskypesound

I really don't like that, like Skype changes my bluetooth profile automatically to very low quality HSP profile and then just muted the high quality A2DP profile.

So i want to know, is it possible just to remove or disable HSP/HFP profile (pulse audio, bluez) and if it, how?

Internet is full for tutorials how to get HSP/HFP enable, but for my case, that is the problem.

PS: I don't use bluetooth mic, so it is irrelevant to get that working on A2DP, i know that this is a hard thing to get working, so no need extra work on that one.

Best Answer

Check out this answer: https://askubuntu.com/a/1119934/1025239

Copying the most important part, that just disables this "feature" the way like pulseaudio developers intended.

Open (sudo) /etc/pulse/default.pa and add auto_switch=false like this:

### Automatically load driver modules for Bluetooth hardware
ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy auto_switch=false  # <---- !
.endif

Restart pulseaudio by just killing the running instance: pulseaudio -k. Done.You still can switch to the HFP profile, but there is no automatic switching any more.