Subject: Front panel power button
To: None <port-sparc64@NetBSD.ORG>
From: Martin Husemann <martin@duskware.de>
List: port-sparc64
Date: 04/21/2003 14:09:45
Hi Folks,

I just commited support to connect the front panel power button on psycho
(PCI) based machines to sysmon and /dev/power. This means that you just
need to add

  powerd=YES

to your /etc/rc.conf file and then will be able to gracefully shutdown the
machine by pressing the power buttoon. Thanks a lot to Wasabi and Jason Thorpe
for the framework.

Two side notes:

 - I have no idea how this (hardware-wise) works on sbus machines and wether
   those support this kind of button at all

 - The obvious next target is the power button on the keyboard, but I have
   too many uncommited keyboard changes in my tree right now that I need
   to finish and cleanup first ;-) [hopefully realy soon]

Martin