I have a August EP650 bluetooth headset and problems with swichting the audio profile.
I switch between telephony (HSP/HFP) and music listening (A2DP) a lot, so this is quite annoying.
Each time I boot my system, I can switch the profile using the GUI:
In the syslog I get:
Aug 16 08:59:20 orange pulseaudio: [pulseaudio] bluez5-util.c: Transport Acquire() failed for transport /org/bluez/hci0/dev_00_12_D0_02_90_27/fd0 (Operation Not Authorized)
I already made the modification as suggested here:
Edit the file: /etc/pulse/default.pa and comment out (with an # at the beginning of the line) the following line: #load-module module-bluetooth-discover now edit the file: /usr/bin/start-pulseaudio-x11 and after the lines: if [ x”$SESSION_MANAGER” != x ] ; then /usr/bin/pactl load-module module-x11-xsmp “display=$DISPLAY session_manager=$SESSION_MANAGER” > /dev/null fi add the following line: /usr/bin/pactl load-module module-bluetooth-discover
But the problem persists.
Now if I execute around 3 times
sudo service bluetooth restart and my headset switches off, I can reconnect the headset and the switching works flawlessly.
How can I fix that?
profiles: headset_head_unit: Headset Head Unit (HSP/HFP) (priority 20, available: unknown) a2dp_sink: Hi-Fi-Wiedergabe (A2DP-Senken) (priority 10, available: yes) off: Aus (priority 0, available: yes)
But in the above case I am connected to headset_head_unit - and still cannot change to a2dp_sink
I found out, that when I remove the module loading from the
x11-pulseaudio completely and then load the module after connection the headset manually via
$ pacmd Welcome to PulseAudio 8.0! Use "help" for usage information. >>> load-module module-bluetooth-discover
it works directly - the question is, how can I automate that?