From owner-freebsd-acpi@FreeBSD.ORG Fri Apr 17 20:30:30 2009 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05040106566B; Fri, 17 Apr 2009 20:30:30 +0000 (UTC) (envelope-from nate@root.org) Received: from nlpi053.prodigy.net (nlpi053.sbcis.sbc.com [207.115.36.82]) by mx1.freebsd.org (Postfix) with ESMTP id C72E38FC08; Fri, 17 Apr 2009 20:30:29 +0000 (UTC) (envelope-from nate@root.org) Received: from [10.0.5.18] (ppp-71-139-8-80.dsl.snfc21.pacbell.net [71.139.8.80]) (authenticated bits=0) by nlpi053.prodigy.net (8.13.8 smtpauth/dk/map_regex/8.13.8) with ESMTP id n3HKUQur026495; Fri, 17 Apr 2009 15:30:26 -0500 Message-ID: <49E8E6E3.40304@root.org> Date: Fri, 17 Apr 2009 13:30:27 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Kostik Belousov References: <49DE1F8B.2080400@earthlink.net> <49DE2E6D.5050001@icyb.net.ua> <49DE596E.2050406@earthlink.net> <49DEFF53.1040306@icyb.net.ua> <49DF7A1C.90009@root.org> <20090418043432.O34434@sola.nimnet.asn.au> <49E8D824.1000001@root.org> <20090417200726.GG3014@deviant.kiev.zoral.com.ua> In-Reply-To: <20090417200726.GG3014@deviant.kiev.zoral.com.ua> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: sclark46@earthlink.net, freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, Ian Smith , Andriy Gapon Subject: Re: 6.x acpi powerbutton X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2009 20:30:30 -0000 Kostik Belousov wrote: > On Fri, Apr 17, 2009 at 12:27:32PM -0700, Nate Lawson wrote: >> Ian Smith wrote: >>> Perhaps a silly question, but is it too late at this stage of the game >>> to try logging S5 events to syslog before dying? I agree with Stephen, >>> logging 'shutdown by powerbutton' surely beats what might otherwise >>> resemble a spontaneous reboot? Or is something already logged here? >> I'm not resisting this, but I'm having trouble seeing the importance. >> What happens differently than if someone hits CTRL-ALT-DEL on a virtual >> console? > > Actually, this is quite reasonable feature. Quite often, machines > do not have physical consoles, or C-A-D is disabled. On the other > hand, power button is quite easy to be pressed by mistake by passing > staff. Sure. Perhaps Andriy will pick up this task after reworking the suspend path code for S5? It seems related. -- Nate