Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Oct 2005 15:19:35 -0400
From:      Dan Ponte <dcp1990@neptune.atopia.net>
To:        freebsd-hardware@freebsd.org
Subject:   Re: soft off powerbutton
Message-ID:  <20051012191935.GA52243@neptune.atopia.net>
In-Reply-To: <20051012033043.GA6933@heff.fud.org.nz>
References:  <20051012025904.GA24826@neptune.atopia.net> <20051012032216.GA25323@neptune.atopia.net> <20051012033043.GA6933@heff.fud.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 12, 2005 at 04:30:43PM +1300, Andrew Thompson <thompsa@freebsd.org> was witnessed plotting the following conspiracy:
> On Tue, Oct 11, 2005 at 11:22:16PM -0400, Dan Ponte wrote:
> > On Tue, Oct 11, 2005 at 10:59:04PM -0400, Dan Ponte <dcp1990@neptune.atopia.net> was witnessed plotting the following conspiracy:
> > > Hi all.
> > > 
> > > Has anything changed wrt: soft off via the ACPI power button? It used to
> > > work on 6-BETA4, but I upgraded to RC1 and now it just dumps me to ddb
> > > when I press the button. This is an ASUS CUSL2.
> > > 
> > > supermachine# uname -a
> > > FreeBSD supermachine.danponte.net 6.0-RC1 FreeBSD 6.0-RC1 #10: Mon Oct
> > > 10 14:47:38 EDT 2005
> > > (sources CVSupped from RELENG_6 only a few hours before the build time)
> > > -Dan
> > Err, disregard that....turns out the culprit was a change to the module
> > interface or somesuch that caused the system to crash when rtc.ko was
> > unloaded (which was out of sync with the new kernel).
> > Sorry to waste everyone's time.
> 
> You may have come across a handy feature, maybe we should add
> 
> hw.acpi.power_button_state: DDB
> 
> :)
Actually, an interface for executing arbitrary scripts or whatnot using
the power button would be a marvelous idea.
-Dan
-- 
Dan Ponte
http://www.theamigan.net/
If you can't be good, be careful.  If you can't be careful, give me a
call.



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