Frequent failures to resume after suspend

  • Which OS: Ubuntu 24.10 (Linux 6.11.0-24-generic)
  • Which Framework product Framework Laptop 13 with AMD Ryzen 7040 Series

Greetings, all

Lately I’ve experienced the following situation: I leave my laptop unplugged sitting on the desk/table/wherever (lid not closed) and the auto-suspend on Ubuntu kicks in. Sometimes it’s ok, but frequently, when I press any button (not just the power button) I see that my laptop initiates the boot process as if it had shut down and not actually suspended. It has more than enough battery till the end of the day. How would I troubleshoot this? Here’s some journalctl output that came to mind, but other than that I can’t think of anything else:

journalctl -b -1 | grep -i "suspend\|sleep\|wake"

Apr 27 12:56:58 framework-13 kernel: rtc_cmos 00:01: RTC can wake from S4
Apr 27 12:57:06 framework-13 kernel: nvme 0000:02:00.0: platform quirk: setting simple suspend
Apr 27 13:00:08 framework-13 sudo[5675]:   <redacted_user> : TTY=pts/0 ; PWD=/home/drongo ; USER=root ; COMMAND=/usr/bin/tee /sys/power/mem_sleep

It is helpful if you can include the full log output
either
dmesg
or
journalctl --dmesg

That way, we get to see exactly which versions of firmware etc. you are using.
Also, there have been some kernel fixes that might help, so the closest you can get to 6.14.4 the better.

There are various ways to diagnose suspend/resume failures.

One of them is this:
echo N | sudo tee /sys/module/printk/parameters/console_suspend

It will leave the console on during suspend, so that when it wakes, you get to see more console log messages on the display.
The messages will disappear pretty quickly, so best to video the suspend/resume with your phone, and then look back at the messages in slowmo.

1 Like

Ok, I’ll give the console suspension a try. Meanwhile, I’m attaching the dmesg.log that I got:

Some common things that cause failures to resume after suspend are:

  1. Bluetooth. Try disabling bluetooth before you suspend and see if that helps.
    Its been fixed on more recent Linux kernels
  2. NVME SSD firmware. Which NVME SSD do you have ?
    Sometimes upgraded the NVME firmware helps suspend work.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.