Module Name: src Committed By: riz Date: Wed Oct 17 21:21:44 UTC 2012
Modified Files: src/etc/powerd/scripts [netbsd-6]: sensor_indicator src/sys/dev/sysmon [netbsd-6]: sysmon_envsys_events.c sysmon_envsys_tables.c sysmon_envsysvar.h src/sys/sys [netbsd-6]: envsys.h Log Message: Pull up following revision(s) (requested by pgoyette in ticket #545): etc/powerd/scripts/sensor_indicator: revision 1.5 sys/dev/sysmon/sysmon_envsys_tables.c: revision 1.11 sys/sys/envsys.h: revision 1.32 sys/dev/sysmon/sysmon_envsysvar.h: revision 1.43 sys/dev/sysmon/sysmon_envsys_events.c: revision 1.104 Provide names for the values associated with INDICATOR sensors. 1. Enable use of FMONSTCHANGED events for INDICATOR sensors 2. Update handling of FMONCRITICAL event reporting. The state transition does not require a corresponding change in value. With these changes, you can now have an INDICATOR sensor that reports the presence or absence of a device, and (if the device is present) separately monitor it for proper functioning. Should address the concerns expressed recently with the commit of changes to wmi(4) BBU handling. Handle any reports of state changes for INDICATORs To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.4.32.1 src/etc/powerd/scripts/sensor_indicator cvs rdiff -u -r1.98.8.1 -r1.98.8.2 src/sys/dev/sysmon/sysmon_envsys_events.c cvs rdiff -u -r1.10 -r1.10.8.1 src/sys/dev/sysmon/sysmon_envsys_tables.c cvs rdiff -u -r1.40.8.1 -r1.40.8.2 src/sys/dev/sysmon/sysmon_envsysvar.h cvs rdiff -u -r1.31 -r1.31.16.1 src/sys/sys/envsys.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.