Bugzilla – Bug 1224103
Hybrid sleep wakes up on bluetooth device (normal sleep does not)
Last modified: 2024-05-11 07:18:49 UTC
If I send my laptop to hybrid sleep it wakes up when I power on my bluetooth headset. Using simple sleep works as expected. This is only happening since a few weeks. I have also added a rule to udev: ACTION=="add", SUBSYSTEM=="usb", DRIVERS=="usb", ATTRS{idVendor}=="8087", ATTR{power/wakeup}="disabled" because my bluetooth adapter shows up in lsusb, but there is no change. The system is Tumbleweed 20240503 with KDE6.
Could you verify whether it's a recent kernel regression? You can try the older kernels found in TW history repo, too http://download.opensuse.org/history/
The oldest kernel I found at the linked repo is 6.8.4-rc1 and it shows the problem. Where can I get older kernels? As far as I remember before migrating to KDE6 I was not using hybrid sleep, but with KDE6 problems with returning from sleep appeared therefore I needed to switch on hybrid sleep to save my work. The KDE bug report: https://bugs.kde.org/show_bug.cgi?id=484808 (see my last comment). Maybe it is not just a KDE bug?
You can find older kernels in my OBS kernel archive repos, e.g. OBS home:tiwai:kernel:6.7, home:tiwai:kernel:6.6, etc http://download.opensuse.org/repositories/home:/tiwai:/kernel:/6.7/standard/ It might be that it's no kernel issue but some changes in the desktop side, e.g. the configuration changes. Let's see.
I have made several tests and based on these I suspect it is a KDE6 issue. 1. It is present with kernels down to 6.2 (older kernels would require an mkinitrd I could not install) 2. It is not present in latest openSUSE Leap live iso, which is on KDE5 and kernel 5.14 3. It is present in Kubuntu, but not present in Ubuntu. Therefore I think it is probably a KDE6 bug.
OK, then let's reassign to KDE.