bluetooth automatically reconnects and audio only starts to play
Affected devices
This is likely related to headset_audio_gateway profiles getting in the way, or at least I haven't seen this problem with a2dp only devices.
Steps to reproduce
It happens occasionally when starting playback, specially after at least 5 seconds of not streaming audio (5 seconds is the default time where PA sources go from RUNNING to IDLE).
Logs
[pulseaudio] backend-native.c: Lost RFCOMM connection.
[pulseaudio] bluez5-util.c: Transport /org/bluez/hci0/dev_40_4E_36_42_9A_36/fd30 state: idle -> disconnected
[pulseaudio] card.c: Setting card bluez_card.40_4E_36_42_9A_36 profile headset_audio_gateway to availability status no
[pulseaudio] device-port.c: Setting port phone-output to status no
[pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
[pulseaudio] bluez5-util.c: Properties changed in device /org/bluez/hci0/dev_40_4E_36_42_9A_36
[pulseaudio] bluez5-util.c: dbus: path=/MediaEndpoint/A2DPSink/sbc, interface=org.bluez.MediaEndpoint1, member=ClearConfiguration
[pulseaudio] bluez5-util.c: Clearing transport /org/bluez/hci0/dev_40_4E_36_42_9A_36/fd153 profile a2dp_source
[pulseaudio] bluez5-util.c: Transport /org/bluez/hci0/dev_40_4E_36_42_9A_36/fd153 state: idle -> disconnected
[pulseaudio] card.c: Setting card bluez_card.40_4E_36_42_9A_36 profile a2dp_source to availability status no
[pulseaudio] device-port.c: Setting port phone-input to status no
[pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
[pulseaudio] module-bluez5-discover.c: Unregistering module for /org/bluez/hci0/dev_40_4E_36_42_9A_36
[pulseaudio] module-bluez5-device.c: Unloading module for device /org/bluez/hci0/dev_40_4E_36_42_9A_36
[pulseaudio] card.c: Freed 2 "bluez_card.40_4E_36_42_9A_36"
[pulseaudio] core-subscribe.c: Dropped redundant event due to remove event.
[pulseaudio] module.c: Unloaded "module-bluez5-device" (index: #28).
[pulseaudio] bluez5-util.c: Properties changed in device /org/bluez/hci0/dev_40_4E_36_42_9A_36
[pulseaudio] bluez5-util.c: dbus: path=/MediaEndpoint/A2DPSink/sbc, interface=org.bluez.MediaEndpoint1, member=SelectConfiguration
[pulseaudio] bluez5-util.c: Unknown interface org.freedesktop.DBus.Introspectable found, skipping
[pulseaudio] bluez5-util.c: Unknown interface org.bluez.MediaTransport1 found, skipping
[pulseaudio] bluez5-util.c: Unknown interface org.freedesktop.DBus.Properties found, skipping
[pulseaudio] bluez5-util.c: dbus: path=/MediaEndpoint/A2DPSink/sbc, interface=org.bluez.MediaEndpoint1, member=SetConfiguration
[pulseaudio] bluez5-util.c: Transport /org/bluez/hci0/dev_40_4E_36_42_9A_36/fd154 state: disconnected -> idle
Description
Affected devices This is likely related to
headset_audio_gateway
profiles getting in the way, or at least I haven't seen this problem witha2dp
only devices.Steps to reproduce It happens occasionally when starting playback, specially after at least 5 seconds of not streaming audio (5 seconds is the default time where PA sources go from RUNNING to IDLE).
Logs