2017-10-21 22:43:53 +03:00
|
|
|
# $NetBSD: envsys.conf,v 1.13 2017/10/21 19:43:53 jmcneill 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
|
|
|
#
|
2008-04-22 17:16:32 +04:00
|
|
|
# The following configuration blocks will report the correct
|
|
|
|
# values for the specified motherboard and driver. If you have
|
|
|
|
# a different motherboard and verified the values are not correct
|
2017-10-21 22:43:53 +03:00
|
|
|
# please file a bug report.
|
2007-12-27 03:52:40 +03:00
|
|
|
#
|
2008-04-22 17:16:32 +04:00
|
|
|
# ------------------------------
|
|
|
|
# ASUS M2N-E (IT8712F Super I/O)
|
|
|
|
# ------------------------------
|
2007-07-07 13:31:54 +04:00
|
|
|
#
|
2007-11-18 04:58:19 +03:00
|
|
|
# itesio0 {
|
2008-04-22 17:16:32 +04:00
|
|
|
# # Fixup rfact for the VCORE_A sensor.
|
2007-10-07 08:19:06 +04:00
|
|
|
# sensor3 { rfact = 1800000; }
|
|
|
|
#
|
2008-04-22 17:16:32 +04:00
|
|
|
# # Fixup rfact and change description (VCORE_B = +3.3V).
|
|
|
|
# sensor4 { description = "+3.3 Voltage"; rfact = 2000000; }
|
2007-10-11 00:49:38 +04:00
|
|
|
#
|
2008-04-22 17:16:32 +04:00
|
|
|
# # Change description (+3.3V, unused sensor).
|
2007-10-11 00:49:38 +04:00
|
|
|
# sensor5 { description = "Unused"; }
|
2007-10-07 08:19:06 +04:00
|
|
|
#
|
2008-04-22 17:16:32 +04:00
|
|
|
# # Fixup rfact and change description for the +5V sensor.
|
|
|
|
# sensor6 { description = "+5 Voltage"; rfact = 3490000; }
|
2007-10-07 08:19:06 +04:00
|
|
|
#
|
2008-04-22 17:16:32 +04:00
|
|
|
# # Fixup rfact and change description for the +12V sensor.
|
|
|
|
# sensor7 { description = "+12 Voltage"; rfact = 8500000; }
|
2007-10-07 08:19:06 +04:00
|
|
|
# }
|
2007-12-27 03:52:40 +03:00
|
|
|
#
|
|
|
|
# --------------------------------------
|
|
|
|
# Gigabyte P35C-DS3R (IT8718F Super I/O)
|
2008-04-22 17:16:32 +04:00
|
|
|
# --------------------------------------
|
2007-12-27 03:52:40 +03:00
|
|
|
#
|
|
|
|
# itesio0 {
|
2008-04-22 17:16:32 +04:00
|
|
|
# # Fixup rfact and change description for the VCore sensor.
|
|
|
|
# sensor3 { description = "VCore Voltage"; rfact = 1000000; }
|
|
|
|
#
|
|
|
|
# # Change description (VCORE_B is DDR).
|
|
|
|
# sensor4 { description = "DDR Voltage"; }
|
2007-12-27 03:52:40 +03:00
|
|
|
#
|
2008-04-22 17:16:32 +04:00
|
|
|
# # Fixup rfact and change description for the +12V sensor.
|
|
|
|
# sensor7 { description = "+12 Voltage"; rfact = 116000000; }
|
2008-04-26 17:02:35 +04:00
|
|
|
#
|
|
|
|
# # Fixup rfact for the -12V sensor.
|
|
|
|
# sensor9 { rfact = 9000000; }
|
2007-12-27 03:52:40 +03:00
|
|
|
# }
|