6.x acpi powerbutton

Nate Lawson nate at root.org
Fri Apr 17 20:30:30 UTC 2009


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


More information about the freebsd-stable mailing list