Subject: CVS commit: src/sys/dev/sysmon
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 04/17/2003 01:02:22
Module Name:	src
Committed By:	thorpej
Date:		Thu Apr 17 01:02:22 UTC 2003

Modified Files:
	src/sys/dev/sysmon: files.sysmon sysmonvar.h
Added Files:
	src/sys/dev/sysmon: sysmon_power.c

Log Message:
Start at a power management framework for sysmon.  Right now we just
provide some VERY basic support for power/sleep buttons and lid switches;
if someone presses the power button, shut down the system semi-gracefully.

Eventually, we will send events for all types of button/lid events down
to a userland power management daemon, which will be able to define a
separate policy for each button/switch.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/sys/dev/sysmon/files.sysmon
cvs rdiff -r0 -r1.1 src/sys/dev/sysmon/sysmon_power.c
cvs rdiff -r1.4 -r1.5 src/sys/dev/sysmon/sysmonvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.