2007-12-27 04:23:55 +03:00
|
|
|
# $NetBSD: envsys.conf,v 1.10 2007/12/27 01:23:55 xtraeme Exp $
|
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).
2007-07-01 11:55:51 +04:00
|
|
|
#
|
2007-10-07 08:19:06 +04:00
|
|
|
# ----------------------------------------------------------------------
|
|
|
|
# Configuration file for envstat(8) and the envsys(4) framework.
|
|
|
|
# ----------------------------------------------------------------------
|
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).
2007-07-01 11:55:51 +04:00
|
|
|
#
|
2007-10-07 08:19:06 +04:00
|
|
|
# Devices are specified in the first block, sensors in the second block,
|
|
|
|
# and properties inside of the sensor block:
|
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).
2007-07-01 11:55:51 +04:00
|
|
|
#
|
2007-10-07 08:19:06 +04:00
|
|
|
# foo0 {
|
2007-12-27 03:52:40 +03:00
|
|
|
# prop0 = value;
|
2007-10-07 08:19:06 +04:00
|
|
|
# sensor0 { ... }
|
|
|
|
# }
|
2007-07-07 13:31:54 +04:00
|
|
|
#
|
2007-10-07 08:19:06 +04:00
|
|
|
# Properties must be separated by a semicolon character and assigned by
|
|
|
|
# using the equal character:
|
2007-07-07 13:31:54 +04:00
|
|
|
#
|
2007-10-07 08:19:06 +04:00
|
|
|
# critical-capacity = 10;
|
2007-07-07 13:31:54 +04:00
|
|
|
#
|
2007-10-07 08:19:06 +04:00
|
|
|
# Please see the envsys.conf(5) manual page for a detailed explanation.
|
2007-07-07 13:31:54 +04:00
|
|
|
#
|
2007-10-07 08:19:06 +04:00
|
|
|
# ----------------------------------------------------------------------
|
2007-12-27 04:23:55 +03:00
|
|
|
# CONFIGURATION PROPERTIES FOR SPECIFIC DRIVERS AND MOTHERBOARDS
|
2007-10-07 08:19:06 +04:00
|
|
|
# ----------------------------------------------------------------------
|
2007-09-05 18:18:55 +04:00
|
|
|
#
|
2007-10-07 08:19:06 +04:00
|
|
|
# The following configuration properties will report the correct
|
2007-12-27 04:23:55 +03:00
|
|
|
# values for the specified motherboard and driver.
|
2007-12-27 03:52:40 +03:00
|
|
|
#
|
|
|
|
# ----------
|
|
|
|
# ASUS M2N-E
|
2007-07-07 13:31:54 +04:00
|
|
|
#
|
2007-11-18 04:58:19 +03:00
|
|
|
# itesio0 {
|
2007-10-07 08:19:06 +04:00
|
|
|
# # VCORE_A
|
|
|
|
# sensor3 { rfact = 1800000; }
|
|
|
|
#
|
|
|
|
# # VCORE_B = +3.3V
|
2007-10-16 04:21:51 +04:00
|
|
|
# sensor4 { rfact = 2000000; description = "+3.3 Voltage"; }
|
2007-10-11 00:49:38 +04:00
|
|
|
#
|
|
|
|
# # Original +3.3V, unused
|
|
|
|
# sensor5 { description = "Unused"; }
|
2007-10-07 08:19:06 +04:00
|
|
|
#
|
|
|
|
# # +5.5V
|
2007-10-11 00:49:38 +04:00
|
|
|
# sensor6 { rfact = 3490000; description = "+5 Voltage"; }
|
2007-10-07 08:19:06 +04:00
|
|
|
#
|
|
|
|
# # +12V
|
2007-10-11 00:49:38 +04:00
|
|
|
# sensor7 { rfact = 8500000; description = "+12 Voltage"; }
|
2007-10-07 08:19:06 +04:00
|
|
|
# }
|
2007-12-27 03:52:40 +03:00
|
|
|
#
|
|
|
|
# --------------------------------------
|
|
|
|
# Gigabyte P35C-DS3R (IT8718F Super I/O)
|
|
|
|
#
|
|
|
|
# itesio0 {
|
|
|
|
# # VCORE_B is DDR
|
|
|
|
# sensor4 { description = "DDR"; }
|
|
|
|
#
|
|
|
|
# # Fixup the +12V sensor.
|
|
|
|
# sensor7 { rfact = 110000000; }
|
|
|
|
# }
|