[xenial] A2DP profile still alive even though disconnected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pulseaudio (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
During connect/disconnect with BT headset repeatedly, the bluetooth connection(check using hcitool) is still alive even thoush the connection has been disconnected by bluetoothctl. The hsp profile is still connected on pulseaudio.
---
Since the pulseaudio of Xenial has been updated from 8.0-0ubuntu3.2 to 8.0-0ubuntu3.3 at last May, I failed my TestCase The test case is just repeating connect/disconnect with BT headset through bluetoothctl.
The change[1] can be retrieved from Xenial's pulseaudio source but I can't ensure which patch causes the problem.
You can see the error log[2] when the error has been occurred.
[1] pulseaudio (1:8.0-0ubuntu3.3) xenial; urgency=medium
[Luke Yelavich, Konrad Zapałowicz]
* Fixed multiple interrelated problems with using Bluetooth audio (A2DP),
where users would experience some combination of:
- Bluetooth headset/speakers listed but not selectable in Sound settings
(LP: #1283003)
- [regression] Bluetooth audio no longer supports A2DP (stuck in HSP/HFP
mode) (LP: #1438510)
- [xenial] Bluetooth device doesn't play any sound in A2DP mode unless set
to HSP/HFP first (LP: #1582213)
* Specific patches from upstream used to address the above problems:
- 0103-bluetooth-
- 0104-bluetooth-
- 0106-bluetooth-
. Backport from upstream to fix a bug in Xenial where an incorrect
audio profile is applied for a headset connected over Bluetooth
making using it impossible.
- 0105-bluetooth-
. Fix a crash that happens if the BT headset is the only non-monitor
source in the system and the last "phone" stream dies.
- 0700-pulsecore-
. Backport from upstream (commit 7b6260140149) to allow for correct
profile selection.
- 0701-bluetooth-
. Backport from upstream waiting for all profiles to connect before
creating a card.
-- Daniel van Vugt <email address hidden> Tue, 23 May 2017 16:24:14 +0800
[2] Error log
D: [pulseaudio] backend-native.c: dbus: path=/Profile/
D: [pulseaudio] backend-native.c: dbus: NewConnection path=/org/
D: [pulseaudio] bluez5-util.c: Transport /org/bluez/
D: [pulseaudio] backend-native.c: Transport /org/bluez/
D: [pulseaudio] backend-native.c: RFCOMM << AT+VGS=07
D: [pulseaudio] backend-native.c: RFCOMM >> OK
D: [pulseaudio] bluez5-util.c: dbus: path=/MediaEndp
D: [pulseaudio] bluez5-util.c: Unknown interface org.freedesktop
D: [pulseaudio] bluez5-util.c: Unknown interface org.bluez.
D: [pulseaudio] bluez5-util.c: Unknown interface org.freedesktop
D: [pulseaudio] bluez5-util.c: dbus: path=/MediaEndp
D: [pulseaudio] bluez5-util.c: Transport /org/bluez/
D: [pulseaudio] bluez5-util.c: Transport /org/bluez/
D: [pulseaudio] bluez5-util.c: Properties changed in device /org/bluez/
D: [pulseaudio] backend-native.c: dbus: path=/Profile/
D: [pulseaudio] bluez5-util.c: dbus: path=/MediaEndp
D: [pulseaudio] bluez5-util.c: Clearing transport /org/bluez/
D: [pulseaudio] bluez5-util.c: Transport /org/bluez/
D: [pulseaudio] bluez5-util.c: Unknown interface org.freedesktop
D: [pulseaudio] bluez5-util.c: Unknown interface org.bluez.
D: [pulseaudio] bluez5-util.c: Unknown interface org.freedesktop
D: [pulseaudio] bluez5-util.c: dbus: path=/MediaEndp
D: [pulseaudio] bluez5-util.c: Transport /org/bluez/
D: [pulseaudio] bluez5-util.c: Transport /org/bluez/
D: [pulseaudio] bluez5-util.c: Properties changed in transport /org/bluez/
D: [pulseaudio] bluez5-util.c: Timeout expired, and device /org/bluez/
D: [pulseaudio] module-
I: [pulseaudio] card.c: Created 1 "bluez_
D: [pulseaudio] module-
D: [pulseaudio] module-
D: [pulseaudio] module-
D: [pulseaudio] module-
D: [pulseaudio] module-
I: [pulseaudio] backend-native.c: doing connect
[3] Normal log
D: [pulseaudio] backend-native.c: dbus: path=/Profile/
D: [pulseaudio] backend-native.c: dbus: NewConnection path=/org/
D: [pulseaudio] bluez5-util.c: Transport /org/bluez/
D: [pulseaudio] backend-native.c: Transport /org/bluez/
D: [pulseaudio] backend-native.c: RFCOMM << AT+VGS=07
D: [pulseaudio] backend-native.c: RFCOMM >> OK
D: [pulseaudio] bluez5-util.c: dbus: path=/MediaEndp
D: [pulseaudio] bluez5-util.c: Unknown interface org.freedesktop
D: [pulseaudio] bluez5-util.c: Unknown interface org.bluez.
D: [pulseaudio] bluez5-util.c: Unknown interface org.freedesktop
D: [pulseaudio] bluez5-util.c: dbus: path=/MediaEndp
D: [pulseaudio] bluez5-util.c: Transport /org/bluez/
D: [pulseaudio] bluez5-util.c: Transport /org/bluez/
D: [pulseaudio] backend-native.c: dbus: path=/Profile/
D: [pulseaudio] bluez5-util.c: dbus: path=/MediaEndp
D: [pulseaudio] bluez5-util.c: Clearing transport /org/bluez/
D: [pulseaudio] bluez5-util.c: Transport /org/bluez/
I: [pulseaudio] backend-native.c: Lost RFCOMM connection.
D: [pulseaudio] bluez5-util.c: Transport /org/bluez/
D: [pulseaudio] bluez5-util.c: Properties changed in device /org/bluez/
D: [pulseaudio] bluez5-util.c: Properties changed in device /org/bluez/
D: [pulseaudio] bluez5-util.c: Timeout expired, and device /org/bluez/
D: [pulseaudio] bluez5-util.c: Properties changed in device /org/bluez/
D: [pulseaudio] backend-native.c: dbus: path=/Profile/
D: [pulseaudio] backend-native.c: dbus: NewConnection path=/org/
D: [pulseaudio] bluez5-util.c: Transport /org/bluez/
D: [pulseaudio] backend-native.c: Transport /org/bluez/
D: [pulseaudio] backend-native.c: RFCOMM << AT+VGS=07
D: [pulseaudio] backend-native.c: RFCOMM >> OK
D: [pulseaudio] bluez5-util.c: dbus: path=/MediaEndp
D: [pulseaudio] bluez5-util.c: Unknown interface org.freedesktop
D: [pulseaudio] bluez5-util.c: Unknown interface org.bluez.
D: [pulseaudio] bluez5-util.c: Unknown interface org.freedesktop
D: [pulseaudio] bluez5-util.c: dbus: path=/MediaEndp
D: [pulseaudio] bluez5-util.c: Transport /org/bluez/
D: [pulseaudio] bluez5-util.c: Transport /org/bluez/
D: [pulseaudio] bluez5-util.c: Properties changed in device /org/bluez/
D: [pulseaudio] backend-native.c: dbus: path=/Profile/
D: [pulseaudio] bluez5-util.c: dbus: path=/MediaEndp
D: [pulseaudio] bluez5-util.c: Clearing transport /org/bluez/
D: [pulseaudio] bluez5-util.c: Transport /org/bluez/
description: | updated |
Changed in pulseaudio (Ubuntu): | |
status: | Incomplete → New |
tags: | added: a2dp |
tags: | added: xenial |
summary: |
- a2dp profile still alive even though disconnected + [xenial] A2DP profile still alive even though disconnected |
Can you please clarify what the problem is you are reporting, in a few sentences?