bluez regression: Bluetooth audio fails to reconnect after resume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Suse |
Fix Released
|
Medium
|
|||
bluez (Fedora) |
Fix Released
|
Undecided
|
|||
bluez (Ubuntu) |
Fix Released
|
Medium
|
Daniel van Vugt | ||
Bionic |
Fix Released
|
High
|
Daniel van Vugt |
Bug Description
[Impact]
Users of Bluetooth audio have no sound after they suspend and resume the system.
[Test Case]
1. Connect to Bluetooth audio device
2. Suspend & Resume
3. Reconnect to Bluetooth device.
[Regression Potential]
Low. Although common Bluetooth code is modified in the fix, it has been released as a patch in other distros for some time already.
[Other Info]
Already released to cosmic as part of bluez version 5.50.
This regression in bluez 5.48 has already been identified and fixed upstream. Report is here <https:/
Syslog reports messages as follows when this issue is happening (I have replaced my device's MAC address with [MAC]):
Mar 28 12:34:29 cue pulseaudio[1859]: [pulseaudio] bluez5-util.c: Information about device /org/bluez/
Mar 28 12:34:29 cue bluetoothd[984]: Endpoint replied with an error: org.bluez.
Mar 28 12:34:33 cue pulseaudio[1859]: [pulseaudio] bluez5-util.c: Information about device /org/bluez/
Mar 28 12:34:33 cue bluetoothd[984]: Endpoint replied with an error: org.bluez.
Workaround is to run sudo systemctl restart bluetooth after resume.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: bluez 5.48-0ubuntu3
ProcVersionSign
Uname: Linux 4.15.0-12-generic x86_64
ApportVersion: 2.20.9-0ubuntu1
Architecture: amd64
CurrentDesktop: KDE
Date: Wed Mar 28 12:37:11 2018
InstallationDate: Installed on 2018-03-23 (5 days ago)
InstallationMedia: Kubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180306.1)
InterestingModules: rfcomm bnep btusb bluetooth
MachineType: Hewlett-Packard HP ProBook 640 G1
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: bluez
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/25/2018
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: L78 Ver. 01.43
dmi.board.name: 2101
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 16.3C
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-
dmi.product.family: 103C_5336AN G=N L=BUS B=HP S=PRO
dmi.product.name: HP ProBook 640 G1
dmi.product.
dmi.sys.vendor: Hewlett-Packard
hciconfig:
hci0: Type: Primary Bus: USB
BD Address: 80:00:0B:C7:4D:1C ACL MTU: 310:10 SCO MTU: 64:8
UP RUNNING PSCAN
RX bytes:5025 acl:32 sco:0 events:202 errors:0
TX bytes:5785 acl:32 sco:0 commands:103 errors:0
Changed in bluez (Fedora): | |
importance: | Unknown → Undecided |
status: | Unknown → Fix Released |
Changed in suse: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Changed in bluez (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: a2dp |
Changed in bluez (Ubuntu): | |
status: | Triaged → In Progress |
Changed in bluez (Ubuntu): | |
status: | In Progress → Confirmed |
Changed in bluez (Ubuntu): | |
status: | Confirmed → In Progress |
description: | updated |
description: | updated |
tags: | added: patch |
Before upgrading, connecting to bluetooth headset from TaoTronics worked correctly. I also have a cheap bluetooth watch and connecting to it with bluetoothctl worked fine.
Today I updated Tumbleweed to snapshot 20180117 and I observe the following behavior:
1) Connecting to bluetooth headset does not work any more even after a fresh boot. It connects shortly then disconnects. Both with the Plasma widget and with bluetoothctl.
2) Sometimes even after a fresh boot, the plasma widget doesn't show any of the known bluetooth devices
3) Strangely connecting to my bluetooth watch still works with bluetoothctl.
From what I remember, before the update I had bluez-5.47 and now it has been updated to 5.48.
Furthermore there is a similar report here for Fedora: https:/ /bugzilla. redhat. com/show_ bug.cgi? id=1534857
The workaround, as indicated in that link, is to restart the bluetooth service with "systemctl restart bluetooth". After that the headset can connect again.
This is on a Dell XPS 13 9333 (different model than the above).
There are already logs in the Fedora ticket, I'll reboot now to try and gather some from here.
Please let me know if you need further information.