Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Sep 2015 10:54:11 +0200
From:      Dan Lukes <dan@obluda.cz>
To:        Colin Percival <cperciva@freebsd.org>, Jung-uk Kim <jkim@FreeBSD.org>, John Baldwin <jhb@freebsd.org>, "freebsd-acpi@freebsd.org" <freebsd-acpi@freebsd.org>, ian Smith <smithi@nimnet.asn.au>
Subject:   Re: disabling sleep when shutting down
Message-ID:  <56065D33.7080109@obluda.cz>
In-Reply-To: <560648A7.4030708@freebsd.org>
References:  <55FA3848.7090802@freebsd.org> <55FB233D.2080000@FreeBSD.org> <55FB48E3.20401@freebsd.org> <55FC4F13.3090603@FreeBSD.org> <55FC57F9.3050702@yahoo.com> <55FE5D54.1030806@freebsd.org> <5601A863.5070406@FreeBSD.org> <560262BF.7090107@freebsd.org> <5602DE8D.3020102@FreeBSD.org> <560648A7.4030708@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Colin Percival wrote:
> I've written (but not yet actually compiled or tested, so beware of typos) a patch which I think makes sense.

It look good.

But it seems to me the goal has been lost during discussion. It has been
started because of unwilling interaction of LID close and ongoing
shutdown, isn't it ?

Unless I misunderstood the code, your patch seems to solve it for
special case only:
hw.acpi.lid_switch_state=S3

But what about Sx states for x -ne 3 ?

I don't feel to be expert on ACPI code, thus it's possible those states
are handled (=ignored) correctly as well. In such case ignore this message.

Dan




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