disabling sleep when shutting down
Ian Smith
smithi at nimnet.asn.au
Thu Sep 17 11:31:33 UTC 2015
On Thu, 17 Sep 2015 10:52:23 +0200, Dan Lukes wrote:
> 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.
News to me, but I never suspend on lid down .. well I tested it once.
> > 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 ?
That sounds sensible and likely much easier to accomplish. It needs to
happen early enough in shutdown to beat the fastest of lid-slammers :)
cheers, Ian
More information about the freebsd-acpi
mailing list