Fedora Account System
Red Hat Associate
Red Hat Customer
1. Please describe the problem: With kernel 6.10+ when I use my Thinkpad unplugged and close the lid, it goes to sleep (as expected). However when I then plug in the USB-C power to charge it, it wakes up; it does not do this with 6.9 and before (tried 6.9.12-200.fc40.x86_64). 2. What is the Version-Release number of the kernel: 6.10.5-200.fc40.x86_64 (same behavior on 6.10.3 and 6.10.4) 3. Did it work previously in Fedora? If so, what kernel version did the issue *first* appear? Old kernels are available for download at https://koji.fedoraproject.org/koji/packageinfo?packageID=8 : 6.10.3 is the first I observed 4. Can you reproduce this issue? If so, please provide the steps to reproduce the issue below: Yes: when unplugged, close the lid, goes to sleep - then plug in with lid still closed, wakes up 5. Does this problem occur with the latest Rawhide kernel? To install the Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by ``sudo dnf update --enablerepo=rawhide kernel``: Tried kernel-6.11.0-0.rc3.20240814git6b0f8db921ab.32.fc42.x86_64 but had many (unrelated) problems, system wasn't working right, wouldn't go to sleep at all, wouldn't shut down, had to hold the power button. There was a kernel NULL pointer dereference. 6. Are you running any modules that not shipped with directly Fedora's kernel?: no 7. Please attach the kernel logs. You can get the complete kernel log for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the issue occurred on a previous boot, use the journalctl ``-b`` flag. Reproducible: Always
Created attachment 2044517 [details] dmesg from kernel 6.10.5
Additional thing I tried (with 6.10.5): I left the lid open, plugged it in, and tried suspending. It went to sleep for a little while, but next time I looked it had wakened itself back up.
I believe this is related to this ticket: https://bugzilla.redhat.com/show_bug.cgi?id=2301921 and the Qualcomm wifi device.
Yep, sounds very similar, although maybe I have slightly different symptoms - I'm pretty sure that when unplugged, when I close the lid and don't plug it in it stays asleep (testing that now). I figured the Qualcomm wifi code got an update, as my wifi was kind of flakey with 6.9 and got much better with 6.10; too bad that's also potentially the source of the sleep problem. I'll try to add my debug info to that ticket later today.
*** This bug has been marked as a duplicate of bug 2301921 ***