disabling sleep when shutting down

Dan Lukes dan at obluda.cz
Sat Sep 26 08:54:24 UTC 2015


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



More information about the freebsd-acpi mailing list