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.
Peeking through dmesg
reveals the following
[33380.692924] PM: suspend entry (s2idle)
[33380.696946] Filesystems sync: 0.004 seconds
[33380.697188] (NULL device *): firmware: direct-loading firmware mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin
[33380.697462] (NULL device *): firmware: direct-loading firmware mediatek/WIFI_RAM_CODE_MT7922_1.bin
[33380.697503] (NULL device *): firmware: direct-loading firmware regulatory.db.p7s
[33380.697505] (NULL device *): firmware: direct-loading firmware regulatory.db
[33380.697695] (NULL device *): firmware: direct-loading firmware mediatek/BT_RAM_CODE_MT7922_1_1_hdr.bin
[33380.698489] Freezing user space processes
[33380.720249] Freezing user space processes completed (elapsed 0.021 seconds)
[33380.720259] OOM killer disabled.
[33380.720262] Freezing remaining freezable tasks
[33380.721692] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[33380.721700] printk: Suspending console(s) (use no_console_suspend to debug)
[33381.295100] ACPI: EC: interrupt blocked
[33381.570391] amd_pmc AMDI0009:00: Last suspend didn't reach deepest state
[33381.845211] ACPI: EC: interrupt unblocked
[33382.029593] [drm] PCIE GART of 512M enabled (table at 0x000000801FD00000).
[33382.029633] amdgpu 0000:c1:00.0: amdgpu: SMU is resuming...
[33382.031657] amdgpu 0000:c1:00.0: amdgpu: SMU is resumed successfully!
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.
Anyone any ideas?