Tested on kernels 6.5 and 6.6. On ThinkPad P14s AMD, with latest firmware, AMD Ryzen 7 PRO 7840U, the device wakes up from suspend instantly after being put to sleep using any method. There are no errors in dmesg, and everything looks like a clean suspend/resume. On kernel 6.1 however, the device is fully functional and stays asleep when suspended. I have not tested any inbetween kernels (I have 6.1 around because it's an LTS). Common advice like disabling wakeup sources have no effect, the device still wakes up.
(In reply to Daniel Kolesa from comment #0) > Tested on kernels 6.5 and 6.6. On ThinkPad P14s AMD, with latest firmware, > AMD Ryzen 7 PRO 7840U, the device wakes up from suspend instantly after > being put to sleep using any method. There are no errors in dmesg, and > everything looks like a clean suspend/resume. > > On kernel 6.1 however, the device is fully functional and stays asleep when > suspended. > > I have not tested any inbetween kernels (I have 6.1 around because it's an > LTS). > Please do bisection to find the exact culprit (see Documentation/admin-guide/bug-bisect.rst in the kernel sources for how to do that). > Common advice like disabling wakeup sources have no effect, the device still > wakes up. Can you also attach full system logs (like dmesg or journalctl)?
I found that it's actually not 6.1 kernel that fixes it, even though it seems that way; I noticed that 6.1 also sometimes immediately wakes. Then I figured out that it only wakes if I wait long enough for networkmanager to reconnect to wifi. So I tried turning off wifi from gnome, and... it stays asleep on all kernels. The wifi is this: 02:00.0 Network controller: Qualcomm Technologies, Inc QCNFA765 Wireless Network Adapter (rev 01) It uses the ath11k driver.
This could very well be this firmware related issue: https://bugzilla.kernel.org/show_bug.cgi?id=217239
Yes; it should be a duplicate of that. Please update to .37 firmware, which is the fix for that. *** This bug has been marked as a duplicate of bug 217239 ***