Bluetooth devices can't reconnect after reboot or sleep
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bluez Utilities |
Fix Released
|
Unknown
|
|||
OEM Priority Project |
New
|
Undecided
|
Unassigned | ||
bluez (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Noble |
Fix Released
|
High
|
Daniel van Vugt | ||
Oracular |
Fix Released
|
High
|
Sebastien Bacher | ||
Plucky |
Fix Released
|
High
|
Unassigned |
Bug Description
[ Impact ]
Bluetooth devices fail to reconnect after a suspend or system restart
[ Test Plan ]
1. Put the headphones into discovery mode.
2. Go to Settings -> Bluetooth and connect to the headphones.
3. Reboot the laptop.
4. Go to Settings -> Bluetooth
5. Click on the headphones.
6. Try to connect to the headphones.
7. If step 6. fails try to disconnect.
8. Go to step 6.
Expected result:
After step 6 for headphones to be connected and for headphones to announce "Bluetooth connected".
[ Where problems could occur ]
The change is in the reading of stored device keys. If the patch is wrong it could be that paired devices will not reconnect correctly or might use an incorrect profile.
[ Other Info ]
How reproducible is the problem:
Fairly reproducible. It can sometimes takes 30 or more connection attempts before a real connection is established.
Version information:
Ubuntu 24.10
ProblemType: Bug
DistroRelease: Ubuntu 24.10
Package: alsa-base 1.0.25+
ProcVersionSign
Uname: Linux 6.11.0-9-generic x86_64
ApportVersion: 2.30.0-0ubuntu4
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/seq: sitsofe 8130 F.... pipewire
/dev/snd/
/dev/snd/
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Mon Oct 21 21:34:28 2024
InstallationDate: Installed on 2024-10-14 (7 days ago)
InstallationMedia: Ubuntu 24.10 "Oracular Oriole" - Release amd64 (20241009.4)
MachineType: LENOVO 82KD
PackageArchitec
SourcePackage: alsa-driver
Symptom: audio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/13/2021
dmi.bios.release: 1.42
dmi.bios.vendor: LENOVO
dmi.bios.version: GLCN42WW
dmi.board.
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: SDK0T76530WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: V15 G2 ALC
dmi.product.name: 82KD
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
affects: | ubuntu → alsa-driver (Ubuntu) |
no longer affects: | alsa-driver (Ubuntu) |
tags: | added: desktop-needs-sru fixed-in-bluez-5.78 fixed-upstream |
Changed in bluez (Ubuntu Plucky): | |
status: | Confirmed → Fix Released |
Changed in bluez (Ubuntu Oracular): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in bluez (Ubuntu Plucky): | |
importance: | Undecided → High |
Changed in bluez (Ubuntu Oracular): | |
milestone: | none → oracular-updates |
Changed in bluez (Ubuntu Plucky): | |
milestone: | none → ubuntu-25.04 |
Changed in bluez: | |
status: | Unknown → Fix Released |
Changed in bluez: | |
status: | Fix Released → Unknown |
summary: |
- Bluetooth headphones connect erratically + Bluetooth devices can't reconnect after reboot or sleep |
Changed in bluez: | |
status: | Unknown → Fix Released |
Changed in bluez (Ubuntu Noble): | |
milestone: | none → noble-updates |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in bluez (Ubuntu Noble): | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
status: | Confirmed → In Progress |
tags: | added: jira-somerville-918 oem-priority |
tags: | removed: desktop-needs-sru |
Looks like this is actually related to bluez in some fashion. Here's what I'm seeing while running c:ext_connect( ) Hands-Free Voice gateway failed connect to 11:22:33:44:55:66: Connection refused (111) audio/avdtp. c:avdtp_ connect_ cb() connect to 11:22:33:44:55:66: Connection refused (111) audio/avdtp. c:avdtp_ connect_ cb() connect to 11:22:33:44:55:66: Connection refused (111) c:ext_connect( ) Hands-Free Voice gateway failed connect to 11:22:33:44:55:66: Connection refused (111) audio/avdtp. c:avdtp_ connect_ cb() connect to 11:22:33:44:55:66: Connection refused (111) audio/avdtp. c:avdtp_ connect_ cb() connect to 11:22:33:44:55:66: Connection refused (111) c:ext_connect( ) Hands-Free Voice gateway failed connect to 11:22:33:44:55:66: Connection refused (111) audio/avdtp. c:avdtp_ connect_ cb() connect to 11:22:33:44:55:66: Connection refused (111) audio/avdtp. c:avdtp_ connect_ cb() connect to 11:22:33:44:55:66: Connection refused (111) c:ext_connect( ) Hands-Free Voice gateway failed connect to 11:22:33:44:55:66: Connection refused (111) audio/avdtp. c:avdtp_ connect_ cb() connect to 11:22:33:44:55:66: Connection refused (111) audio/avdtp. c:avdtp_ connect_ cb() connect to 11:22:33:44:55:66: Connection refused (111) c:ext_connect( ) Hands-Free Voice gateway failed connect to 11:22:33:44:55:66: Connection refused (111) audio/avdtp. c:avdtp_ connect_ cb() connect to 11:22:33:44:55:66: Connection refused (111) audio/avdtp. c:avdtp_ connect_ cb() connect to 11:22:33:44:55:66: Connection refused (111) c:ext_connect( ) Hands-Free Voice gateway failed connect to 11:22:33:44:55:66: Connection refused (111) audio/avdtp. c:avdtp_ connect_ cb() connect to 11:22:33:44:55:66: Connection refused (111) audio/avdtp. c:avdtp_ connect_ cb() connect to 11:22:33:44:55:66: Connection refused (111) c:ext_connect( ) Hands-Free Voice gateway failed connect to 11:22:33:44:55:66: Connection refused (111) audio/avdtp. c:avdtp_ connect_ cb() connect to 11:22:33:44:55:66: Connection refused (111) audio/avdtp. c:avdtp_ connect_ cb() connect to 11:22:33:44:55:66: Connection refused (111)
journalctl -fu bluetooth
Nov 05 21:14:30 lenovo bluetoothd[374859]: src/profile.
Nov 05 21:14:30 lenovo bluetoothd[374859]: profiles/
Nov 05 21:14:32 lenovo bluetoothd[374859]: profiles/
Nov 05 21:14:46 lenovo bluetoothd[374859]: src/profile.
Nov 05 21:14:46 lenovo bluetoothd[374859]: profiles/
Nov 05 21:14:49 lenovo bluetoothd[374859]: profiles/
Nov 05 21:14:58 lenovo bluetoothd[374859]: src/profile.
Nov 05 21:14:58 lenovo bluetoothd[374859]: profiles/
Nov 05 21:15:01 lenovo bluetoothd[374859]: profiles/
Nov 05 21:15:16 lenovo bluetoothd[374859]: src/profile.
Nov 05 21:15:16 lenovo bluetoothd[374859]: profiles/
Nov 05 21:15:19 lenovo bluetoothd[374859]: profiles/
Nov 05 21:15:40 lenovo bluetoothd[374859]: src/profile.
Nov 05 21:15:40 lenovo bluetoothd[374859]: profiles/
Nov 05 21:15:43 lenovo bluetoothd[374859]: profiles/
Nov 05 21:15:44 lenovo bluetoothd[374859]: src/profile.
Nov 05 21:15:44 lenovo bluetoothd[374859]: profiles/
Nov 05 21:15:47 lenovo bluetoothd[374859]: profiles/
Nov 05 21:15:53 lenovo bluetoothd[374859]: src/profile.
Nov 05 21:15:53 lenovo bluetoothd[374859]: profiles/
Nov 05 21:15:56 lenovo bluetoothd[374859]: profiles/
Nov 05 21:...