Subject: Re: kern/37506: Have to hold power button for 5 seconds to turn off Laptop after "halt" command.
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Antti Kantee <pooka@cs.hut.fi>
List: netbsd-bugs
Date: 12/09/2007 17:15:05
The following reply was made to PR kern/37506; it has been noted by GNATS.
From: Antti Kantee <pooka@cs.hut.fi>
To: "Jared D. McNeill" <jmcneill@invisible.ca>
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 17:55:43 +0200
On Sun Dec 09 2007 at 10:50:29 -0500, Jared D. McNeill wrote:
> 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.
Then don't call it expected behaviour, call it an expected bug.
I certainly don't expect it and frankly it annoys me if I accidentally
mistype halt without -p and am not quick enough to tap the power button
before the kernel halts.
--
Antti Kantee <pooka@iki.fi> Of course he runs NetBSD
http://www.iki.fi/pooka/ http://www.NetBSD.org/
"la qualité la plus indispensable du cuisinier est l'exactitude"