Cannot wake after sleep

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
magisu
Posts: 4
Joined: 2017-04-24 00:00

Cannot wake after sleep

#1 Post by magisu »

I am using Debian bookworm with kernel 6.11.2 (from sid repository) on an ASUS Zenbook Q420V. I am unable to switch my laptop to sleep mode. Here are what I have tried.

0. After intalling bookworm with default kernel, when I close my laptop lid and disconnect the charging cable, the battery will drain within a few hours. It seems the machine is not "sleeping" at all.
1. Switching `/sys/power/mem_sleep` to `[deep]`. After this, when I close my lid, the laptop will freeze with blank screen and keyboard light on, I have to "hard power cycle" by keeping holding power button for some seconds, and wait for the boot.
2. I upgraded kernel to 6.11, and let the computer sleep. Then it just powered down, not wake-able, and pressing the power button will start a cold boot.
3. I checked the system log, and several interesting partys:

Code: Select all

Oct 21 13:35:15.899773 Lain kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PC00.LPCB.HEC.CFSP], AE_NOT_FOUND (20240322/psarg>
Oct 21 13:35:15.899809 Lain kernel: ACPI Error: Aborting method \_SB.PC00.LPCB.H_EC.TFN1._FST due to previous error (AE_NOT_FOUND) (2024032>
Oct 21 13:35:15.899824 Lain kernel: acpi INTC10A2:00: Get fan state failed
Oct 21 13:35:19.111972 Lain kernel: ucsi_acpi USBC000:00: error -ETIMEDOUT: PPM init failed
Oct 21 13:59:22.724147 Lain kernel: PM: suspend entry (deep)
The `suspend entry` is the last line of the log.

May I have some help debugging this issue?

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2360
Joined: 2010-06-07 16:59
Has thanked: 45 times
Been thanked: 257 times

Re: Cannot wake after sleep

#2 Post by FreewheelinFrank »

magisu wrote: 2024-10-21 21:20
0. After intalling bookworm with default kernel, when I close my laptop lid and disconnect the charging cable, the battery will drain within a few hours. It seems the machine is not "sleeping" at all.
1. Switching `/sys/power/mem_sleep` to `[deep]`. After this, when I close my lid, the laptop will freeze with blank screen and keyboard light on, I have to "hard power cycle" by keeping holding power button for some seconds, and wait for the boot.
The default setting is probably not "sleep" at all, but "Modern Standby" aka S2idle or S0ix. Modern Standby is a Microsoft thing, and plenty of Microsoft users are complaining about battery drain (and overheating CPUs) while using it.

For example:

https://www.reddit.com/r/GamingLaptops/ ... in_modern/

Laptop manufacturers may aim for the Microsoft market and only support Modern Standby, or advertise (ie in /sys/power/mem_sleep) deep sleep but not support it, so the laptop may not wake up from deep sleep.

https://wiki.archlinux.org/title/Power_ ... end_method

If deep (S3) sleep is not supported, you won't be able to use it, and it looks like it isn't on modern Asus laptops.

https://rog-forum.asus.com/t5/previous- ... d-p/892199

Have you tried S0ix with an updated kernel from Debian Backports? It may have improved power management in sleep. (The Sid kernel may also introduce bugs.)

Post Reply