Subject: Re: ATX power button
To: Julio Merino <jmmv@hispabsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-i386
Date: 04/27/2002 12:14:58
On Fri, Apr 26, 2002 at 11:31:18PM +0200, Julio Merino wrote:
> Hi all
> 
> I'm wondering if it is possible to change the function of the ATX power
> button in NetBSD.
> 
> Now, when I press it, I hear three beps and then the system enters
> suspended mode (I think this is a thing of the bios). In FreeBSD, the
> kernel showed several messages about the event, which were captured
> by the apmd daemon.
> 
> Here, in NetBSD I do not see any kernel messages. Does it catch these
> events?

Make sure your kernel is compiled with the apm0 driver.

> 
> And the real question: could I change the button function to do a
> 'shutdown -p halt' instead of the suspend?

Rigth now I'm not sure it's possible.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--