From owner-freebsd-hardware@FreeBSD.ORG Wed Oct 12 19:19:33 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EC9316A41F for ; Wed, 12 Oct 2005 19:19:33 +0000 (GMT) (envelope-from dcp1990@neptune.atopia.net) Received: from neptune.atopia.net (neptune.atopia.net [209.128.231.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6499443D5F for ; Wed, 12 Oct 2005 19:19:32 +0000 (GMT) (envelope-from dcp1990@neptune.atopia.net) Received: by neptune.atopia.net (Postfix, from userid 1034) id EBA73614A; Wed, 12 Oct 2005 15:19:35 -0400 (EDT) Date: Wed, 12 Oct 2005 15:19:35 -0400 From: Dan Ponte To: freebsd-hardware@freebsd.org Message-ID: <20051012191935.GA52243@neptune.atopia.net> Mail-Followup-To: freebsd-hardware@freebsd.org References: <20051012025904.GA24826@neptune.atopia.net> <20051012032216.GA25323@neptune.atopia.net> <20051012033043.GA6933@heff.fud.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051012033043.GA6933@heff.fud.org.nz> User-Agent: Mutt/1.5.11 Subject: Re: soft off powerbutton X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Oct 2005 19:19:33 -0000 On Wed, Oct 12, 2005 at 04:30:43PM +1300, Andrew Thompson 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 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.