[jammy] Bluetooth headphones unable to connect after suspend in BlueZ 5.63
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bluez Utilities |
Fix Released
|
Unknown
|
|||
bluez (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Bose quietcomfort 35 is a common headset that can no longer connect to a jammy system after just one suspend. This started at the end of January but just now really debugging the issue.
Side note that my bluetooth mouse works fine without problem after any amount of suspends.
The headset is only trying to connect to the jammy system (no other bluetooth devices it's paired with has active bluetooth, to isolate only the jammy <-> headset issue). This is jammy running on a T590, up to date, not proposed.
heather@fenrir:~$ dpkg -l | grep bluetooth
ii gir1.2-
ii gnome-bluetooth 3.34.5-4 amd64 GNOME Bluetooth tools
ii libbluetooth-
ii libbluetooth3:amd64 5.63-0ubuntu1 amd64 Library to use the BlueZ Linux Bluetooth stack
ii libgnome-
ii pulseaudio-
On a fresh boot (not suspended yet), I can connect the headset successfully. Here are the logs of that:
Mar 01 09:44:02 fenrir kernel: input: Bose QuietComfort 35 (AVRCP) as /devices/
Mar 01 09:44:02 fenrir systemd-
Mar 01 09:44:03 fenrir NetworkManager[
Mar 01 09:44:04 fenrir bluetoothd[1532]: /org/bluez/
Mar 01 09:44:04 fenrir rtkit-daemon[2349]: Supervising 6 threads of 3 processes of 1 users.
Mar 01 09:44:04 fenrir rtkit-daemon[2349]: Successfully made thread 5660 of process 2708 owned by '1000' RT at priority 5.
Mar 01 09:44:04 fenrir rtkit-daemon[2349]: Supervising 7 threads of 3 processes of 1 users.
Mar 01 09:44:04 fenrir pulseaudio[2708]: org.freedesktop
Mar 01 09:44:04 fenrir pulseaudio[2708]: Battery Level: 70%
Mar 01 09:44:04 fenrir pulseaudio[2708]: Dock Status: undocked
But then if I close the laptop lid and reopen, login, and try to connect the headset the device is found invalid with the following logs:
Mar 01 00:47:08 fenrir kernel: input: Bose QuietComfort 35 (AVRCP) as /devices/
Mar 01 00:47:08 fenrir pulseaudio[253956]: Information about device /org/bluez/
Mar 01 00:47:08 fenrir bluetoothd[40741]: profiles/
Mar 01 00:47:08 fenrir pulseaudio[253956]: Information about device /org/bluez/
Mar 01 00:47:08 fenrir bluetoothd[40741]: profiles/
Mar 01 00:47:08 fenrir systemd-
Mar 01 00:47:09 fenrir pulseaudio[253956]: Information about device /org/bluez/
Mar 01 00:47:09 fenrir bluetoothd[40741]: profiles/
Mar 01 00:47:09 fenrir pulseaudio[253956]: Information about device /org/bluez/
Mar 01 00:47:09 fenrir bluetoothd[40741]: profiles/
Mar 01 00:47:09 fenrir pulseaudio[253956]: Device doesn't exist for /org/bluez/
Mar 01 00:47:09 fenrir bluetoothd[40741]: src/profile.
Mar 01 00:47:09 fenrir pulseaudio[253956]: Device doesn't exist for /org/bluez/
Mar 01 00:47:09 fenrir bluetoothd[40741]: src/profile.
Mar 01 00:47:09 fenrir pulseaudio[253956]: Device doesn't exist for /org/bluez/
Mar 01 00:47:09 fenrir bluetoothd[40741]: src/profile.
Mar 01 00:47:10 fenrir acpid[1503]: input device has been disconnected, fd 19
And then the headset will not connect until the next boot. This is 100% reproducible for me too.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu78
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2020-06-29 (609 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
InterestingModules: rfcomm bnep btusb bluetooth
MachineType: LENOVO 20N4001LUS
Package: linux
PackageArchitec
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
Tags: jammy wayland-session
Uname: Linux 5.15.0-18-generic x86_64
UpgradeStatus: Upgraded to jammy on 2022-01-04 (55 days ago)
UserGroups: adm cdrom dip kvm libvirt lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 05/16/2019
dmi.bios.release: 1.39
dmi.bios.vendor: LENOVO
dmi.bios.version: N2IET61W (1.39 )
dmi.board.
dmi.board.name: 20N4001LUS
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad T590
dmi.product.name: 20N4001LUS
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
hciconfig:
hci0: Type: Primary Bus: USB
BD Address: 3C:F0:11:76:46:BA ACL MTU: 1021:4 SCO MTU: 96:6
UP RUNNING PSCAN
RX bytes:59807 acl:2423 sco:0 events:3065 errors:0
TX bytes:693869 acl:203 sco:0 commands:2826 errors:0
description: | updated |
description: | updated |
Changed in bluez: | |
status: | Unknown → Fix Released |
summary: |
- bose quietcomfort 35 unable to connect after suspend + Bluetooth headphones unable to connect after suspend |
summary: |
- Bluetooth headphones unable to connect after suspend + [jammy] Bluetooth headphones unable to connect after suspend in BlueZ + 5.63 |
Firstly good news that it partially works now. It didn't before according to bug 1620636.
What is the Bluetooth chip in the laptop (lspci / lsusb)? We probably need to check to see if it is chip-specific (a kernel bug) or a BlueZ bug.
Please also check the PID of bluetoothd to see if it's the same or different/missing after resume- from-suspend.