On 09/17/15 04:31, Ian Smith wrote: > On Thu, 17 Sep 2015 10:52:23 +0200, Dan Lukes wrote: > > Colin Percival wrote: > > > 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.
This doesn't make any sense to me. If the shutdown fails, how likely is it that suspend will work? > > 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 :) I considered that option but thought that disabling suspend completely would be better in case it was triggered by something else -- for example, power management which autosuspends based on battery level or inactivity. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-acpi To unsubscribe, send any mail to "[email protected]"
