Subject: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: source-changes
Date: 07/01/2007 07:55:54
Module Name:	src
Committed By:	xtraeme
Date:		Sun Jul  1 07:55:54 UTC 2007

Modified Files:
	src/distrib/sets/lists/comp: mi
	src/distrib/sets/lists/etc: mi
	src/etc/defaults: rc.conf
	src/etc/mtree: special
	src/etc/powerd/scripts: Makefile
	src/share/man/man4: envsys.4
	src/share/man/man9: Makefile
Added Files:
	src/etc: envsys.conf
	src/etc/powerd/scripts: sensor_battery sensor_drive sensor_fan
	    sensor_power sensor_resistance sensor_temperature sensor_voltage
	src/share/man/man9: sysmon_envsys.9

Log Message:
Imported envsys 2, a brief description of the new features:
(Part 4: documentation and configuration files)

* Support for detachable sensors.
* Cleaned up the API for simplicity and efficiency.
* Ability to send capacity/critical/warning events to powerd(8).
* Adapted all the code to the new locking order.
* Compatibility with the old envsys API: the ENVSYS_GTREINFO
  and ENVSYS_GTREDATA ioctl(2)s are supported.
* Added support for a 'dictionary based communication channel' between
  sysmon_power(9) and powerd(8), that means there is no 32 bytes event
  size restriction anymore.
* Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40.
* All drivers with the n^2 gtredata bug were fixed, PR kern/36226.

Tested by:

blymn: smsc(4).
bouyer: ipmi(4), mfi(4).
kefren: ug(4).
njoly: viaenv(4), adt7463.c.
riz: owtemp(4).
xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).


To generate a diff of this commit:
cvs rdiff -r1.1037 -r1.1038 src/distrib/sets/lists/comp/mi
cvs rdiff -r1.190 -r1.191 src/distrib/sets/lists/etc/mi
cvs rdiff -r0 -r1.1 src/etc/envsys.conf
cvs rdiff -r1.86 -r1.87 src/etc/defaults/rc.conf
cvs rdiff -r1.111 -r1.112 src/etc/mtree/special
cvs rdiff -r1.5 -r1.6 src/etc/powerd/scripts/Makefile
cvs rdiff -r0 -r1.1 src/etc/powerd/scripts/sensor_battery \
    src/etc/powerd/scripts/sensor_drive src/etc/powerd/scripts/sensor_fan \
    src/etc/powerd/scripts/sensor_power \
    src/etc/powerd/scripts/sensor_resistance \
    src/etc/powerd/scripts/sensor_temperature \
    src/etc/powerd/scripts/sensor_voltage
cvs rdiff -r1.27 -r1.28 src/share/man/man4/envsys.4
cvs rdiff -r1.236 -r1.237 src/share/man/man9/Makefile
cvs rdiff -r0 -r1.1 src/share/man/man9/sysmon_envsys.9

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