Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Sep 2015 21:31:26 +1000 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Dan Lukes <dan@obluda.cz>
Cc:        Colin Percival <cperciva@freebsd.org>, "freebsd-acpi@freebsd.org" <freebsd-acpi@freebsd.org>
Subject:   Re: disabling sleep when shutting down
Message-ID:  <20150917211219.M29510@sola.nimnet.asn.au>
In-Reply-To: <55FA7F47.6050508@obluda.cz>
References:  <55FA3848.7090802@freebsd.org> <55FA7F47.6050508@obluda.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150917211219.M29510>