Hacker News new | ask | show | jobs
by codedokode 562 days ago
Out of curiosuty, I looked through logs at my laptop after it wakes up and here is what is present there:

> kernel: ACPI: PM: Waking up from system sleep state S3

> kernel: CPU1 is up

> kernel: smpboot: Booting Node 0 Processor 1 APIC 0x1

> kernel: Enabling non-boot CPUs

> kernel: ACPI: PM: Low-level resume complete

So of course it might be not a "real" S3, but I didn't have a chance to test how long the laptop battery can last in suspended mode.

1 comments

No, that is in fact what going out of real S3 looks like, SMP bringup and all. For comparison, here's going in and out of S0ix (aka suspend-to-idle aka "s2idle" even though it has nothing to do with ACPI S2) on my laptop (with messages from amdgpu, etc., snipped):

  PM: suspend entry (s2idle)
  Filesystems sync: 0.012 seconds
  Freezing user space processes
  Freezing user space processes completed (elapsed 0.003 seconds)
  OOM killer disabled.
  Freezing remaining freezable tasks
  Freezing remaining freezable tasks completed (elapsed 0.002 seconds)
  printk: Suspending console(s) (use no_console_suspend to debug)
  atkbd serio0: Disabling IRQ1 wakeup source to avoid platform firmware bug   <-- this is the Framework workaround
  pcieport 0000:00:08.3: quirk: disabling D3cold for suspend
  ACPI: EC: interrupt blocked
  ACPI: EC: interrupt unblocked
  OOM killer enabled.
  Restarting tasks ...
  done.
  random: crng reseeded on system resumption
  PM: suspend exit