I try to solve a sleep problem on my Laptop (Lenovo Legion Y520-15IKBA, i5-7300HQ) with Debian Buster 10.5 and hopefully someone can help me:
My Laptop wakes up every time just after going to sleep, no matter if I use the desktop environment buttons or pm-suspend command. So the fan stops and the screen turns off, but then the laptop wakes up and shows the login screen for example (with MATE desktop). I would like to use Suspend to RAM (S3). Curiously sleep worked occasionally, but only once and afterwards I can't get sleep working again. So sleep should be possible with this Laptop, but I don't know how...I can't find any BIOS settings for sleep and already have the latest BIOS. In BIOS I tested disabling discrete AMD GPU, WiFi card and SecureBoot, but no success.
I looked with dmesg and wonder about the Firmmware Bug...
Code: Select all
[ 233.902521] ahci 0000:00:17.0: port does not support device sleep
[ 234.190703] PM: suspend entry (deep)
[ 234.190705] PM: Syncing filesystems ... done.
[ 234.191795] Freezing user space processes ... (elapsed 0.001 seconds) done.
[ 234.192995] OOM killer disabled.
[ 234.192996] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 234.194250] Suspending console(s) (use no_console_suspend to debug)
[ 234.212952] sd 2:0:0:0: [sda] Synchronizing SCSI cache
[ 234.213037] sd 2:0:0:0: [sda] Stopping disk
[ 235.446207] ACPI: EC: interrupt blocked
[ 235.485548] ACPI: Preparing to enter system sleep state S3
[ 235.485944] ACPI: EC: event blocked
[ 235.485944] ACPI: EC: EC stopped
[ 235.485945] PM: Saving platform NVS memory
[ 235.486279] Disabling non-boot CPUs ...
[ 235.502440] smpboot: CPU 1 is now offline
[ 235.518480] smpboot: CPU 2 is now offline
[ 235.534466] smpboot: CPU 3 is now offline
[ 192.852134] [Firmware Bug]: TSC ADJUST differs: CPU0 0 --> -234665014. Restoring
[ 235.538281] ACPI: Low-level resume complete
[ 235.538375] ACPI: EC: EC started
[ 235.538376] PM: Restoring platform NVS memory
[ 235.539266] Enabling non-boot CPUs ...
[ 235.539298] x86: Booting SMP configuration:
[ 235.539299] smpboot: Booting Node 0 Processor 1 APIC 0x2
[ 235.539780] cache: parent cpu1 should not be sleeping
[ 235.539834] intel_pstate: Disabling energy efficiency optimization
[ 235.539959] CPU1 is up
[ 235.539976] smpboot: Booting Node 0 Processor 2 APIC 0x4
[ 235.540368] cache: parent cpu2 should not be sleeping
[ 235.540509] CPU2 is up
[ 235.540524] smpboot: Booting Node 0 Processor 3 APIC 0x6
[ 235.540918] cache: parent cpu3 should not be sleeping
[ 235.541064] CPU3 is up
[ 235.543752] ACPI: Waking up from system sleep state S3
[ 235.547073] ACPI: EC: interrupt unblocked
[ 235.590008] ACPI: EC: event unblocked
[ 235.593291] sd 2:0:0:0: [sda] Starting disk
Thank you very much and best regards!