Set default profile for a particular bluetooth device
I have a bluetooth headset which connects using the a2dp-sink
profile by default. I would like for this particular device to always connect with the headset-head-unit
profile instead. I tried adding the following to bluez-monitor.conf:
{
matches = [
{
# Comexion M100 headset
device.name = "~bluez_card.00_6A_8E_51_07_34"
}
]
actions = {
update-props = {
# TODO: this does not work
bluez5.profile = "headset-head-unit"
}
}
}
I confirmed with pactl
that the bluez5.profile
property is correctly added to this device. It seems that the logic which selects a profile for the sources and sinks does not honor the property attached to the device.
Is there a different property or configuration setting which can be used to set the default profile for a bluetooth headset?