soft off powerbutton

Dan Ponte dcp1990 at neptune.atopia.net
Wed Oct 12 12:19:33 PDT 2005


On Wed, Oct 12, 2005 at 04:30:43PM +1300, Andrew Thompson <thompsa at 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 at 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.


More information about the freebsd-hardware mailing list