| 1 |
# Sensors configuration file used by 'libsensors' |
|---|
| 2 |
#------------------------------------------------ |
|---|
| 3 |
# |
|---|
| 4 |
########################################################################## |
|---|
| 5 |
# # |
|---|
| 6 |
# PLEASE READ THIS HELPFUL HINT!!! # |
|---|
| 7 |
# # |
|---|
| 8 |
# The 'set' lines (generally for min and max values) # |
|---|
| 9 |
# do not take effect until you run 'sensors -s' as root !!! # |
|---|
| 10 |
# We suggest you put 'sensors -s' in a /etc/rc.d/... file # |
|---|
| 11 |
# to be run at boot time after the modules are inserted !!! # |
|---|
| 12 |
# # |
|---|
| 13 |
########################################################################## |
|---|
| 14 |
# |
|---|
| 15 |
# |
|---|
| 16 |
# OVERVIEW |
|---|
| 17 |
# -------- |
|---|
| 18 |
# This configuration file will be used by all userspace applications |
|---|
| 19 |
# linked to libsensors. It is NOT used by the lm_sensors drivers directly. |
|---|
| 20 |
# |
|---|
| 21 |
# This config file consists of two parts: the heavily commented LM78 |
|---|
| 22 |
# example, and the real parts. Search for '####' if you want to skip |
|---|
| 23 |
# to the real stuff. |
|---|
| 24 |
# |
|---|
| 25 |
# Hash marks introduce comments, which continue until the end of a line. |
|---|
| 26 |
# |
|---|
| 27 |
# Identifiers consisting of only digits and letters can be used |
|---|
| 28 |
# unquoted; other identifiers must be quoted. Escape characters within |
|---|
| 29 |
# quotes operate like those in C. |
|---|
| 30 |
# |
|---|
| 31 |
# |
|---|
| 32 |
# CHIP LINES |
|---|
| 33 |
# ---------- |
|---|
| 34 |
# A 'chip' line specifies what the following 'label', 'compute', 'set' and |
|---|
| 35 |
# 'ignore' lines refer to. In this case, until the |
|---|
| 36 |
# next 'chip' line, everything refers to all lm78, lm78-j and lm79 |
|---|
| 37 |
# chips. Other examples are *-isa-* for everything on the ISA bus, and |
|---|
| 38 |
# lm78-j-i2c-*-4e for all lm78-j chips on address 0x4e of any I2C bus. |
|---|
| 39 |
# |
|---|
| 40 |
# If more chip statements match a specific chip, they are all considered. |
|---|
| 41 |
# Later lines overrule earlier lines, so if you set the in0 label for |
|---|
| 42 |
# lm78-* to "This", and later on the in0 label for lm78-isa-* to "That", |
|---|
| 43 |
# "That" is used for LM78 chips on the ISA bus, and "This" for LM78 |
|---|
| 44 |
# chips on a non-ISA bus. |
|---|
| 45 |
# |
|---|
| 46 |
# chip "lm78-*" "lm78-j-*" "lm79-*" |
|---|
| 47 |
# |
|---|
| 48 |
# |
|---|
| 49 |
# FEATURE NAMES |
|---|
| 50 |
# ------------- |
|---|
| 51 |
# Feature names are used in 'label', 'compute', 'set', and 'ignore' lines. |
|---|
| 52 |
# Example feature names are 'in0', 'temp2', 'in3_min', and 'temp3_over'. |
|---|
| 53 |
# These features are defined for each chip in lib/chips.c. |
|---|
| 54 |
# |
|---|
| 55 |
# Undefined features will be silently ignored in 'label' and 'compute' lines. |
|---|
| 56 |
# Undefined features in 'set' lines will result in 'Unknonw feature name' |
|---|
| 57 |
# when running 'sensors -s'. |
|---|
| 58 |
# |
|---|
| 59 |
# Unfortunately, feature names starting with a number must be in |
|---|
| 60 |
# double quotes or you get "parse error, expecting 'NAME'". |
|---|
| 61 |
# |
|---|
| 62 |
# If you have trouble, verify the features in lib/chips.c!!! |
|---|
| 63 |
# |
|---|
| 64 |
# |
|---|
| 65 |
# LABEL LINES |
|---|
| 66 |
# ----------- |
|---|
| 67 |
# A label line describes what a certain feature stands for on your |
|---|
| 68 |
# mainboard. Programs can retrieve these names and display them. |
|---|
| 69 |
# If no label is specified for a certain feature, the default name |
|---|
| 70 |
# (ie. 'fan1' for fan1) is used. |
|---|
| 71 |
# |
|---|
| 72 |
# If you specify a label for in1, this label is also used for in1_min and |
|---|
| 73 |
# in1_max, unless they have their own labels declared. There are several |
|---|
| 74 |
# of these logical groups. |
|---|
| 75 |
# |
|---|
| 76 |
# These are as advised in the LM78 and LM79 data sheets, and used on most |
|---|
| 77 |
# boards we have seen. |
|---|
| 78 |
# |
|---|
| 79 |
# label in0 "VCore 1" |
|---|
| 80 |
# label in1 "VCore 2" |
|---|
| 81 |
# label in2 "+3.3V" |
|---|
| 82 |
# label in3 "+5V" |
|---|
| 83 |
# label in4 "+12V" |
|---|
| 84 |
# label in5 "-12V" |
|---|
| 85 |
# label in6 "-5V" |
|---|
| 86 |
# |
|---|
| 87 |
# |
|---|
| 88 |
# COMPUTE LINES |
|---|
| 89 |
# ------------- |
|---|
| 90 |
# A compute line describes how to scale a certain feature. There are |
|---|
| 91 |
# two expressions in it: the first describes how the /proc value must |
|---|
| 92 |
# be translated to a user value, the second how a user value must be |
|---|
| 93 |
# translated to a /proc value. '@' is the value to operate on. You may |
|---|
| 94 |
# refer to other readable features (like '2 * vid'). |
|---|
| 95 |
# |
|---|
| 96 |
# The following operators are valid: + - * / ( ) ^ ` |
|---|
| 97 |
# ^ is e**x and ` is ln(x) (valid in library version 2.0.0 / |
|---|
| 98 |
# lm_sensors 2.8.0 or higher) |
|---|
| 99 |
# |
|---|
| 100 |
# Like for the label statement, there are logical groups here. They are |
|---|
| 101 |
# sometimes a bit different, though. For example, fan1_div is in the |
|---|
| 102 |
# logical label group of fan1 (it gets the same label if none is declared |
|---|
| 103 |
# for it), but it is not in the compute group of fan1 (as it uses a |
|---|
| 104 |
# completely different system of values). |
|---|
| 105 |
# |
|---|
| 106 |
# |
|---|
| 107 |
# VOLTAGE COMPUTATION DETAILS |
|---|
| 108 |
# --------------------------- |
|---|
| 109 |
# Most voltage sensors in sensor chips have a range of 0 to 4.096 Volts. |
|---|
| 110 |
# This is generally sufficient for the 3.3 and CPU (2.5V, for example) |
|---|
| 111 |
# supply voltages, so the sensor chip reading is the actual voltage. |
|---|
| 112 |
# |
|---|
| 113 |
# Other supply voltages must be scaled with an external resistor network. |
|---|
| 114 |
# The chip driver generally reports the 'raw' value 0 - 4.09 V, and the |
|---|
| 115 |
# userspace application must convert this raw value to an actual voltage. |
|---|
| 116 |
# The 'compute' lines provide this facility. |
|---|
| 117 |
# |
|---|
| 118 |
# Unfortunately the resistor values vary among motherboard types. |
|---|
| 119 |
# Therefore you may have to adjust the computations in this file |
|---|
| 120 |
# to match your motherboard. |
|---|
| 121 |
# |
|---|
| 122 |
# For positive voltages (in3, in4), two resistors are used, with the following |
|---|
| 123 |
# formula (R1,R2: resistor values, Vs: read voltage, Vin: pin voltage) |
|---|
| 124 |
# R1 = R2 * (Vs/Vin - 1) |
|---|
| 125 |
# For negative voltages (in5, in6) two resistors are used, with the following |
|---|
| 126 |
# formula (Rin,Rf: resistor values, Vs: read voltage, Vin: pin voltage) |
|---|
| 127 |
# Rin = (Vs * Rf) / Vin |
|---|
| 128 |
# |
|---|
| 129 |
# Note: Some chips use a different formula, see it87 section for example. |
|---|
| 130 |
# |
|---|
| 131 |
# Here are the official LM78 and LM79 data sheet values. |
|---|
| 132 |
# Vs R1,Rin R2,Rf Vin |
|---|
| 133 |
# in3 +5.0 6.8 10 +2.98 |
|---|
| 134 |
# in4 +12.0 30 10 +3.00 |
|---|
| 135 |
# in5 -12.0 240 60 +3.00 |
|---|
| 136 |
# in6 -5.0 100 60 +3.00 |
|---|
| 137 |
# |
|---|
| 138 |
# These would lead to these declarations: |
|---|
| 139 |
# compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1) |
|---|
| 140 |
# compute in4 ((30/10)+1)*@ , @/((30/10)+1) |
|---|
| 141 |
# compute in5 -(240/60)*@ , -@/(240/60) |
|---|
| 142 |
# compute in6 -(100/60)*@ , -@/(100/60) |
|---|
| 143 |
# |
|---|
| 144 |
# On almost any mainboard we have seen, the Winbond compute values lead to |
|---|
| 145 |
# much better results, though. |
|---|
| 146 |
# |
|---|
| 147 |
# Vs R1,Rin R2,Rf Vin |
|---|
| 148 |
# in4 +12.0 28 10 +3.00 |
|---|
| 149 |
# in5 -12.0 210 60.4 +3.00 |
|---|
| 150 |
# in6 -5.0 90.9 60.4 +3.00 |
|---|
| 151 |
# |
|---|
| 152 |
# These leads to these declarations: |
|---|
| 153 |
# compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1) |
|---|
| 154 |
# compute in4 ((28/10)+1)*@ , @/((28/10)+1) |
|---|
| 155 |
# compute in5 -(210/60.4)*@ , -@/(210/60.4) |
|---|
| 156 |
# compute in6 -(90.9/60.4)*@ , -@/(90.9/60.4) |
|---|
| 157 |
# |
|---|
| 158 |
# NOTE: On many motherboards, the -5V and -12V sensors are not connected. |
|---|
| 159 |
# Add ignore lines so these readings will not be displayed. For example: |
|---|
| 160 |
# ignore in5 |
|---|
| 161 |
# ignore in6 |
|---|
| 162 |
# |
|---|
| 163 |
# |
|---|
| 164 |
# TEMPERATURE COMPUTATION EXAMPLES |
|---|
| 165 |
# -------------------------------- |
|---|
| 166 |
# There are two common ways to adjust temperature readings. |
|---|
| 167 |
# One is to adjust by a constant. The other is to change the |
|---|
| 168 |
# temperature sensor type. |
|---|
| 169 |
# |
|---|
| 170 |
# Add 5 degrees to temperature sensor 1: |
|---|
| 171 |
# compute temp1 @+5,@-5 |
|---|
| 172 |
# |
|---|
| 173 |
# Sensor type adjustments (certain chips only): |
|---|
| 174 |
# ...Set temp1 to processor's thermal diode: |
|---|
| 175 |
# set sensor1 1 (Winbond chips) |
|---|
| 176 |
# set sensor1 3 (IT87xx and MTP008 chips) |
|---|
| 177 |
# |
|---|
| 178 |
# ...Set temp1 sensor to 3904 transistor: |
|---|
| 179 |
# set sensor1 2 (Winbond chips) |
|---|
| 180 |
# |
|---|
| 181 |
# ...Set temp1 to thermistor: |
|---|
| 182 |
# set sensor1 3435 (Winbond chips) |
|---|
| 183 |
# set sensor1 2 (IT87xx and MTP008 chips) |
|---|
| 184 |
# |
|---|
| 185 |
# Often, a temperature sensor is disconnected; disable it with an ignore line: |
|---|
| 186 |
# ignore temp3 |
|---|
| 187 |
# |
|---|
| 188 |
# |
|---|
| 189 |
# SET LINES |
|---|
| 190 |
# --------- |
|---|
| 191 |
# Set statements set things like limits. Complete expressions can be |
|---|
| 192 |
# used. Not everything can sensibly be set: setting 'in0', for example, |
|---|
| 193 |
# is impossible! These settings are put through the compute translations; |
|---|
| 194 |
# so if we specify '12.8' for in6, '3.2' will actually be written! |
|---|
| 195 |
# |
|---|
| 196 |
# Important note: In the 'sensors' program, these only take effect |
|---|
| 197 |
# after running 'sensors -s'!!! |
|---|
| 198 |
# |
|---|
| 199 |
# Here are some examples: |
|---|
| 200 |
# |
|---|
| 201 |
# set in0_max vid*1.05 |
|---|
| 202 |
# set in0_min vid*0.95 |
|---|
| 203 |
# set temp1_over 40 |
|---|
| 204 |
# set temp1_hyst 37 |
|---|
| 205 |
# |
|---|
| 206 |
# Think of tempx_over as 'alarm set' and tempx_hyst as 'alarm clear' |
|---|
| 207 |
# thresholds. In most cases the 'over' value should be higher than |
|---|
| 208 |
# the 'hyst' value by several degrees. |
|---|
| 209 |
# |
|---|
| 210 |
# |
|---|
| 211 |
# IGNORE LINES |
|---|
| 212 |
# ------------ |
|---|
| 213 |
# Ignore statements tell certain features are not wanted. User programs can |
|---|
| 214 |
# still read them if they really want, though; this is just an advisory |
|---|
| 215 |
# marking. 'in0' would also invalidate 'in0_max' and 'in0_min'. |
|---|
| 216 |
# 'ignore' does not disable anything in the actual sensor chip; it |
|---|
| 217 |
# simply advises the user program to not access that data. |
|---|
| 218 |
# |
|---|
| 219 |
# ignore in0 |
|---|
| 220 |
# |
|---|
| 221 |
# |
|---|
| 222 |
# STATEMENT ORDER |
|---|
| 223 |
# --------------- |
|---|
| 224 |
# Statements can go in any order, EXCEPT that some statements depend |
|---|
| 225 |
# on others. Dependencies could be either in the library or the driver. |
|---|
| 226 |
# A 'compute' statement must go before a 'set' statement |
|---|
| 227 |
# for the same feature or else the 'set' won't be computed correctly. |
|---|
| 228 |
# This is a library dependency. |
|---|
| 229 |
# A 'set fan1_div' statement must go before a 'set fan1_min' statement, |
|---|
| 230 |
# because the driver uses the divisor in calculating the minimum. |
|---|
| 231 |
# Also, one should set vrm prior to using vid in any formula. |
|---|
| 232 |
# |
|---|
| 233 |
# |
|---|
| 234 |
# BUS LINES |
|---|
| 235 |
# --------- |
|---|
| 236 |
# There is one other feature: the 'bus' statement. An example is below. |
|---|
| 237 |
# |
|---|
| 238 |
# bus "i2c-0" "SMBus PIIX4 adapter at e800" "Non-I2C SMBus adapter" |
|---|
| 239 |
# |
|---|
| 240 |
# If we refer from now on to 'i2c-0' in 'chip' lines, this will run-time |
|---|
| 241 |
# be matched to this bus. So even if the PIIX4 is called 'i2c-5' at that |
|---|
| 242 |
# moment, because five other adapters were detected first, 'i2c-0' in |
|---|
| 243 |
# the config file would always only match this physical bus. In the above |
|---|
| 244 |
# config file, this feature is not needed; but the next lines would |
|---|
| 245 |
# only affect the LM75 chips on the PIIX4 adapter: |
|---|
| 246 |
# |
|---|
| 247 |
# chip "lm75-i2c-0-*" |
|---|
| 248 |
# |
|---|
| 249 |
# You should really use the output of /proc/bus/chips to generate bus lines, |
|---|
| 250 |
# because one mistyped characted will inhibit the match. Wildcards are not |
|---|
| 251 |
# yet supported; spaces at the end are ignored, though. |
|---|
| 252 |
# |
|---|
| 253 |
# |
|---|
| 254 |
# BEEPS |
|---|
| 255 |
# ----- |
|---|
| 256 |
# Some chips support alarms with beep warnings. When an alarm is triggered |
|---|
| 257 |
# you can be warned by a beeping signal through your computer speaker. It |
|---|
| 258 |
# is possible to enable beeps for all alarms on a chip using the following |
|---|
| 259 |
# line: |
|---|
| 260 |
# |
|---|
| 261 |
# set beep_enable 1 |
|---|
| 262 |
# |
|---|
| 263 |
# or disable them using: |
|---|
| 264 |
# |
|---|
| 265 |
# set beep_enable 0 |
|---|
| 266 |
# |
|---|
| 267 |
# |
|---|
| 268 |
########################################################################## |
|---|
| 269 |
#### Here begins the real configuration file |
|---|
| 270 |
|
|---|
| 271 |
|
|---|
| 272 |
chip "lm78-*" "lm78-j-*" "lm79-*" "w83781d-*" |
|---|
| 273 |
|
|---|
| 274 |
# These are as advised in the LM78 and LM79 data sheets, and used on almost |
|---|
| 275 |
# any mainboard we have seen. |
|---|
| 276 |
|
|---|
| 277 |
label in0 "VCore 1" |
|---|
| 278 |
label in1 "VCore 2" |
|---|
| 279 |
label in2 "+3.3V" |
|---|
| 280 |
label in3 "+5V" |
|---|
| 281 |
label in4 "+12V" |
|---|
| 282 |
label in5 "-12V" |
|---|
| 283 |
label in6 "-5V" |
|---|
| 284 |
|
|---|
| 285 |
# For positive voltages (in3, in4), two resistors are used, with the following |
|---|
| 286 |
# formula (R1,R2: resistor values, Vs: read voltage, Vin: pin voltage) |
|---|
| 287 |
# R1 = R2 * (Vs/Vin - 1) |
|---|
| 288 |
# For negative voltages (in5, in6) two resistors are used, with the following |
|---|
| 289 |
# formula (Rin,Rf: resistor values, Vs: read voltage, Vin: pin voltage) |
|---|
| 290 |
# Rin = (Vs * Rf) / Vin |
|---|
| 291 |
# |
|---|
| 292 |
# Here are the official LM78 and LM79 data sheet values. |
|---|
| 293 |
# Vs R1,Rin R2,Rf Vin |
|---|
| 294 |
# in3 +5.0 6.8 10 +2.98 |
|---|
| 295 |
# in4 +12.0 30 10 +3.00 |
|---|
| 296 |
# in5 -12.0 240 60 +3.00 |
|---|
| 297 |
# in6 -5.0 100 60 +3.00 |
|---|
| 298 |
# |
|---|
| 299 |
# These would lead to these declarations: |
|---|
| 300 |
# compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1) |
|---|
| 301 |
# compute in4 ((30/10)+1)*@ , @/((30/10)+1) |
|---|
| 302 |
# compute in5 -(240/60)*@ , -@/(240/60) |
|---|
| 303 |
# compute in6 -(100/60)*@ , -@/(100/60) |
|---|
| 304 |
# |
|---|
| 305 |
# On almost any mainboard we have seen, the Winbond compute values lead to |
|---|
| 306 |
# much better results, though. |
|---|
| 307 |
# |
|---|
| 308 |
# Vs R1,Rin R2,Rf Vin |
|---|
| 309 |
# in4 +12.0 28 10 +3.00 |
|---|
| 310 |
# in5 -12.0 210 60.4 +3.00 |
|---|
| 311 |
# in6 -5.0 90.9 60.4 +3.00 |
|---|
| 312 |
# |
|---|
| 313 |
# These leads to these declarations: |
|---|
| 314 |
|
|---|
| 315 |
compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1) |
|---|
| 316 |
compute in4 ((28/10)+1)*@ , @/((28/10)+1) |
|---|
| 317 |
compute in5 -(210/60.4)*@ , -@/(210/60.4) |
|---|
| 318 |
compute in6 -(90.9/60.4)*@ , -@/(90.9/60.4) |
|---|
| 319 |
|
|---|
| 320 |
# Here, we assume the VID readings are valid, and we use a max. 5% deviation |
|---|
| 321 |
|
|---|
| 322 |
set in0_min vid*0.95 |
|---|
| 323 |
set in0_max vid*1.05 |
|---|
| 324 |
set in1_min vid*0.95 |
|---|
| 325 |
set in1_max vid*1.05 |
|---|
| 326 |
set in2_min 3.3 * 0.95 |
|---|
| 327 |
set in2_max 3.3 * 1.05 |
|---|
| 328 |
set in3_min 5.0 * 0.95 |
|---|
| 329 |
set in3_max 5.0 * 1.05 |
|---|
| 330 |
set in4_min 12 * 0.95 |
|---|
| 331 |
set in4_max 12 * 1.05 |
|---|
| 332 |
set in5_max -12 * 0.95 |
|---|
| 333 |
set in5_min -12 * 1.05 |
|---|
| 334 |
set in6_max -5 * 0.95 |
|---|
| 335 |
set in6_min -5 * 1.05 |
|---|
| 336 |
|
|---|
| 337 |
# Examples for lm78, lm78j, lm79 temperature limits |
|---|
| 338 |
# set temp_over 40 |
|---|
| 339 |
# set temp_hyst 37 |
|---|
| 340 |
|
|---|
| 341 |
# Examples for w83781d temperature limits |
|---|
| 342 |
# set temp1_over 40 |
|---|
| 343 |
# set temp1_hyst 37 |
|---|
| 344 |
# set temp2_over 52 |
|---|
| 345 |
# set temp2_hyst 47 |
|---|
| 346 |
# set temp3_over 52 |
|---|
| 347 |
# set temp3_hyst 47 |
|---|
| 348 |
|
|---|
| 349 |
# Ignore fans you don't actually have |
|---|
| 350 |
# ignore fan1 |
|---|
| 351 |
# ignore fan2 |
|---|
| 352 |
# ignore fan3 |
|---|
| 353 |
|
|---|
| 354 |
# In case a lm78 is used together with a lm75, the lm78 temp sensor will |
|---|
| 355 |
# generally show the M/B temperature while the lm75 temp sensor will show |
|---|
| 356 |
# the CPU temperature. |
|---|
| 357 |
# label temp "M/B Temp" |
|---|
| 358 |
|
|---|
| 359 |
# Uncomment the following line to enable beeps for all alarms on this chip |
|---|
| 360 |
# set beep_enable 1 |
|---|
| 361 |
|
|---|
| 362 |
|
|---|
| 363 |
|
|---|
| 364 |
chip "lm75-*" |
|---|
| 365 |
|
|---|
| 366 |
# Most boards don't need scaling. Following is |
|---|
| 367 |
# for the Asus TX97-E. If it doesn't work for you, feel free to complain. |
|---|
| 368 |
# compute temp @*2.0, @/2.0 |
|---|
| 369 |
|
|---|
| 370 |
# Examples for temperature limits |
|---|
| 371 |
# set temp_over 70 |
|---|
| 372 |
# set temp_hyst 65 |
|---|
| 373 |
|
|---|
| 374 |
# In case a lm75 is used together with a lm78, the lm78 temp sensor will |
|---|
| 375 |
# generally show the M/B temperature while the lm75 temp sensor will show |
|---|
| 376 |
# the CPU temperature. |
|---|
| 377 |
# label temp "CPU Temp" |
|---|
| 378 |
|
|---|
| 379 |
|
|---|
| 380 |
chip "sis5595-*" |
|---|
| 381 |
|
|---|
| 382 |
label in0 "VCore 1" |
|---|
| 383 |
label in1 "VCore 2" |
|---|
| 384 |
label in2 "+3.3V" |
|---|
| 385 |
label in3 "+5V" |
|---|
| 386 |
label in4 "+12V" |
|---|
| 387 |
|
|---|
| 388 |
compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1) |
|---|
| 389 |
compute in4 ((28/10)+1)*@ , @/((28/10)+1) |
|---|
| 390 |
|
|---|
| 391 |
set in0_min 2.0 * 0.95 |
|---|
| 392 |
set in0_max 2.0 * 1.05 |
|---|
| 393 |
set in1_min 2.0 * 0.95 |
|---|
| 394 |
set in1_max 2.0 * 1.05 |
|---|
| 395 |
set in2_min 3.3 * 0.95 |
|---|
| 396 |
set in2_max 3.3 * 1.05 |
|---|
| 397 |
set in3_min 5.0 * 0.95 |
|---|
| 398 |
set in3_max 5.0 * 1.05 |
|---|
| 399 |
set in4_min 12 * 0.95 |
|---|
| 400 |
set in4_max 12 * 1.05 |
|---|
| 401 |
|
|---|
| 402 |
# |
|---|
| 403 |
# SiS5595 temperature calculation |
|---|
| 404 |
# The driver currently includes a calculation due to the wide |
|---|
| 405 |
# variation in thermistor types on SiS5595 motherboards. |
|---|
| 406 |
# The driver currently has a calculation of t = (.83x + 52.12). |
|---|
| 407 |
# One user reports the correct formula of t = (.345x - 12). |
|---|
| 408 |
# So you want to put a compute line in sensors.conf that has |
|---|
| 409 |
# the inverse of the driver formula, and put your formula on top of it. |
|---|
| 410 |
# The inverse of the driver formula is x = (1.20t - 62.77) |
|---|
| 411 |
# So the final formula is newt = (.345(1.20t - 62.77)) - 12). |
|---|
| 412 |
# Put this in the sensors.conf file as |
|---|
| 413 |
# compute temp ((.345 * ((1.20 * @) - 62.77)) - 12), ... |
|---|
| 414 |
# where ... is the inverse function I leave to you. |
|---|
| 415 |
# |
|---|
| 416 |
# Look in your 'Vendor.ini' file to see which one is present |
|---|
| 417 |
# on your motherboard. Look for the line like: |
|---|
| 418 |
# [Temp1] |
|---|
| 419 |
# ThermistorType = NTC-10KC15-1608-1P |
|---|
| 420 |
# Fix up a 'compute' line to match your thermistor type. |
|---|
| 421 |
# Warning. You still don't have enough information to do this. |
|---|
| 422 |
# ThermistorType = NTC-10KC15-1608-1P (10K at 25C; Beta = 3435) |
|---|
| 423 |
# compute temp ((X * ((1.20 * @) - 62.77)) - Y), ... |
|---|
| 424 |
# ThermistorType = NTC-103KC15-1608-1P (??) |
|---|
| 425 |
# compute temp ((X * ((1.20 * @) - 62.77)) - Y), ... |
|---|
| 426 |
# ThermistorType = NTC-103AT-2 (10K at 25C; Beta = 3435) |
|---|
| 427 |
# compute temp ((X * ((1.20 * @) - 62.77)) - Y), ... |
|---|
| 428 |
# ThermistorType = NTC-103JT (10K at 25C; Beta = 3435) |
|---|
| 429 |
# compute temp ((X * ((1.20 * @) - 62.77)) - Y), ... |
|---|
| 430 |
|
|---|
| 431 |
# examples for sis5595 temperature limits; |
|---|
| 432 |
# for sis5595, temp_hyst is really the low limit, not a hysteresis value |
|---|
| 433 |
# set temp_over 40 |
|---|
| 434 |
# set temp_hyst 37 |
|---|
| 435 |
|
|---|
| 436 |
|
|---|
| 437 |
chip "w83782d-*" "w83627hf-*" |
|---|
| 438 |
|
|---|
| 439 |
# Same as above for w83781d except that in5 and in6 are computed differently. |
|---|
| 440 |
# Rather than an internal inverting op amp, the 82d/83s use standard positive |
|---|
| 441 |
# inputs and the negative voltages are level shifted by a 3.6V reference. |
|---|
| 442 |
# The math is convoluted, so we hope that your motherboard |
|---|
| 443 |
# uses the recommended resistor values. |
|---|
| 444 |
|
|---|
| 445 |
label in0 "VCore 1" |
|---|
| 446 |
label in1 "VCore 2" |
|---|
| 447 |
label in2 "+3.3V" |
|---|
| 448 |
label in3 "+5V" |
|---|
| 449 |
label in4 "+12V" |
|---|
| 450 |
label in5 "-12V" |
|---|
| 451 |
label in6 "-5V" |
|---|
| 452 |
label in7 "V5SB" |
|---|
| 453 |
label in8 "VBat" |
|---|
| 454 |
|
|---|
| 455 |
# Abit BP6 motherboard has a few differences. VCore1 and VCore2 are the core |
|---|
| 456 |
# voltages of the two processors. Vtt is memory bus termination resistors |
|---|
| 457 |
# voltage. |
|---|
| 458 |
# label in1 "Vtt" |
|---|
| 459 |
# label in8 "VCore2" |
|---|
| 460 |
|
|---|
| 461 |
compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1) |
|---|
| 462 |
compute in4 ((28/10)+1)*@ , @/((28/10)+1) |
|---|
| 463 |
compute in5 (5.14 * @) - 14.91 , (@ + 14.91) / 5.14 |
|---|
| 464 |
compute in6 (3.14 * @) - 7.71 , (@ + 7.71) / 3.14 |
|---|
| 465 |
compute in7 ((6.8/10)+1)*@ , @/((6.8/10)+1) |
|---|
| 466 |
|
|---|
| 467 |
# adjust this if your vid is wrong; see doc/vid |
|---|
| 468 |
# set vrm 9.0 |
|---|
| 469 |
|
|---|
| 470 |
# set limits to 5% for the critical voltages |
|---|
| 471 |
# set limits to 10% for the non-critical voltages |
|---|
| 472 |
# set limits to 20% for the battery voltage |
|---|
| 473 |
|
|---|
| 474 |
set in0_min vid*0.95 |
|---|
| 475 |
set in0_max vid*1.05 |
|---|
| 476 |
set in1_min vid*0.95 |
|---|
| 477 |
set in1_max vid*1.05 |
|---|
| 478 |
set in2_min 3.3 * 0.95 |
|---|
| 479 |
set in2_max 3.3 * 1.05 |
|---|
| 480 |
set in3_min 5.0 * 0.95 |
|---|
| 481 |
set in3_max 5.0 * 1.05 |
|---|
| 482 |
set in4_min 12 * 0.90 |
|---|
| 483 |
set in4_max 12 * 1.10 |
|---|
| 484 |
set in5_max -12 * 0.90 |
|---|
| 485 |
set in5_min -12 * 1.10 |
|---|
| 486 |
set in6_max -5 * 0.95 |
|---|
| 487 |
set in6_min -5 * 1.05 |
|---|
| 488 |
set in7_min 5 * 0.95 |
|---|
| 489 |
set in7_max 5 * 1.05 |
|---|
| 490 |
set in8_min 3.0 * 0.80 |
|---|
| 491 |
set in8_max 3.0 * 1.20 |
|---|
| 492 |
|
|---|
| 493 |
# set up sensor types (thermistor is default) |
|---|
| 494 |
# 1 = PII/Celeron Diode; 2 = 3904 transistor; |
|---|
| 495 |
# 3435 = thermistor with Beta = 3435 |
|---|
| 496 |
# If temperature changes very little, try 1 or 2. |
|---|
| 497 |
# set sensor1 1 |
|---|
| 498 |
# set sensor2 2 |
|---|
| 499 |
# set sensor3 3435 |
|---|
| 500 |
|
|---|
| 501 |
# examples for temperature limits |
|---|
| 502 |
# set temp1_over 40 |
|---|
| 503 |
# set temp1_hyst 37 |
|---|
| 504 |
# set temp2_over 52 |
|---|
| 505 |
# set temp2_hyst 47 |
|---|
| 506 |
# set temp3_over 52 |
|---|
| 507 |
# set temp3_hyst 47 |
|---|
| 508 |
|
|---|
| 509 |
|
|---|
| 510 |
chip "w83783s-*" |
|---|
| 511 |
|
|---|
| 512 |
# Same as above for w83781d except that in5 and in6 are computed differently. |
|---|
| 513 |
# Rather than an internal inverting op amp, the 82d/83s use standard positive |
|---|
| 514 |
# inputs and the negative voltages are level shifted by a 3.6V reference. |
|---|
| 515 |
# The math is convoluted, so we hope that your motherboard |
|---|
| 516 |
# uses the recommended resistor values. |
|---|
| 517 |
|
|---|
| 518 |
label in0 "VCore 1" |
|---|
| 519 |
label in2 "+3.3V" |
|---|
| 520 |
label in3 "+5V" |
|---|
| 521 |
label in4 "+12V" |
|---|
| 522 |
label in5 "-12V" |
|---|
| 523 |
label in6 "-5V" |
|---|
| 524 |
|
|---|
| 525 |
compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1) |
|---|
| 526 |
compute in4 ((28/10)+1)*@ , @/((28/10)+1) |
|---|
| 527 |
compute in5 (5.14 * @) - 14.91 , (@ + 14.91) / 5.14 |
|---|
| 528 |
compute in6 (3.14 * @) - 7.71 , (@ + 7.71) / 3.14 |
|---|
| 529 |
|
|---|
| 530 |
# adjust this if your vid is wrong; see doc/vid |
|---|
| 531 |
# set vrm 9.0 |
|---|
| 532 |
|
|---|
| 533 |
# set limits to 5% for the critical voltages |
|---|
| 534 |
# set limits to 10% for the non-critical voltages |
|---|
| 535 |
# set limits to 20% for the battery voltage |
|---|
| 536 |
|
|---|
| 537 |
set in0_min vid*0.95 |
|---|
| 538 |
set in0_max vid*1.05 |
|---|
| 539 |
set in2_min 3.3 * 0.95 |
|---|
| 540 |
set in2_max 3.3 * 1.05 |
|---|
| 541 |
set in3_min 5.0 * 0.95 |
|---|
| 542 |
set in3_max 5.0 * 1.05 |
|---|
| 543 |
set in4_min 12 * 0.90 |
|---|
| 544 |
set in4_max 12 * 1.10 |
|---|
| 545 |
set in5_max -12 * 0.90 |
|---|
| 546 |
set in5_min -12 * 1.10 |
|---|
| 547 |
set in6_max -5 * 0.95 |
|---|
| 548 |
set in6_min -5 * 1.05 |
|---|
| 549 |
|
|---|
| 550 |
# set up sensor types (thermistor is default) |
|---|
| 551 |
# 1 = PII/Celeron Diode; 2 = 3904 transistor; |
|---|
| 552 |
# 3435 = thermistor with Beta = 3435 |
|---|
| 553 |
# If temperature changes very little, try 1 or 2. |
|---|
| 554 |
# set sensor1 1 |
|---|
| 555 |
# set sensor2 2 |
|---|
| 556 |
|
|---|
| 557 |
# examples for temperature limits |
|---|
| 558 |
# set temp1_over 40 |
|---|
| 559 |
# set temp1_hyst 37 |
|---|
| 560 |
# set temp2_over 52 |
|---|
| 561 |
# set temp2_hyst 47 |
|---|
| 562 |
|
|---|
| 563 |
|
|---|
| 564 |
chip "w83697hf-*" |
|---|
| 565 |
|
|---|
| 566 |
# Same as above for w83781d except that in5 and in6 are computed differently. |
|---|
| 567 |
# Rather than an internal inverting op amp, the 82d/83s use standard positive |
|---|
| 568 |
# inputs and the negative voltages are level shifted by a 3.6V reference. |
|---|
| 569 |
# The math is convoluted, so we hope that your motherboard |
|---|
| 570 |
# uses the recommended resistor values. |
|---|
| 571 |
|
|---|
| 572 |
# no in1 on this chip. |
|---|
| 573 |
|
|---|
| 574 |
label in0 "VCore" |
|---|
| 575 |
label in2 "+3.3V" |
|---|
| 576 |
label in3 "+5V" |
|---|
| 577 |
label in4 "+12V" |
|---|
| 578 |
label in5 "-12V" |
|---|
| 579 |
label in6 "-5V" |
|---|
| 580 |
label in7 "V5SB" |
|---|
| 581 |
label in8 "VBat" |
|---|
| 582 |
|
|---|
| 583 |
# Tyan Trinity S2495 KT400 has a few differences. Thanks to Eric Schumann |
|---|
| 584 |
# for proving this information. Same is true for Epox 8K3A and 8KHA+. |
|---|
| 585 |
# Thanks to Thomas Schorpp for additional feedback. |
|---|
| 586 |
# label in2 "VAgp" |
|---|
| 587 |
# label in5 "+3.3V" # aka. Vio |
|---|
| 588 |
# label in6 "Vdimm" |
|---|
| 589 |
# label in7 "VBat" |
|---|
| 590 |
# label in8 "V5SB" |
|---|
| 591 |
# |
|---|
| 592 |
# You'll also want to comment out the in5 and in6 compute lines right below, |
|---|
| 593 |
# and rename compute in7 to compute in8. |
|---|
| 594 |
|
|---|
| 595 |
compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1) |
|---|
| 596 |
compute in4 ((28/10)+1)*@ , @/((28/10)+1) |
|---|
| 597 |
compute in5 (5.14 * @) - 14.91 , (@ + 14.91) / 5.14 |
|---|
| 598 |
compute in6 (3.14 * @) - 7.71 , (@ + 7.71) / 3.14 |
|---|
| 599 |
compute in7 ((6.8/10)+1)*@ , @/((6.8/10)+1) |
|---|
| 600 |
|
|---|
| 601 |
# 697HF does not have VID inputs so you MUST set your core |
|---|
| 602 |
# voltage limits below. Currently set for 1.8V core. |
|---|
| 603 |
# vvv |
|---|
| 604 |
|
|---|
| 605 |
set in0_min 1.8 * 0.95 |
|---|
| 606 |
set in0_max 1.8 * 1.05 |
|---|
| 607 |
|
|---|
| 608 |
set in2_min 3.3 * 0.95 |
|---|
| 609 |
set in2_max 3.3 * 1.05 |
|---|
| 610 |
set in3_min 5.0 * 0.95 |
|---|
| 611 |
set in3_max 5.0 * 1.05 |
|---|
| 612 |
set in4_min 12 * 0.90 |
|---|
| 613 |
set in4_max 12 * 1.10 |
|---|
| 614 |
set in5_max -12 * 0.90 |
|---|
| 615 |
set in5_min -12 * 1.10 |
|---|
| 616 |
set in6_max -5 * 0.95 |
|---|
| 617 |
set in6_min -5 * 1.05 |
|---|
| 618 |
set in7_min 5 * 0.95 |
|---|
| 619 |
set in7_max 5 * 1.05 |
|---|
| 620 |
set in8_min 3.0 * 0.80 |
|---|
| 621 |
set in8_max 3.0 * 1.20 |
|---|
| 622 |
|
|---|
| 623 |
# And for Tyan Trinity S2495 KT400 and Epox 8K3A and 8KHA+: |
|---|
| 624 |
# set in2_min 1.5 * 0.95 |
|---|
| 625 |
# set in2_max 1.5 * 1.05 |
|---|
| 626 |
# set in5_min 3.3 * 0.95 |
|---|
| 627 |
# set in5_max 3.3 * 1.05 |
|---|
| 628 |
# set in6_min 2.5 * 0.95 # 2.6 on Epox |
|---|
| 629 |
# set in6_max 2.5 * 1.05 # 2.6 on Epox |
|---|
| 630 |
# set in7_min 3.0 * 0.90 |
|---|
| 631 |
# set in7_max 3.0 * 1.10 |
|---|
| 632 |
# set in8_min 5 * 0.90 |
|---|
| 633 |
# set in8_max 5 * 1.10 |
|---|
| 634 |
|
|---|
| 635 |
# set up sensor types (thermistor is default) |
|---|
| 636 |
# 1 = PII/Celeron Diode; 2 = 3904 transistor; |
|---|
| 637 |
# 3435 = thermistor with Beta = 3435 |
|---|
| 638 |
# If temperature changes very little, try 1 or 2. |
|---|
| 639 |
# set sensor1 1 |
|---|
| 640 |
# set sensor2 2 |
|---|
| 641 |
# set sensor3 3435 |
|---|
| 642 |
|
|---|
| 643 |
# examples for temperature limits |
|---|
| 644 |
# set temp1_over 40 |
|---|
| 645 |
# set temp1_hyst 37 |
|---|
| 646 |
# set temp2_over 52 |
|---|
| 647 |
# set temp2_hyst 47 |
|---|
| 648 |
|
|---|
| 649 |
|
|---|
| 650 |
chip "w83627thf-*" "w83637hf-*" |
|---|
| 651 |
|
|---|
| 652 |
# Rather than an internal inverting op amp, the 627thf uses standard positive |
|---|
| 653 |
# inputs and the negative voltages are level shifted by a 3.6V reference |
|---|
| 654 |
# (same as 82d/83s). |
|---|
| 655 |
# The math is convoluted, so we hope that your motherboard |
|---|
| 656 |
# uses the recommended resistor values. |
|---|
| 657 |
# Note that in1 (+12V) is the usual in4, and in4 (-12V) is the usual in5. |
|---|
| 658 |
# Data sheet is obviously wrong for in4, the usual formula should work. |
|---|
| 659 |
# No in5 nor in6. |
|---|
| 660 |
# sensors doesn't need the ignore lines but sensord does... |
|---|
| 661 |
ignore in5 |
|---|
| 662 |
ignore in6 |
|---|
| 663 |
|
|---|
| 664 |
label in0 "VCore" |
|---|
| 665 |
label in1 "+12V" |
|---|
| 666 |
label in2 "+3.3V" |
|---|
| 667 |
label in3 "+5V" |
|---|
| 668 |
label in4 "-12V" |
|---|
| 669 |
label in7 "V5SB" |
|---|
| 670 |
label in8 "VBat" |
|---|
| 671 |
|
|---|
| 672 |
# Mori Hiroyuki reported to need this (P4P800) |
|---|
| 673 |
# compute in0 @/2, @*2 |
|---|
| 674 |
|
|---|
| 675 |
compute in1 ((28/10)+1)*@, @/((28/10)+1) |
|---|
| 676 |
compute in3 ((34/51)+1)*@, @/((34/51)+1) |
|---|
| 677 |
compute in4 (5.14*@)-14.91, (@+14.91)/5.14 |
|---|
| 678 |
compute in7 ((6.8/10)+1)*@ , @/((6.8/10)+1) |
|---|
| 679 |
|
|---|
| 680 |
# adjust this if your vid is wrong; see doc/vid |
|---|
| 681 |
# set vrm 9.0 |
|---|
| 682 |
|
|---|
| 683 |
# set limits to 5% for the critical voltages |
|---|
| 684 |
# set limits to 10% for the non-critical voltages |
|---|
| 685 |
# set limits to 20% for the battery voltage |
|---|
| 686 |
# if your vid is wrong, you'll need to adjust in0_min and in0_max |
|---|
| 687 |
|
|---|
| 688 |
set in0_min vid * 0.95 |
|---|
| 689 |
set in0_max vid * 1.05 |
|---|
| 690 |
set in1_min 12 * 0.90 |
|---|
| 691 |
set in1_max 12 * 1.10 |
|---|
| 692 |
set in2_min 3.3 * 0.95 |
|---|
| 693 |
set in2_max 3.3 * 1.05 |
|---|
| 694 |
set in3_min 5.0 * 0.95 |
|---|
| 695 |
set in3_max 5.0 * 1.05 |
|---|
| 696 |
set in4_min -12 * 0.90 |
|---|
| 697 |
set in4_max -12 * 1.10 |
|---|
| 698 |
set in7_min 5 * 0.95 |
|---|
| 699 |
set in7_max 5 * 1.05 |
|---|
| 700 |
set in8_min 3.0 * 0.80 |
|---|
| 701 |
set in8_max 3.0 * 1.20 |
|---|
| 702 |
|
|---|
| 703 |
# set up sensor types (thermistor is default) |
|---|
| 704 |
# 1 = PII/Celeron Diode; 2 = 3904 transistor; |
|---|
| 705 |
# 3435 = thermistor with Beta = 3435 |
|---|
| 706 |
# If temperature changes very little, try 1 or 2. |
|---|
| 707 |
# set sensor1 1 |
|---|
| 708 |
# set sensor2 2 |
|---|
| 709 |
# set sensor3 3435 |
|---|
| 710 |
|
|---|
| 711 |
label temp1 "M/B Temp" |
|---|
| 712 |
label temp2 "CPU Temp" |
|---|
| 713 |
# ignore temp3 |
|---|
| 714 |
|
|---|
| 715 |
# examples for temperature limits |
|---|
| 716 |
# set temp1_over 40 |
|---|
| 717 |
# set temp1_hyst 37 |
|---|
| 718 |
# set temp2_over 52 |
|---|
| 719 |
# set temp2_hyst 47 |
|---|
| 720 |
# set temp3_over 52 |
|---|
| 721 |
# set temp3_hyst 47 |
|---|
| 722 |
|
|---|
| 723 |
# ignore fan1 |
|---|
| 724 |
label fan2 "CPU Fan" |
|---|
| 725 |
# ignore fan3 |
|---|
| 726 |
|
|---|
| 727 |
|
|---|
| 728 |
# Here are configurations for Winbond W83792AD/D chip. |
|---|
| 729 |
chip "w83792d-*" |
|---|
| 730 |
|
|---|
| 731 |
label in0 "VCoreA" |
|---|
| 732 |
label in1 "VCoreB" |
|---|
| 733 |
label in2 "VIN0" |
|---|
| 734 |
label in3 "VIN1" |
|---|
| 735 |
label in4 "VIN2" |
|---|
| 736 |
label in5 "VIN3" |
|---|
| 737 |
label in6 "5VCC" |
|---|
| 738 |
label in7 "5VSB" |
|---|
| 739 |
label in8 "VBAT" |
|---|
| 740 |
label fan1 "Fan1" |
|---|
| 741 |
label fan2 "Fan2" |
|---|
| 742 |
label fan3 "Fan3" |
|---|
| 743 |
label fan4 "Fan4" |
|---|
| 744 |
label fan5 "Fan5" |
|---|
| 745 |
label fan6 "Fan6" |
|---|
| 746 |
label fan7 "Fan7" |
|---|
| 747 |
label temp1 "Temp1" |
|---|
| 748 |
label temp2 "Temp2" |
|---|
| 749 |
label temp3 "Temp3" |
|---|
| 750 |
|
|---|
| 751 |
set in0_min 1.4 |
|---|
| 752 |
set in0_max 1.6 |
|---|
| 753 |
set in1_min 1.4 |
|---|
| 754 |
set in1_max 1.6 |
|---|
| 755 |
set in2_min 3.2 |
|---|
| 756 |
set in2_max 3.4 |
|---|
| 757 |
set in3_min 3.1 |
|---|
| 758 |
set in3_max 3.3 |
|---|
| 759 |
set in4_min 1.4 |
|---|
| 760 |
set in4_max 1.5 |
|---|
| 761 |
set in5_min 2.6 |
|---|
| 762 |
set in5_max 2.65 |
|---|
| 763 |
set in6_min 5 * 0.95 |
|---|
| 764 |
set in6_max 5 * 1.05 |
|---|
| 765 |
set in7_min 5 * 0.95 |
|---|
| 766 |
set in7_max 5 * 1.05 |
|---|
| 767 |
set in8_min 3 * 0.95 |
|---|
| 768 |
set in8_max 3 * 1.05 |
|---|
| 769 |
|
|---|
| 770 |
#set fan1_div 4 |
|---|
| 771 |
#set fan1_min 1500 |
|---|
| 772 |
set fan2_div 4 |
|---|
| 773 |
set fan2_min 1500 |
|---|
| 774 |
#set fan3_min 1300 |
|---|
| 775 |
#set fan4_min 1500 |
|---|
| 776 |
#set fan5_min 1500 |
|---|
| 777 |
#set fan6_min 1500 |
|---|
| 778 |
#set fan7_min 1500 |
|---|
| 779 |
|
|---|
| 780 |
set temp1_over 42 |
|---|
| 781 |
set temp1_hyst 37 |
|---|
| 782 |
set temp2_over 43 |
|---|
| 783 |
set temp2_hyst 38 |
|---|
| 784 |
set temp3_over 45 |
|---|
| 785 |
set temp3_hyst 40 |
|---|
| 786 |
|
|---|
| 787 |
#ignore fan1 |
|---|
| 788 |
#ignore fan3 |
|---|
| 789 |
#ignore fan4 |
|---|
| 790 |
#ignore fan5 |
|---|
| 791 |
#ignore fan6 |
|---|
| 792 |
#ignore fan7 |
|---|
| 793 |
#ignore temp3 |
|---|
| 794 |
|
|---|
| 795 |
|
|---|
| 796 |
chip "as99127f-*" |
|---|
| 797 |
|
|---|
| 798 |
# Asus won't release a datasheet so this is guesswork. |
|---|
| 799 |
# Thanks to Guntram Blohm, Jack, Ed Harrison, Artur Gawryszczak, |
|---|
| 800 |
# Victor G. Marimon and others for their feedback. |
|---|
| 801 |
|
|---|
| 802 |
# Dual power plane |
|---|
| 803 |
label in0 "VCore 1" |
|---|
| 804 |
label in1 "VCore 2" |
|---|
| 805 |
# Single power plane (A7V133, A7M266, CUV4X) |
|---|
| 806 |
# label in0 "VCore" |
|---|
| 807 |
# ignore in1 |
|---|
| 808 |
|
|---|
| 809 |
label in2 "+3.3V" |
|---|
| 810 |
label in3 "+5V" |
|---|
| 811 |
label in4 "+12V" |
|---|
| 812 |
# These last two may not make sense on all motherboards. |
|---|
| 813 |
label in5 "-12V" |
|---|
| 814 |
label in6 "-5V" |
|---|
| 815 |
|
|---|
| 816 |
compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1) |
|---|
| 817 |
compute in4 ((28/10)+1)*@ , @/((28/10)+1) |
|---|
| 818 |
# AS99127F rev.1 (same as w83781d) |
|---|
| 819 |
compute in5 -(240/60.4)*@ , -@/(240/60.4) |
|---|
| 820 |
compute in6 -(90.9/60.4)*@ , -@/(90.9/60.4) |
|---|
| 821 |
# AS99127F rev.2 (same as w83782d) |
|---|
| 822 |
# compute in5 (5.14 * @) - 14.91 , (@ + 14.91) / 5.14 |
|---|
| 823 |
# compute in6 (3.14 * @) - 7.71 , (@ + 7.71) / 3.14 |
|---|
| 824 |
|
|---|
| 825 |
# Depending on your motherboard, you may have to use any of two formulae |
|---|
| 826 |
# for temp2. Quoting Artur Gawryszczak (edited to reflect subsequent fixes |
|---|
| 827 |
# to the driver): |
|---|
| 828 |
# "I guess, that the formula "(@*15/43)+25, (@-25)*43/15" is correct |
|---|
| 829 |
# for those Asus motherboards, which get CPU temperature from internal |
|---|
| 830 |
# thermal diode (Pentium Coppermine, and above), while no formula is needed |
|---|
| 831 |
# for Athlon/Duron boards, which use a thermistor in the socket." |
|---|
| 832 |
# An alternative formula was then found and reported by Victor G. Marimon. |
|---|
| 833 |
|
|---|
| 834 |
# Asus A7V133, Asus A7M266 |
|---|
| 835 |
# No compute line is needed |
|---|
| 836 |
# Asus CUV4X, Asus A7V8X |
|---|
| 837 |
# compute temp2 (@*15/43)+25, (@-25)*43/15 |
|---|
| 838 |
# Asus CUSL2, Asus CUV266-DLS, Asus TUSL2-C |
|---|
| 839 |
# compute temp2 (@*30/43)+25, (@-25)*43/30 |
|---|
| 840 |
|
|---|
| 841 |
# See comments above if temp3 looks bad. What works for temp2 is likely |
|---|
| 842 |
# to work for temp3 for dual-CPU boards. |
|---|
| 843 |
|
|---|
| 844 |
# Most Asus boards have temperatures settled like that: |
|---|
| 845 |
label temp1 "M/B Temp" |
|---|
| 846 |
label temp2 "CPU Temp" |
|---|
| 847 |
# However, some boards have them swapped (A7N8X Deluxe rev.2, |
|---|
| 848 |
# A7N8X-E Deluxe rev.2, A7N8X-X, CUV4X): |
|---|
| 849 |
# label temp1 "CPU Temp" |
|---|
| 850 |
# label temp2 "M/B Temp" |
|---|
| 851 |
|
|---|
| 852 |
# Most boards have no temp3 by default |
|---|
| 853 |
# ignore temp3 |
|---|
| 854 |
|
|---|
| 855 |
# adjust this if your vid is wrong; see doc/vid |
|---|
| 856 |
# set vrm 9.0 |
|---|
| 857 |
|
|---|
| 858 |
# set limits to 5% for the critical voltages |
|---|
| 859 |
# set limits to 10% for the non-critical voltages |
|---|
| 860 |
# set limits to 20% for the battery voltage |
|---|
| 861 |
|
|---|
| 862 |
set in0_min vid*0.95 |
|---|
| 863 |
set in0_max vid*1.05 |
|---|
| 864 |
set in1_min vid*0.95 |
|---|
| 865 |
set in1_max vid*1.05 |
|---|
| 866 |
set in2_min 3.3 * 0.95 |
|---|
| 867 |
set in2_max 3.3 * 1.05 |
|---|
| 868 |
set in3_min 5.0 * 0.95 |
|---|
| 869 |
set in3_max 5.0 * 1.05 |
|---|
| 870 |
set in4_min 12 * 0.90 |
|---|
| 871 |
set in4_max 12 * 1.10 |
|---|
| 872 |
set in5_max -12 * 0.90 |
|---|
| 873 |
set in5_min -12 * 1.10 |
|---|
| 874 |
set in6_max -5 * 0.95 |
|---|
| 875 |
set in6_min -5 * 1.05 |
|---|
| 876 |
|
|---|
| 877 |
# examples for temperature limits |
|---|
| 878 |
# set temp1_over 40 |
|---|
| 879 |
# set temp1_hyst 37 |
|---|
| 880 |
# set temp2_over 52 |
|---|
| 881 |
# set temp2_hyst 47 |
|---|
| 882 |
# set temp3_over 52 |
|---|
| 883 |
# set temp3_hyst 47 |
|---|
| 884 |
|
|---|
| 885 |
# The A7N8X-X board is known to need this: |
|---|
| 886 |
# (reported by Roberto Sebastiano <robs@multiplayer.it>) |
|---|
| 887 |
# compute fan1 @/2, 2*@ |
|---|
| 888 |
|
|---|
| 889 |
|
|---|
| 890 |
chip "gl518sm-*" |
|---|
| 891 |
|
|---|
| 892 |
# IMPORTANT: in0, in1, and in2 values (+5, +3, and +12) CANNOT be read |
|---|
| 893 |
# unless you use the slow 'iterate' method. Limits will still |
|---|
| 894 |
# work even when iterate=0. See doc/chips/gl518sm. |
|---|
| 895 |
# Note that the 'iterate' method was trimmed while porting the |
|---|
| 896 |
# driver to Linux 2.6 as we considered it too ugly for the thin |
|---|
| 897 |
# benefit. |
|---|
| 898 |
# |
|---|
| 899 |
# Factors and labels taken from GL518SM datasheet, they seem to give |
|---|
| 900 |
# reasonable values with EISCA connected Fan78 |
|---|
| 901 |
|
|---|
| 902 |
label vdd "+5V" |
|---|
| 903 |
label vin1 "+3.3V" |
|---|
| 904 |
label vin2 "+12V" |
|---|
| 905 |
label vin3 "Vcore" |
|---|
| 906 |
|
|---|
| 907 |
# vin2 depends on external resistors (4,7k and 15k assumed here) |
|---|
| 908 |
# vin1 and vin3 require no scaling |
|---|
| 909 |
|
|---|
| 910 |
compute vin2 (197/47)*@ , @/(197/47) |
|---|
| 911 |
|
|---|
| 912 |
set vdd_min 4.8 |
|---|
| 913 |
set vdd_max 5.2 |
|---|
| 914 |
set vin1_min 3.20 |
|---|
| 915 |
set vin1_max 3.40 |
|---|
| 916 |
set vin2_min 11.0 |
|---|
| 917 |
set vin2_max 13.0 |
|---|
| 918 |
set vin3_min 2.10 |
|---|
| 919 |
set vin3_max 2.30 |
|---|
| 920 |
# set fan1_off 0 |
|---|
| 921 |
# set fan2_min 0 |
|---|
| 922 |
|
|---|
| 923 |
# Do NOT uncomment the following line with the Linux 2.6 kernel driver, |
|---|
| 924 |
# as it'll raise an error. |
|---|
| 925 |
# set iterate 2 |
|---|
| 926 |
|
|---|
| 927 |
|
|---|
| 928 |
chip "gl520sm-*" |
|---|
| 929 |
|
|---|
| 930 |
# Factors and labels taken from GL520SM datasheet |
|---|
| 931 |
|
|---|
| 932 |
# The GL520SM has two application modes. In mode 1 it has two thermistor |
|---|
| 933 |
# inputs, in mode 2 it has only one and an extra (negative) voltage input. |
|---|
| 934 |
# The mode is supposed to be set properly by your BIOS so you should not |
|---|
| 935 |
# need to change it. You can force it below if really needed though. |
|---|
| 936 |
# Note that this means that you have either temp2 or vin4 but never both |
|---|
| 937 |
# at the same time. |
|---|
| 938 |
|
|---|
| 939 |
# set two_temps 1 |
|---|
| 940 |
|
|---|
| 941 |
label vdd "+5V" |
|---|
| 942 |
label vin1 "+3.3V" |
|---|
| 943 |
label vin2 "+12V" |
|---|
| 944 |
label vin3 "Vcore" |
|---|
| 945 |
label vin4 "-12V" |
|---|
| 946 |
|
|---|
| 947 |
# vin1 and vin3 require no scaling |
|---|
| 948 |
# vin2 depends on external resistors (4,7k and 15k assumed) |
|---|
| 949 |
|
|---|
| 950 |
# vin4 = ((R1+R2)/R2)*@ - (R1/R2)*vdd |
|---|
| 951 |
# |
|---|
| 952 |
# -12 --| R1 |---t---| R2 |-- +5 |
|---|
| 953 |
# | |
|---|
| 954 |
# vin4 |
|---|
| 955 |
# |
|---|
| 956 |
|
|---|
| 957 |
compute vin2 (197/47)*@ , @/(197/47) |
|---|
| 958 |
compute vin4 (5*@)-(4*vdd) , (@+4*vdd)/5 |
|---|
| 959 |
|
|---|
| 960 |
set vdd_min 4.8 |
|---|
| 961 |
set vdd_max 5.2 |
|---|
| 962 |
set vin1_min 3.20 |
|---|
| 963 |
set vin1_max 3.40 |
|---|
| 964 |
set vin2_min 11.0 |
|---|
| 965 |
set vin2_max 13.0 |
|---|
| 966 |
set vin3_min 2.10 |
|---|
| 967 |
set vin3_max 2.30 |
|---|
| 968 |
|
|---|
| 969 |
|
|---|
| 970 |
chip "lm80-*" |
|---|
| 971 |
|
|---|
| 972 |
# The values below should be correct if you own a qdi BX (brilliant1) |
|---|
| 973 |
# mainboard. If not, please contact us, so we can figure out better readings. |
|---|
| 974 |
# Many thanks go to Peter T. Breuer <ptb@it.uc3m.es> for helping us figure |
|---|
| 975 |
# out how to handle the LM80. |
|---|
| 976 |
|
|---|
| 977 |
# For positive voltages (in0..in4), two resistors are used, with the following |
|---|
| 978 |
# formula (R1,R2: resistor values, Vs: read voltage, Vin: pin voltage) |
|---|
| 979 |
# R1 = R2 * (Vs/Vin - 1) |
|---|
| 980 |
# For negative voltages (in5, in6) two resistors are used, with the following |
|---|
| 981 |
# formula (R3,R4: resistor values, Vs: read voltage, Vin: pin voltage, |
|---|
| 982 |
# V5: +5V) |
|---|
| 983 |
# R3 = R4 * (Vs - Vin) / (Vin - V5) |
|---|
| 984 |
|
|---|
| 985 |
# Here are the official LM80 data sheet values. |
|---|
| 986 |
# Vs R1,R3 R2,R4 Vin |
|---|
| 987 |
# +2.5V 23.7 75 +1.9 |
|---|
| 988 |
# +3.3V 22.1 30 +1.9 |
|---|
| 989 |
# +5.0 24 14.7 +1.9 |
|---|
| 990 |
# +12.0 160 30.1 +1.9 |
|---|
| 991 |
# -12.0 160 35.7 +1.9 |
|---|
| 992 |
# -5.0 36 16.2 +1.9 |
|---|
| 993 |
|
|---|
| 994 |
# Now curiously enough, VCore is connected with (unknown) resistors, which |
|---|
| 995 |
# translate a +2.8V to +1.9V. So we use that in the computations below. |
|---|
| 996 |
|
|---|
| 997 |
label in0 "+5V" |
|---|
| 998 |
label in1 "VTT" |
|---|
| 999 |
label in2 "+3.3V" |
|---|
| 1000 |
label in3 "+Vcore" |
|---|
| 1001 |
label in4 "+12V" |
|---|
| 1002 |
label in5 "-12V" |
|---|
| 1003 |
label in6 "-5V" |
|---|
| 1004 |
|
|---|
| 1005 |
compute in0 (24/14.7 + 1) * @ , @ / (24/14.7 + 1) |
|---|
| 1006 |
compute in2 (22.1/30 + 1) * @ , @ / (22.1/30 + 1) |
|---|
| 1007 |
compute in3 (2.8/1.9) * @, @ * 1.9/2.8 |
|---|
| 1008 |
compute in4 (160/30.1 + 1) * @, @ / (160/30.1 + 1) |
|---|
| 1009 |
compute in5 (160/35.7)*(@ - in0) + @, (@ + in0 * 160/35.7)/ (1 + 160/35.7) |
|---|
| 1010 |
compute in6 (36/16.2)*(@ - in0) + @, (@ + in0 * 36/16.2) / (1 + 36/16.2) |
|---|
| 1011 |
|
|---|
| 1012 |
set in0_min 5 * 0.95 |
|---|
| 1013 |
set in0_max 5 * 1.05 |
|---|
| 1014 |
# What is your VTT? It is probably not this value... |
|---|
| 1015 |
set in1_min 2*0.95 |
|---|
| 1016 |
set in1_max 2*1.05 |
|---|
| 1017 |
set in2_min 3.3 * 0.95 |
|---|
| 1018 |
set in2_max 3.3 * 1.05 |
|---|
| 1019 |
# What is your VCore? It is probably not this value... |
|---|
| 1020 |
set in3_min 1.9 * 0.95 |
|---|
| 1021 |
set in3_max 1.9 * 1.05 |
|---|
| 1022 |
set in4_min 12 * 0.95 |
|---|
| 1023 |
set in4_max 12 * 1.05 |
|---|
| 1024 |
set in5_min -12 * 1.05 |
|---|
| 1025 |
set in5_max -12 * 0.95 |
|---|
| 1026 |
set in6_min -5 * 1.05 |
|---|
| 1027 |
set in6_max -5 * 0.95 |
|---|
| 1028 |
|
|---|
| 1029 |
# examples for lm80 temperature limits |
|---|
| 1030 |
# WARNING - nonstandard names and functions for the lm80!!! |
|---|
| 1031 |
# All 4 of these limits apply to the single temperature sensor. |
|---|
| 1032 |
# "hot" is like the standard alarm for most chips. |
|---|
| 1033 |
# "os" is the threshold for the overtemperature shutdown output. |
|---|
| 1034 |
# "os" may or may not do anything on your motherboard but it should |
|---|
| 1035 |
# be set higher than the "hot" thresholds. |
|---|
| 1036 |
# Note that the /proc file 'temp" also has five entries instead of |
|---|
| 1037 |
# the usual three. |
|---|
| 1038 |
# set temp_hot_hyst 45 |
|---|
| 1039 |
# set temp_hot_max 52 |
|---|
| 1040 |
# set temp_os_hyst 57 |
|---|
| 1041 |
# set temp_os_max 62 |
|---|
| 1042 |
|
|---|
| 1043 |
|
|---|
| 1044 |
chip "maxilife-cg-*" "maxilife-co-*" "maxilife-as-*" |
|---|
| 1045 |
|
|---|
| 1046 |
label fan1 "HDD Fan" |
|---|
| 1047 |
label fan2 "PCI Fan" |
|---|
| 1048 |
label fan3 "CPU Fan" |
|---|
| 1049 |
ignore fan4 |
|---|
| 1050 |
|
|---|
| 1051 |
label temp2 "PCI Temp" |
|---|
| 1052 |
label temp4 "HDD Temp" |
|---|
| 1053 |
label temp5 "CPU Temp" |
|---|
| 1054 |
ignore temp6 |
|---|
| 1055 |
|
|---|
| 1056 |
label vid1 "V+12" |
|---|
| 1057 |
ignore vid5 |
|---|
| 1058 |
|
|---|
| 1059 |
# vid1 need to be scaled by 6.337 other voltages |
|---|
| 1060 |
# require no scaling |
|---|
| 1061 |
|
|---|
| 1062 |
compute vid1 6.337*@ , @/6.337 |
|---|
| 1063 |
|
|---|
| 1064 |
|
|---|
| 1065 |
chip "maxilife-cg-*" |
|---|
| 1066 |
|
|---|
| 1067 |
ignore temp1 |
|---|
| 1068 |
label temp3 "BX Temp" |
|---|
| 1069 |
|
|---|
| 1070 |
label vid2 "Vcpu1" |
|---|
| 1071 |
label vid3 "Vcpu2" |
|---|
| 1072 |
ignore vid4 |
|---|
| 1073 |
|
|---|
| 1074 |
|
|---|
| 1075 |
chip "maxilife-co-*" |
|---|
| 1076 |
|
|---|
| 1077 |
label temp1 "CPU 1 Temp" |
|---|
| 1078 |
label temp3 "CPU 2 Temp" |
|---|
| 1079 |
|
|---|
| 1080 |
label vid2 "Vcpu1" |
|---|
| 1081 |
label vid3 "Vcpu2" |
|---|
| 1082 |
label vid4 "VcacheL2" |
|---|
| 1083 |
|
|---|
| 1084 |
|
|---|
| 1085 |
chip "maxilife-as-*" |
|---|
| 1086 |
|
|---|
| 1087 |
ignore temp1 |
|---|
| 1088 |
ignore temp3 |
|---|
| 1089 |
|
|---|
| 1090 |
label vid2 "Vcpu" |
|---|
| 1091 |
ignore vid3 |
|---|
| 1092 |
ignore vid4 |
|---|
| 1093 |
|
|---|
| 1094 |
|
|---|
| 1095 |
chip "maxilife-nba-*" |
|---|
| 1096 |
|
|---|
| 1097 |
label fan1 "CPU Fan" |
|---|
| 1098 |
label fan2 "PCI Fan" |
|---|
| 1099 |
label fan3 "HDD Fan" |
|---|
| 1100 |
label fan4 "Heat Sink Fan" |
|---|
| 1101 |
|
|---|
| 1102 |
label temp1 "CPU 1 Temp" |
|---|
| 1103 |
label temp2 "CPU 2 Temp" |
|---|
| 1104 |
label temp3 "PCI/Ambient Temp" |
|---|
| 1105 |
label temp4 "HDD Temp" |
|---|
| 1106 |
label temp5 "Motherboard Temp" |
|---|
| 1107 |
label temp6 "CPU Reference Temp" |
|---|
| 1108 |
|
|---|
| 1109 |
label vid1 "V+12" |
|---|
| 1110 |
label vid2 "Vcpu1" |
|---|
| 1111 |
label vid3 "Vcpu2" |
|---|
| 1112 |
label vid4 "VcacheL2" |
|---|
| 1113 |
label vid5 "V-12" |
|---|
| 1114 |
|
|---|
| 1115 |
|
|---|
| 1116 |
chip "via686a-*" |
|---|
| 1117 |
|
|---|
| 1118 |
# VIA is very specific about the voltage sensor inputs, and our labels |
|---|
| 1119 |
# reflect what they say. Unfortunately, they are not at all specific about |
|---|
| 1120 |
# how to convert any of the register values to real units. Fortunately, |
|---|
| 1121 |
# Jonathan Yew <j.teh@iname.com> and Alex van Kaam <darkside@chello.nl> |
|---|
| 1122 |
# came through with some data for temp conversion and formulae for voltage |
|---|
| 1123 |
# conversion. However, the conversions should be regarded as our best guess- |
|---|
| 1124 |
# YMMV. |
|---|
| 1125 |
|
|---|
| 1126 |
# On the Tyan S1598, the 2.5V sensor reads 0 and is not displayed in the BIOS. |
|---|
| 1127 |
# Linas Vepstas <linas@linas.org> reports that this sensor shows nothing of |
|---|
| 1128 |
# interest on the Abit KA7 (Athlon), and is also not displayed in the BIOS. |
|---|
| 1129 |
# Likewise, Johannes Drechsel-Burkhard <jdb@chello.at> reports that this |
|---|
| 1130 |
# sensor is unavailable in the BIOS of his MSI K7T Pro (Thunderbird). So, |
|---|
| 1131 |
# if you have one of these boards you may want to uncomment the 'ignore 2.5V' |
|---|
| 1132 |
# line below. |
|---|
| 1133 |
|
|---|
| 1134 |
label "2.0V" "CPU core" |
|---|
| 1135 |
label "2.5V" "+2.5V" |
|---|
| 1136 |
#ignore "2.5V" |
|---|
| 1137 |
label "3.3V" "I/O" |
|---|
| 1138 |
label "5.0V" "+5V" |
|---|
| 1139 |
label "12V" "+12V" |
|---|
| 1140 |
|
|---|
| 1141 |
label fan1 "CPU Fan" |
|---|
| 1142 |
label fan2 "P/S Fan" |
|---|
| 1143 |
|
|---|
| 1144 |
# VIA suggests that temp3 is an internal temp sensor for the 686a. However, |
|---|
| 1145 |
# on the Tyan S1598 as well as the Abit KA7 (Athalon), the absolute values |
|---|
| 1146 |
# of the readings from that sensor are not valid. The readings do seem to |
|---|
| 1147 |
# correlate with temp changes, but the conversion factor may be quite |
|---|
| 1148 |
# different from temp1 & temp2 (as noted above, VIA has not provided |
|---|
| 1149 |
# conversion info). So, you may wish to 'ignore temp3'. |
|---|
| 1150 |
|
|---|
| 1151 |
# Johannes Drechsel-Burkhard <jdb@chello.at> notes that on his MSI K7T Pro, |
|---|
| 1152 |
# temp1 is the CPU temp and temp2 is the SYS temp. Hugo van der Merwe notes |
|---|
| 1153 |
# the same for his Gigabyte GA-7DXC, and Olivier Martin for his Gigabyte |
|---|
| 1154 |
# GA-7ZM. |
|---|
| 1155 |
|
|---|
| 1156 |
label temp1 "SYS Temp" |
|---|
| 1157 |
label temp2 "CPU Temp" |
|---|
| 1158 |
label temp3 "SBr Temp" |
|---|
| 1159 |
#ignore temp3 |
|---|
| 1160 |
|
|---|
| 1161 |
# Set your CPU core limits here if the BIOS did not. |
|---|
| 1162 |
|
|---|
| 1163 |
#set in0_min 1.70 * 0.95 |
|---|
| 1164 |
#set in0_max 1.70 * 1.05 |
|---|
| 1165 |
|
|---|
| 1166 |
# Other voltage values are standard so we can enforce the limits. |
|---|
| 1167 |
|
|---|
| 1168 |
set in1_min 2.5 * 0.95 |
|---|
| 1169 |
set in1_max 2.5 * 1.05 |
|---|
| 1170 |
set in2_min 3.3 * 0.95 |
|---|
| 1171 |
set in2_max 3.3 * 1.05 |
|---|
| 1172 |
set in3_min 5 * 0.9 |
|---|
| 1173 |
set in3_max 5 * 1.1 |
|---|
| 1174 |
set in4_min 12 * 0.9 |
|---|
| 1175 |
set in4_max 12 * 1.1 |
|---|
| 1176 |
|
|---|
| 1177 |
# Set your temp limits here. Remember, 'tempX_over' is the temp at which an |
|---|
| 1178 |
# alarm is triggered, and 'tempX_hyst' is the temp at which an alarm turns off. |
|---|
| 1179 |
# Setting tempX_hyst to a few degrees below the corresponding tempX_over |
|---|
| 1180 |
# prevents an oscillation between alarm on and off states. This kind of |
|---|
| 1181 |
# oscillation is known as hyteresis, thus the name. (You typically get the |
|---|
| 1182 |
# most serious and troublesome hysteresis when a sensor triggers something to |
|---|
| 1183 |
# reduce the temp, thus creating a negative feedback loop. Even without that, |
|---|
| 1184 |
# we would still get some oscillation when the temp hovers around the limit |
|---|
| 1185 |
# due to noise.) |
|---|
| 1186 |
|
|---|
| 1187 |
set temp1_hyst 40 |
|---|
| 1188 |
set temp1_over 45 |
|---|
| 1189 |
set temp2_hyst 55 |
|---|
| 1190 |
set temp2_over 60 |
|---|
| 1191 |
set temp3_hyst 60 |
|---|
| 1192 |
set temp3_over 65 |
|---|
| 1193 |
|
|---|
| 1194 |
# You could set your fan limits too, but the defaults should be fine. |
|---|
| 1195 |
|
|---|
| 1196 |
#set fan1_min 5000 |
|---|
| 1197 |
#set fan2_min 5000 |
|---|
| 1198 |
|
|---|
| 1199 |
|
|---|
| 1200 |
chip "mtp008-*" |
|---|
| 1201 |
|
|---|
| 1202 |
# The values below should be correct if you own a Tyan S1834D motherboard. |
|---|
| 1203 |
# If not, please contact us, so we can figure out better readings. |
|---|
| 1204 |
# FOR TYAN S2510 SEE END OF THIS SECTION. |
|---|
| 1205 |
|
|---|
| 1206 |
# For positive voltages outside the 0..4.09V range (in2..in4), two resistors |
|---|
| 1207 |
# are used, with the following formula (R1,R2: resistor values, Vs: read |
|---|
| 1208 |
# voltage, Vin: pin voltage) |
|---|
| 1209 |
# Vin = Vs * (R2 / (R1 + R2)) |
|---|
| 1210 |
# For negative voltages (in5) two resistors are used, with the following |
|---|
| 1211 |
# formula (R3,R4: resistor values, Vs: read voltage, Vin: pin voltage) |
|---|
| 1212 |
# Vin = ((4.096 - Vs) * (R3 / (R3 + R4))) + Vs |
|---|
| 1213 |
|
|---|
| 1214 |
# Here are the official MTP008 data sheet values: |
|---|
| 1215 |
# Vs R1,R3 R2,R4 Vin |
|---|
| 1216 |
# +12.0 28000 10000 +3.16 |
|---|
| 1217 |
# -12.0 232000 56000 +0.96 |
|---|
| 1218 |
# -5.0 120000 56000 +1.20 |
|---|
| 1219 |
|
|---|
| 1220 |
label in0 "VCore1" |
|---|
| 1221 |
label in1 "+3.3V" |
|---|
| 1222 |
label in2 "+12V" |
|---|
| 1223 |
label in3 "Vcore2" |
|---|
| 1224 |
ignore in4 |
|---|
| 1225 |
label in5 "-12V" |
|---|
| 1226 |
label in6 "Vtt" |
|---|
| 1227 |
|
|---|
| 1228 |
label fan1 "CPU1 Fan" |
|---|
| 1229 |
label fan2 "CPU2 Fan" |
|---|
| 1230 |
label fan3 "fan3" |
|---|
| 1231 |
|
|---|
| 1232 |
label temp1 "CPU1 Temp" |
|---|
| 1233 |
label temp2 "CPU2 Temp" |
|---|
| 1234 |
ignore temp3 |
|---|
| 1235 |
|
|---|
| 1236 |
compute in2 @ * 38 / 10, @ * 10 / 38 |
|---|
| 1237 |
compute in5 (@ * 36 - 118.61) / 7, (118.61 + 7 * @) / 36 |
|---|
| 1238 |
|
|---|
| 1239 |
# examples for temperature limits |
|---|
| 1240 |
# set temp1_over 40 |
|---|
| 1241 |
# set temp1_hyst 37 |
|---|
| 1242 |
# set temp2_over 52 |
|---|
| 1243 |
# set temp2_hyst 47 |
|---|
| 1244 |
# set temp3_over 52 |
|---|
| 1245 |
# set temp3_hyst 47 |
|---|
| 1246 |
|
|---|
| 1247 |
# End of standard mtp008 configuration |
|---|
| 1248 |
|
|---|
| 1249 |
# TYAN S2510 INFORMATION |
|---|
| 1250 |
# This motherboard has two mtp008's which are hooked up differently, |
|---|
| 1251 |
# so they must be configured separately. |
|---|
| 1252 |
# For this motherboard, COMMENT OUT the above mtp008 section and |
|---|
| 1253 |
# UNCOMMENT the following two sections. |
|---|
| 1254 |
# |
|---|
| 1255 |
#chip "mtp008-i2c-*-2c" |
|---|
| 1256 |
# label in0 "VCore1" |
|---|
| 1257 |
# set in0_min 1.60 |
|---|
| 1258 |
# set in0_max 1.80 |
|---|
| 1259 |
# label in1 "+3.3V" |
|---|
|
|---|