disabling sleep when shutting down

Dan Lukes dan at obluda.cz
Thu Sep 17 08:52:39 UTC 2015


Colin Percival wrote:
> I ran into an interesting glitch recently: I told my laptop to shut down,
> then closed the lid... and it promptly went into S3.  When I opened the
> lid a couple days later, it resumed... and then finished the shutdown
> which it had started 2 days earlier.

Yes, it's well known behavior to me.

> I think we need to get the kernel ACPI bits to disable Suspend.

I consider it is suboptimal solution. I wish the suspend still happen if
shutdown will not complete for any reason. All I want is that lid close
doesn't trigger any action during shutdown.

So what about hw.acpi.lid_switch_state just to be set to NONE during
shutdown ?

Dan



More information about the freebsd-acpi mailing list