Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jan 2005 14:55:06 +1030
From:      "Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au>
To:        freebsd-stable@freebsd.org
Subject:   Re: fsck: broken file system with background check remains broken after bootup
Message-ID:  <20050105042506.GF8708@squash.dsto.defence.gov.au>
In-Reply-To: <200501042217.47934.craig@feniz.gank.org>
References:  <41DA7D20.8000704@yahoo.com> <20050105035009.GA88792@nowhere>  <20050105035743.GE8708@squash.dsto.defence.gov.au>  <200501042217.47934.craig@feniz.gank.org>

next in thread | previous in thread | raw e-mail | index | archive | help
    0n Tue, Jan 04, 2005 at 10:17:47PM -0600, Craig Boston wrote: 

    >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 ;)

Cool, thanks:

#sysctl hw.acpi.power_button_state
hw.acpi.power_button_state: S5

#grep acpi_button /var/run/dmesg.boot 
acpi_button0: <Power Button> on acpi0

 - aW



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