Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Aug 2019 08:08:16 -0000
From:      andrew clarke <mail@ozzmosis.com>
To:        "Kevin P. Neal" <kpn@neutralgood.org>
Cc:        hw <hw@adminart.net>, Polytropon <freebsd@edvax.de>, freebsd-questions@freebsd.org, hw <hw@gc-24.de>, Erich Dollansky <freebsd.ed.lists@sumeritec.com>
Subject:   Re: howto allow anyone to poweroff?
Message-ID:  <20190811080805.5smuocukefjd2ayk@ozzmosis.com>
In-Reply-To: <20190809162827.GB98224@neutralgood.org>
References:  <20190807183735.f4a87306c851426be6b799ca@gc-24.de> <20190808094618.787a7422.freebsd.ed.lists@sumeritec.com> <20190808085222.77febec0.freebsd@edvax.de> <87sgqaxyi6.fsf@toy.adminart.net> <20190809162827.GB98224@neutralgood.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri 2019-08-09 12:28:27 UTC-0400, Kevin P. Neal (kpn@neutralgood.org) wrote:

> On Fri, Aug 09, 2019 at 03:24:33PM +0200, hw wrote:
> > In any case, when a user logs out, there is no way to shut down the
> > machine other than holding the power button or pulling the plug, and
> > that sucks.
> 
> Wait, really? It's supposed to do a clean shutdown if you push the power
> button normally. That works on my hardware. If it doesn't on yours then
> filing a bug report may be helpful.

On modern (~15 years old or newer) PCs that support a clean shutdown using
the power button, normally you'll see something like this in
/var/run/dmesg.boot:

acpi0: Power Button (fixed)

And possibly:

acpi_button0: <Power Button> on acpi0



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