You are not logged in.
Hi all,
I'm using:
local/pulseaudio-bluetooth 12.2-2
local/bluez 5.50-6
My pulseaudio config at ~/.config/pulse/default.pa is:
load-module module-dbus-protocol
load-module module-switch-on-connect
Each time I turn off and on again my bluetooth speaker I get:
bluetooth.protocol = "headset_head_unit"
device.intended_roles = "phone"
device.description = "MINIJAMBOX by Jawbone"
After changing the protocol with pacmd or pavucontrol, or after manually reconnecting using pulseaudioctl, the protocol is correctly set to a2dp.
But, again, turning off and on the speaker resets the protocol to headset.
Many of the tricks around there are based in obsolete config directives that went into the also obsolete audio.conf file. Playing with /etc/bluetooth/main.conf leads me nowhere.
Any ideas?
Thank you in advance
--
Carlos
Offline
Hi memeplex,
for me it works using the https://github.com/EHfive/pulseaudio-modules-bt in combination with the pulseaudio-bluetooth-a2dp-gdm-fix.
Both available on AUR:
pulseaudio-bluetooth-a2dp-gdm-fix (only if you are using gdm of course)
Since then the Headset always connects with the audio profile (APTX in my case) and not the phone profile.
Maybe its worth a try.
Best regards,
bb
Offline
I ended up listening to sink creation events with pactl subscribe and changing the profile of the card when necessary. Here is the code, it does quite a few other things but you surely will be able to parse the relevant part: https://gitlab.com/memeplex/home/blob/c … /music#L48
Last edited by memeplex (2019-03-17 13:46:39)
Offline