Subject: Re: kern/37506: Have to hold power button for 5 seconds to turn off
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Jared D. McNeill <jmcneill@invisible.ca>
List: netbsd-bugs
Date: 12/09/2007 15:55:02
The following reply was made to PR kern/37506; it has been noted by GNATS.

From: "Jared D. McNeill" <jmcneill@invisible.ca>
To: Antti Kantee <pooka@cs.hut.fi>
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/37506: Have to hold power button for 5 seconds to turn off
 Laptop after "halt" command.
Date: Sun, 9 Dec 2007 10:50:29 -0500 (EST)

 On Sun, 9 Dec 2007, Antti Kantee wrote:
 > No, it's not.  The submitter clearly stated you don't get the delay with
 > a non-acpi kernel.
 
 And that's normal. As soon as we take control over the soft power button 
 (by entering ACPI mode), this is how things work. A short press generates 
 an interrupt, and a long press bypasses this mechanism and powers off the 
 machine directly. Since the kernel is already halted at this point, 
 we can't really handle it.
 
 If the submitter didn't first run 'halt', he could have pressed the power 
 button and the system would have gracefully powered off on its own.
 
 Cheers,
 Jared