joshua stein <[email protected]> wrote: > On Sat, 15 Jan 2022 at 01:50:03 +0000, Mikolaj Kucharski wrote: > > >Synopsis: ThinkPad x1c9 suspend fails with acpi0: state S3 unavailable > > >Category: kernel > > >Environment: > > System : OpenBSD 7.0 > > Details : OpenBSD 7.0-current (GENERIC.MP) #252: Thu Jan 13 > > 10:07:03 MST 2022 > > > > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > > > Architecture: OpenBSD.amd64 > > Machine : amd64 > > >Description: > > zzz command fails to suspend the machine > > >How-To-Repeat: > > Running as root command zzz doesn't do anything. > > # zzz > > Suspending system... > > > > In dmesg one entry shows up: > > # dmesg | tail -n1 > > acpi0: state S3 unavailable > > > > Hibernate also doesn't work. > > # ZZZ > > Hibernating system... > > Right, your BIOS doesn't support S3: > > > bios0 at mainbus0: SMBIOS rev. 3.2 @ 0x900b0000 (76 entries) > > bios0: vendor LENOVO version "N32ET75W (1.51 )" date 12/02/2021 > > bios0: LENOVO 20XWCTO1WW > > acpi0 at bios0: ACPI 6.1 > > acpi0: sleep states S0 S4 S5 > > I haven't been keeping up on the X1 Carbon, but is there a BIOS > update or menu option available that enables the S3 state? Without > it, there's not much OpenBSD can do.
There is a BIOS option called "Linux S3"; enable it. And feel sad and cynical about buying this hardware again. The joke is that a bunch of hardware companies still consider the far more complicated Microsoft-only S0ix "maybe works, on a prayer, a lot of prayers, too many prayers" will work in a reliable fashion." eventually, or maybe only on their vertical channel, but hey what else matters? They are 3-5 year into trying to make that work even on Windows. Linux appetite for making this work is very slow, which is good. My theory is that Microsoft or Intel paid/discounted these hardware companies on year contracts to only ship new hardware with S0ix suspend support, because about a year afterwards Intel-cpu hardware gets a BIOS update with a "Linux S3" suspend option. I mention Intel, because the AMD-based hardware S3 vs S0 situation is subtly different. Caveat Emptor, Venditor Vult Fieri Verticalem.
