Running Debian/trixie on a Framework 13 AMD Ryzen 5 7640U.
Sometimes suspend works fine. Other times, it suspends then immediately resumes again with just a brief flash of the keyboard LED. When it resumes it’s always working properly again. Occasionally, just attempting it again will manage to make it suspend, but usually it remains in this un-suspendable state until a cold reboot, when maybe the next works just fine. I have found no particular pattern to the occasions when it does vs. does not work.
Critically, the line towards the end of “Last suspend didn’t reach deepest state” would be my guess as some indication of what the trouble is, but beyond that I have no clue.
Hah - wow, and just after I wrote that I managed to make it suspend correctly. This was during the same session, without having rebooted inbetween. This time the messages are:
And in particular, the last message before suspend was the “ACPI: EC: interrupt blocked”, and much later (by timestamps) the “ACPI: EC: interrupt unblocked” with no complaint about not reaching deepest state inbetween.
This does suggest that’s where the problem lies, though doesn’t point at what might fix it.
Yeah and if we’re talking about gaps, make sure you upgrade power profiles daemon to a current version too. This will allow PMF and AMD Pstate to be configured properly.
After a combination of an accidental quirk followed up by much further experimentation, I have narrowed it down. It turns out that if I have a Firefox tab open to with the YouTube video player inside it, the laptop doesn’t stay in suspend mode; it resumes again immediately. If I close that tab (just that tab; the rest of the browser can remain) then suspend reliably works. A slightly non-ideal circumstance, but perhaps I can find an improvement by one of the other suggestions lower down. I’ll keep reading.
I reproduced this on my 7040 series 13 laptop on Ubuntu 24.04 as well, are there any software version combinations that are supposed to have this problem fixed?