Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2005 22:17:47 -0600
From:      Craig Boston <craig@feniz.gank.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: fsck: broken file system with background check remains broken after bootup
Message-ID:  <200501042217.47934.craig@feniz.gank.org>
In-Reply-To: <20050105035743.GE8708@squash.dsto.defence.gov.au>
References:  <41DA7D20.8000704@yahoo.com> <20050105035009.GA88792@nowhere> <20050105035743.GE8708@squash.dsto.defence.gov.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 04 January 2005 9:57 pm, Wilkinson, Alex wrote:
> How can I confirm that ACPI has been setup to do this ?

Hmm, well, the easiest thing to check is to run

sysctl hw.acpi.power_button_state

and see if that sysctl exists and if so, what it's set to (mine is S5, which 
IIRC is complete power-off).  Also, check dmesg and see if you see a line 
similar to

acpi_button0: <Power Button> on acpi0

If both of those show up, chances are that your ASL has a power button entry 
and it should do the right thing.  Other than that, you could always wait 
until the system is idle and just try hitting the button to see what 
happens ;)

Craig



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