Bug 34167 - Bluez: since 5.80 reconnect fails
Summary: Bluez: since 5.80 reconnect fails
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2025-04-04 21:47 CEST by Marc Krämer
Modified: 2025-06-09 20:15 CEST (History)
6 users (show)

See Also:
Source RPM: bluez-5.80-1.mga9.src.rpm
CVE:
Status comment:


Attachments
files list (466 bytes, text/plain)
2025-05-27 16:15 CEST, Giuseppe Ghibò
Details

Description Marc Krämer 2025-04-04 21:47:30 CEST
Since the update of bluez to 5.80 devices like mouse/keyboard do not reconnect after suspend or reboot.
Only repairing helps to make them work.

Downgrading to bluez-5.79-1 makes it work again.
Comment 1 Marc Krämer 2025-04-04 21:56:21 CEST
looking at the releases, there have been 2 newer releases  (5.82) after only a few days, whereas it took ~4 month between 5.79 and 5.80.
The commit messages are not obviously fixing the described problem.
Comment 2 Lewis Smith 2025-04-09 21:34:47 CEST
Thank you for the report.
"Downgrading to bluez-5.79-1 makes it work again" is clear enough.

Assigning to DavidG who committed v5.80 & 5.81; CC'ing Giuseppe who did v5.79.
Maybe it is worth trying the most recent update 5.81?

Assignee: bugsquad => geiger.david68210
CC: (none) => ghibomgx

Comment 3 Giuseppe Ghibò 2025-04-10 12:33:13 CEST
I've updated bluez to 5.82. I also added a systemd-253.31 update since it's often involved in suspend process (and it also fixes several bug including some memleak). See whether it fixes the problem.
Comment 4 Marc Krämer 2025-04-10 12:37:21 CEST
Do you have these updates in udpates_testing or is this only in caludron?
Comment 5 Giuseppe Ghibò 2025-04-10 12:39:55 CEST
updates_testing of mga9 as well as core/release of cauldron.

And systemd-253.31 for mga9's updates_testing, build in progress. Should be ready soon.
Comment 6 Marc Krämer 2025-04-10 12:40:22 CEST
Due to my vaccation next week, I probably can test afterwards
Comment 7 Marc Krämer 2025-04-30 17:30:53 CEST
tested the update - it looks good.
bluetooth reconnects the device after suspend, as it was in 5.79
Comment 8 Giuseppe Ghibò 2025-05-24 10:41:17 CEST
There is version 5.82 in updates_testing, which fixes the issue.

Assignee: geiger.david68210 => qa-bugs

Comment 9 Marc Krämer 2025-05-26 11:02:53 CEST
I guess we can move it. It works since weeks (both)
Comment 10 Brian Rockwell 2025-05-27 04:08:16 CEST
MGA9-64, Xfce, Celeron N2840, Chromebook

Bluetooth


installed 5.82

spent several hours using it.  No issues.

CC: (none) => brtians1

Comment 11 Herman Viaene 2025-05-27 16:06:29 CEST
Plse give the exact rpmname.

CC: (none) => herman.viaene

Comment 12 Giuseppe Ghibò 2025-05-27 16:15:30 CEST
Created attachment 14997 [details]
files list
Comment 13 Herman Viaene 2025-05-27 17:06:12 CEST
Used the same HW in testing bug 34123, but now
# systemctl enable bluetooth
Created symlink /etc/systemd/system/dbus-org.bluez.service → /usr/lib/systemd/system/bluetooth.service.
Created symlink /etc/systemd/system/bluetooth.target.wants/bluetooth.service → /usr/lib/systemd/system/bluetooth.service.
[root@mach3 ~]# systemctl restart bluetooth
[root@mach3 ~]# systemctl -l status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
     Active: active (running) since Tue 2025-05-27 17:01:31 CEST; 5s ago
       Docs: man:bluetoothd(8)
   Main PID: 4213 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 8806)
     Memory: 728.0K
        CPU: 244ms
     CGroup: /system.slice/bluetooth.service
             └─4213 /usr/libexec/bluetooth/bluetoothd

May 27 17:01:30 mach3.hviaene.thuis (uetoothd)[4213]: ConfigurationDirectory 'bluetooth' already exists but the mode is different. (File system: 755 Configu>
May 27 17:01:30 mach3.hviaene.thuis systemd[1]: Starting bluetooth.service...
May 27 17:01:31 mach3.hviaene.thuis bluetoothd[4213]: Bluetooth daemon 5.82
May 27 17:01:31 mach3.hviaene.thuis systemd[1]: Started bluetooth.service.
May 27 17:01:31 mach3.hviaene.thuis bluetoothd[4213]: Starting SDP server
May 27 17:01:31 mach3.hviaene.thuis bluetoothd[4213]: Bluetooth management interface 1.22 initialized
and
# bluetoothctl list
returns nothing and in lspcidrake -v I get:
btusb           : Qualcomm Atheros Communications|Unknown [Wireless|Radio Frequency|Bluetooth] (vendor:0cf3 device:3121)

and
# rfkill list
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
Googling hasn't brought me any furter yet.
Comment 14 Herman Viaene 2025-05-27 17:14:09 CEST
Long shot: I've just upgraded to kernel92, but Len had no problem on that.
-
Comment 15 katnatek 2025-05-27 18:35:19 CEST
(In reply to Herman Viaene from comment #14)
> Long shot: I've just upgraded to kernel92, but Len had no problem on that.
> -

Check if you not miss some of the firmware packages in bug#34302
Run harddrake and click on the bluethoot icom and see if you get some extra package
katnatek 2025-05-28 03:09:41 CEST

Keywords: (none) => advisory

Comment 16 Len Lawrence 2025-05-31 12:23:26 CEST
Just to confirm Herman's comment in comment #15.

kernel linus 6.6.92-1.mga9

Clean update.  Restarted bluetooth.  Audio connected over bluetooth immediately.

$ rpm -qa | grep bluez
bluez-tools-0.2.0-0.git20201025.1.mga9
lib64kf5bluezqt6-5.114.0-1.mga9
bluez-qt-5.114.0-1.mga9
python3-pybluez-0.22-9.mga9
bluez-5.82-1.mga9
lib64bluez3-5.82-1.mga9
lib64bluez-devel-5.82-1.mga9
bluez-mesh-5.82-1.mga9
bluez-cups-5.82-1.mga9
bluez-hid2hci-5.82-1.mga9

$ rfkill list
0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

CC: (none) => tarazed25

Comment 17 Len Lawrence 2025-05-31 12:27:51 CEST
In reply to comment #16;

With the test audio device still connected:
$ bluetoothctl
Agent registered
[Bose SLIII]> 

So, yes, no problems.
Comment 18 Giuseppe Ghibò 2025-06-05 16:28:33 CEST
Since everything is fine I think this can be validated.
Comment 19 Brian Rockwell 2025-06-09 04:02:40 CEST
used on an old intel chromebook.  Works

Installed on some other equipment, no issues.

I agree - I'll validate

Whiteboard: (none) => MGA9-64-OK

Comment 20 Thomas Andrews 2025-06-09 15:16:38 CEST
Validating.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Comment 21 Mageia Robot 2025-06-09 20:15:45 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2025-0057.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.