root/lm-sensors/trunk/etc/sensors.conf.eg @ 2470

Revision 2470, 57.7 KB (checked in by khali, 9 years ago)

Update via686a section, new lm99 section.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
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#
159# SET LINES
160# ---------
161# Set statements set things like limits. Complete expressions can be
162# used. Not everything can sensibly be set: setting 'in0', for example,
163# is impossible! These settings are put through the compute translations;
164# so if we specify '12.8' for in6, '3.2' will actually be written!
165#
166# Important note: In the 'sensors' program, these only take effect
167# after running 'sensors -s'!!!
168#
169# Here are some examples:
170#
171#       set in0_max vid*1.05
172#       set in0_min vid*0.95
173#       set temp1_over 40
174#       set temp1_hyst 37
175#
176# Think of tempx_over as 'alarm set' and tempx_hyst as 'alarm clear'
177# thresholds. In most cases the 'over' value should be higher than
178# the 'hyst' value by several degrees.
179#
180#
181# IGNORE LINES
182# ------------
183# Ignore statements tell certain features are not wanted. User programs can
184# still read them if they really want, though; this is just an advisory
185# marking. 'in0' would also invalidate 'in0_max' and 'in0_min'.
186# 'ignore' does not disable anything in the actual sensor chip; it
187# simply advises the user program to not access that data.
188#
189#       ignore in0
190#
191#
192# STATEMENT ORDER
193# ---------------
194# Statements can go in any order, EXCEPT that some statements depend
195# on others. Dependencies could be either in the library or the driver.
196# A 'compute' statement must go before a 'set' statement
197# for the same feature or else the 'set' won't be computed correctly.
198# This is a library dependency.
199# A 'set fan1_div' statement must go before a 'set fan1_min' statement,
200# because the driver uses the divisor in calculating the minimum.
201# Also, one should set vrm prior to using vid in any formula.
202#
203#
204# BUS LINES
205# ---------
206# There is one other feature: the 'bus' statement. An example is below.
207#
208#       bus "i2c-0" "SMBus PIIX4 adapter at e800" "Non-I2C SMBus adapter"
209#
210# If we refer from now on to 'i2c-0' in 'chip' lines, this will run-time
211# be matched to this bus. So even if the PIIX4 is called 'i2c-5' at that
212# moment, because five other adapters were detected first, 'i2c-0' in
213# the config file would always only match this physical bus. In the above
214# config file, this feature is not needed; but the next lines would
215# only affect the LM75 chips on the PIIX4 adapter:
216#
217#       chip "lm75-i2c-0-*"
218#
219# You should really use the output of /proc/bus/chips to generate bus lines,
220# because one mistyped characted will inhibit the match. Wildcards are not
221# yet supported; spaces at the end are ignored, though.
222#
223#
224##########################################################################
225#### Here begins the real configuration file
226
227
228chip "lm78-*" "lm78-j-*" "lm79-*" "w83781d-*"
229
230# These are as advised in the LM78 and LM79 data sheets, and used on almost
231# any mainboard we have seen.
232
233    label in0 "VCore 1"
234    label in1 "VCore 2"
235    label in2 "+3.3V"
236    label in3 "+5V"
237    label in4 "+12V"
238    label in5 "-12V"
239    label in6 "-5V"
240
241# For positive voltages (in3, in4), two resistors are used, with the following
242# formula (R1,R2: resistor values, Vs: read voltage, Vin: pin voltage)
243#   R1 = R2 * (Vs/Vin - 1)
244# For negative voltages (in5, in6) two resistors are used, with the following
245# formula (Rin,Rf: resistor values, Vs: read voltage, Vin: pin voltage)
246#   Rin = (Vs * Rf) / Vin
247#
248# Here are the official LM78 and LM79 data sheet values.
249#       Vs     R1,Rin   R2,Rf    Vin
250# in3   +5.0      6.8    10     +2.98
251# in4  +12.0     30      10     +3.00
252# in5  -12.0    240      60     +3.00
253# in6   -5.0    100      60     +3.00
254#
255# These would lead to these declarations:
256# compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
257# compute in4 ((30/10)+1)*@  ,  @/((30/10)+1)
258# compute in5 -(240/60)*@    ,  -@/(240/60)
259# compute in6 -(100/60)*@    ,  -@/(100/60)
260#
261# On almost any mainboard we have seen, the Winbond compute values lead to
262# much better results, though.
263#
264#       Vs     R1,Rin   R2,Rf    Vin
265# in4  +12.0     28      10     +3.00
266# in5  -12.0    210      60.4   +3.00
267# in6   -5.0     90.9    60.4   +3.00
268#
269# These leads to these declarations:
270
271    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
272    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
273    compute in5 -(210/60.4)*@  ,  -@/(210/60.4)
274    compute in6 -(90.9/60.4)*@ ,  -@/(90.9/60.4)
275
276# Here, we assume the VID readings are valid, and we use a max. 5% deviation
277
278    set in0_min vid*0.95
279    set in0_max vid*1.05
280    set in1_min vid*0.95
281    set in1_max vid*1.05
282    set in2_min 3.3 * 0.95
283    set in2_max 3.3 * 1.05
284    set in3_min 5.0 * 0.95
285    set in3_max 5.0 * 1.05
286    set in4_min 12 * 0.95
287    set in4_max 12 * 1.05
288    set in5_max -12 * 0.95
289    set in5_min -12 * 1.05
290    set in6_max -5 * 0.95
291    set in6_min -5 * 1.05
292
293# Examples for lm78, lm78j, lm79 temperature limits
294#    set temp_over 40
295#    set temp_hyst 37
296
297# Examples for w83781d temperature limits
298#    set temp1_over 40
299#    set temp1_hyst 37
300#    set temp2_over 52
301#    set temp2_hyst 47
302#    set temp3_over 52
303#    set temp3_hyst 47
304
305# Ignore fans you don't actually have
306#    ignore fan1
307#    ignore fan2
308#    ignore fan3
309
310# In case a lm78 is used together with a lm75, the lm78 temp sensor will
311# generally show the M/B temperature while the lm75 temp sensor will show
312# the CPU temperature.
313#    label temp "M/B Temp"
314
315
316chip "lm75-*"
317
318# Most boards don't need scaling. Following is
319# for the Asus TX97-E. If it doesn't work for you, feel free to complain.
320#   compute temp @*2.0, @/2.0
321
322# Examples for temperature limits
323#    set temp_over 70   
324#    set temp_hyst 65   
325
326# In case a lm75 is used together with a lm78, the lm78 temp sensor will
327# generally show the M/B temperature while the lm75 temp sensor will show
328# the CPU temperature.
329#    label temp "CPU Temp"
330
331
332chip "sis5595-*"
333
334    label in0 "VCore 1"
335    label in1 "VCore 2"
336    label in2 "+3.3V"
337    label in3 "+5V"
338    label in4 "+12V"
339
340    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
341    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
342
343    set in0_min 2.0 * 0.95
344    set in0_max 2.0 * 1.05
345    set in1_min 2.0 * 0.95
346    set in1_max 2.0 * 1.05
347    set in2_min 3.3 * 0.95
348    set in2_max 3.3 * 1.05
349    set in3_min 5.0 * 0.95
350    set in3_max 5.0 * 1.05
351    set in4_min 12 * 0.95
352    set in4_max 12 * 1.05
353
354#
355# SiS5595 temperature calculation
356# The driver currently includes a calculation due to the wide
357# variation in thermistor types on SiS5595 motherboards.
358# The driver currently has a calculation of t = (.83x + 52.12).
359# One user reports the correct formula of t = (.345x - 12).
360# So you want to put a compute line in sensors.conf that has
361# the inverse of the driver formula, and put your formula on top of it.
362# The inverse of the driver formula is x = (1.20t - 62.77)
363# So the final formula is newt = (.345(1.20t - 62.77)) - 12).
364# Put this in the sensors.conf file as
365# compute temp ((.345 * ((1.20 * @) - 62.77)) - 12), ...
366# where ... is the inverse function I leave to you.
367#
368# Look in your 'Vendor.ini' file to see which one is present
369# on your motherboard. Look for the line like:
370#       [Temp1]
371#            ThermistorType     = NTC-10KC15-1608-1P
372# Fix up a 'compute' line to match your thermistor type.
373# Warning. You still don't have enough information to do this.
374#            ThermistorType     = NTC-10KC15-1608-1P (10K at 25C; Beta = 3435)
375#   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
376#            ThermistorType     = NTC-103KC15-1608-1P  (??)
377#   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
378#            ThermistorType     = NTC-103AT-2 (10K at 25C; Beta = 3435)
379#   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
380#            ThermistorType     = NTC-103JT   (10K at 25C; Beta = 3435)
381#   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
382
383# examples for sis5595 temperature limits;
384# for sis5595, temp_hyst is really the low limit, not a hysteresis value
385#    set temp_over 40
386#    set temp_hyst 37
387
388
389chip "w83782d-*" "w83627hf-*"
390
391# Same as above for w83781d except that in5 and in6 are computed differently.
392# Rather than an internal inverting op amp, the 82d/83s use standard positive
393# inputs and the negative voltages are level shifted by a 3.6V reference.
394# The math is convoluted, so we hope that your motherboard
395# uses the recommended resistor values.
396
397    label in0 "VCore 1"
398    label in1 "VCore 2"
399    label in2 "+3.3V"
400    label in3 "+5V"
401    label in4 "+12V"
402    label in5 "-12V"
403    label in6 "-5V"
404    label in7 "V5SB"
405    label in8 "VBat"
406
407# Abit BP6 motherboard has a few differences. VCore1 and VCore2 are the core
408# voltages of the two processors. Vtt is memory bus termination resistors
409# voltage.
410#    label in1 "Vtt"
411#    label in8 "VCore2"
412
413    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
414    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
415    compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
416    compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
417    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
418
419# adjust this if your vid is wrong; see doc/vid
420#   set vrm 9.0
421
422# set limits to  5% for the critical voltages
423# set limits to 10% for the non-critical voltages
424# set limits to 20% for the battery voltage
425
426    set in0_min vid*0.95
427    set in0_max vid*1.05
428    set in1_min vid*0.95
429    set in1_max vid*1.05
430    set in2_min 3.3 * 0.95
431    set in2_max 3.3 * 1.05
432    set in3_min 5.0 * 0.95
433    set in3_max 5.0 * 1.05
434    set in4_min 12 * 0.90
435    set in4_max 12 * 1.10
436    set in5_max -12 * 0.90
437    set in5_min -12 * 1.10
438    set in6_max -5 * 0.95
439    set in6_min -5 * 1.05
440    set in7_min 5 * 0.95
441    set in7_max 5 * 1.05
442    set in8_min 3.0 * 0.80
443    set in8_max 3.0 * 1.20
444
445# set up sensor types (thermistor is default)
446# 1 = PII/Celeron Diode; 2 = 3904 transistor;
447# 3435 = thermistor with Beta = 3435
448# If temperature changes very little, try 1 or 2.
449#   set sensor1 1
450#   set sensor2 2
451#   set sensor3 3435
452
453# examples for temperature limits
454#    set temp1_over 40
455#    set temp1_hyst 37
456#    set temp2_over 52
457#    set temp2_hyst 47
458#    set temp3_over 52
459#    set temp3_hyst 47
460
461
462chip "w83783s-*"
463
464# Same as above for w83781d except that in5 and in6 are computed differently.
465# Rather than an internal inverting op amp, the 82d/83s use standard positive
466# inputs and the negative voltages are level shifted by a 3.6V reference.
467# The math is convoluted, so we hope that your motherboard
468# uses the recommended resistor values.
469
470    label in0 "VCore 1"
471    label in2 "+3.3V"
472    label in3 "+5V"
473    label in4 "+12V"
474    label in5 "-12V"
475    label in6 "-5V"
476
477    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
478    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
479    compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
480    compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
481
482# adjust this if your vid is wrong; see doc/vid
483#   set vrm 9.0
484
485# set limits to  5% for the critical voltages
486# set limits to 10% for the non-critical voltages
487# set limits to 20% for the battery voltage
488
489    set in0_min vid*0.95
490    set in0_max vid*1.05
491    set in2_min 3.3 * 0.95
492    set in2_max 3.3 * 1.05
493    set in3_min 5.0 * 0.95
494    set in3_max 5.0 * 1.05
495    set in4_min 12 * 0.90
496    set in4_max 12 * 1.10
497    set in5_max -12 * 0.90
498    set in5_min -12 * 1.10
499    set in6_max -5 * 0.95
500    set in6_min -5 * 1.05
501
502# set up sensor types (thermistor is default)
503# 1 = PII/Celeron Diode; 2 = 3904 transistor;
504# 3435 = thermistor with Beta = 3435
505# If temperature changes very little, try 1 or 2.
506#   set sensor1 1
507#   set sensor2 2
508
509# examples for temperature limits
510#    set temp1_over 40
511#    set temp1_hyst 37
512#    set temp2_over 52
513#    set temp2_hyst 47
514
515
516chip "w83697hf-*"
517
518# Same as above for w83781d except that in5 and in6 are computed differently.
519# Rather than an internal inverting op amp, the 82d/83s use standard positive
520# inputs and the negative voltages are level shifted by a 3.6V reference.
521# The math is convoluted, so we hope that your motherboard
522# uses the recommended resistor values.
523
524# no in1 on this chip.
525
526    label in0 "VCore"
527    label in2 "+3.3V"
528    label in3 "+5V"
529    label in4 "+12V"
530    label in5 "-12V"
531    label in6 "-5V"
532    label in7 "V5SB"
533    label in8 "VBat"
534
535# Tyan Trinity S2495 KT400 has a few differences. Thanks to Eric Schumann
536# for proving this information. Same is true for Epox 8K3A and 8KHA+.
537# Thanks to Thomas Schorpp for additional feedback.
538#    label in2 "VAgp"
539#    label in5 "+3.3V" # aka. Vio
540#    label in6 "Vdimm"
541#    label in7 "VBat"
542#    label in8 "V5SB"
543#
544# You'll also want to comment out the in5 and in6 compute lines right below,
545# and rename compute in7 to compute in8.
546
547    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
548    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
549    compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
550    compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
551    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
552
553# 697HF does not have VID inputs so you MUST set your core
554# voltage limits below. Currently set for 1.8V core.
555#               vvv
556
557    set in0_min 1.8 * 0.95
558    set in0_max 1.8 * 1.05
559
560    set in2_min 3.3 * 0.95
561    set in2_max 3.3 * 1.05
562    set in3_min 5.0 * 0.95
563    set in3_max 5.0 * 1.05
564    set in4_min 12 * 0.90
565    set in4_max 12 * 1.10
566    set in5_max -12 * 0.90
567    set in5_min -12 * 1.10
568    set in6_max -5 * 0.95
569    set in6_min -5 * 1.05
570    set in7_min 5 * 0.95
571    set in7_max 5 * 1.05
572    set in8_min 3.0 * 0.80
573    set in8_max 3.0 * 1.20
574
575# And for Tyan Trinity S2495 KT400 and Epox 8K3A and 8KHA+:
576#    set in2_min 1.5 * 0.95
577#    set in2_max 1.5 * 1.05
578#    set in5_min 3.3 * 0.95
579#    set in5_max 3.3 * 1.05
580#    set in6_min 2.5 * 0.95 # 2.6 on Epox?
581#    set in6_max 2.5 * 1.05 # 2.6 on Epox?
582#    set in7_min 3.0 * 0.90
583#    set in7_max 3.0 * 1.10
584#    set in8_min 5 * 0.90
585#    set in8_max 5 * 1.10
586
587# set up sensor types (thermistor is default)
588# 1 = PII/Celeron Diode; 2 = 3904 transistor;
589# 3435 = thermistor with Beta = 3435
590# If temperature changes very little, try 1 or 2.
591#   set sensor1 1
592#   set sensor2 2
593#   set sensor3 3435
594
595# examples for temperature limits
596#    set temp1_over 40
597#    set temp1_hyst 37
598#    set temp2_over 52
599#    set temp2_hyst 47
600
601
602chip "w83627thf-*" "w83637hf-*"
603
604# Rather than an internal inverting op amp, the 627thf uses standard positive
605# inputs and the negative voltages are level shifted by a 3.6V reference
606# (same as 82d/83s).
607# The math is convoluted, so we hope that your motherboard
608# uses the recommended resistor values.
609# Note that in1 (+12V) is the usual in4, and in4 (-12V) is the usual in5.
610# Data sheet is obviously wrong for in4, the usual formula should work.
611# No in5 nor in6.
612
613    label in0 "VCore"
614    label in1 "+12V"
615    label in2 "+3.3V"
616    label in3 "+5V"
617    label in4 "-12V"
618    label in7 "V5SB"
619    label in8 "VBat"
620
621# Mori Hiroyuki reported to need this (P4P800)
622#   compute in0 @/2, @*2
623
624    compute in1 ((28/10)+1)*@, @/((28/10)+1)
625    compute in3 ((34/51)+1)*@, @/((34/51)+1)
626    compute in4 (5.14*@)-14.91, (@+14.91)/5.14
627    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
628
629# adjust this if your vid is wrong; see doc/vid
630#   set vrm 9.0
631
632# set limits to  5% for the critical voltages
633# set limits to 10% for the non-critical voltages
634# set limits to 20% for the battery voltage
635# if your vid is wrong, you'll need to adjust in0_min and in0_max
636
637    set in0_min vid * 0.95
638    set in0_max vid * 1.05
639    set in1_min 12 * 0.90
640    set in1_max 12 * 1.10
641    set in2_min 3.3 * 0.95
642    set in2_max 3.3 * 1.05
643    set in3_min 5.0 * 0.95
644    set in3_max 5.0 * 1.05
645    set in4_min -12 * 0.90
646    set in4_max -12 * 1.10
647    set in7_min 5 * 0.95
648    set in7_max 5 * 1.05
649    set in8_min 3.0 * 0.80
650    set in8_max 3.0 * 1.20
651
652# set up sensor types (thermistor is default)
653# 1 = PII/Celeron Diode; 2 = 3904 transistor;
654# 3435 = thermistor with Beta = 3435
655# If temperature changes very little, try 1 or 2.
656#   set sensor1 1
657#   set sensor2 2
658#   set sensor3 3435
659
660    label temp1 "M/B Temp"
661    label temp2 "CPU Temp"
662#   ignore temp3
663
664# examples for temperature limits
665#    set temp1_over 40
666#    set temp1_hyst 37
667#    set temp2_over 52
668#    set temp2_hyst 47
669#    set temp3_over 52
670#    set temp3_hyst 47
671
672#   ignore fan1
673    label fan2 "CPU Fan"
674#   ignore fan3
675
676
677chip "as99127f-*"
678
679# Asus won't release a datasheet so this is guesswork.
680# Thanks to Guntram Blohm, Jack, Ed Harrison, Artur Gawryszczak,
681# Victor G. Marimon and others for their feedback.
682
683# Dual power plane
684    label in0 "VCore 1"
685    label in1 "VCore 2"
686# Single power plane (A7V133, A7M266)
687#   label in0 "VCore"
688#   ignore in1
689
690    label in2 "+3.3V"
691    label in3 "+5V"
692    label in4 "+12V"
693# These last two may not make sense on all motherboards.
694    label in5 "-12V"
695    label in6 "-5V"
696
697    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
698    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
699# AS99127F rev.1 (same as w83781d)
700    compute in5 -(240/60.4)*@ ,  -@/(240/60.4)
701    compute in6 -(90.9/60.4)*@ ,  -@/(90.9/60.4)
702# AS99127F rev.2 (same as w83782d)
703#   compute in5 (5.14 * @) - 14.91 , (@ + 14.91) / 5.14
704#   compute in6 (3.14 * @) -  7.71 , (@ +  7.71) / 3.14
705
706# Depending on your motherboard, you have to choose between three formulae
707# for temp2. Quoting Artur Gawryszczak:
708# "I guess, that the formula "temp2 (@*30/43)+25, (@-25)*43/30" is correct
709# for those Asus motherboards, which get CPU temperature from internal
710# thermal diode (Pentium Coppermine, and above), and "temp2 @*2.0, @/2.0"
711# is correct for Athlon/Duron boards, which use a thermistor in the
712# socket."
713# The third formula was found and reported by Victor G. Marimon.
714# Asus CUV4X, Asus A7V8X
715#   compute temp2 (@*30/43)+25, (@-25)*43/30
716# Asus A7V133, Asus A7M266
717    compute temp2 @*2.0, @/2.0
718# Asus CUSL2, Asus CUV266-DLS
719#   compute temp2 (@*60/43)+25, (@-25)*43/60
720
721# See comments above if temp3 looks bad. What works for temp2 is likely
722# to work for temp3.
723    compute temp3 @*2.0, @/2.0
724
725# Most Asus boards have temperatures settled like that:
726    label temp1 "M/B Temp"
727    label temp2 "CPU Temp"
728# However, some A7N8X boards (Deluxe rev.2, -X) have them swapped:
729#   label temp1 "CPU Temp"
730#   label temp2 "M/B Temp"
731# If you know other boards where they are swapped, let us know and
732# we'll update the list.
733
734# adjust this if your vid is wrong; see doc/vid
735#   set vrm 9.0
736
737# set limits to  5% for the critical voltages
738# set limits to 10% for the non-critical voltages
739# set limits to 20% for the battery voltage
740
741    set in0_min vid*0.95
742    set in0_max vid*1.05
743    set in1_min vid*0.95
744    set in1_max vid*1.05
745    set in2_min 3.3 * 0.95
746    set in2_max 3.3 * 1.05
747    set in3_min 5.0 * 0.95
748    set in3_max 5.0 * 1.05
749    set in4_min 12 * 0.90
750    set in4_max 12 * 1.10
751    set in5_max -12 * 0.90
752    set in5_min -12 * 1.10
753    set in6_max -5 * 0.95
754    set in6_min -5 * 1.05
755
756# examples for temperature limits
757#    set temp1_over 40
758#    set temp1_hyst 37
759#    set temp2_over 52
760#    set temp2_hyst 47
761#    set temp3_over 52
762#    set temp3_hyst 47
763
764# The A7N8X-X board is known to need this:
765# (reported by Roberto Sebastiano <robs@multiplayer.it>)
766#    compute fan1  @/2,  2*@
767
768
769chip "gl518sm-*"
770
771# IMPORTANT: in0, in1, and in2 values (+5, +3, and +12) CANNOT be read
772#            unless you use the slow 'iterate' method. Limits will still
773#            work even when iterate=0. See ../doc/chips/gl518sm.
774#
775# Factors and labels taken from GL518SM datasheet, they seem to give
776# reasonable values with EISCA connected Fan78
777
778  label vdd "+5V"
779  label vin1 "+3.3V"
780  label vin2 "+12V"
781  label vin3 "Vcore"
782
783# vin2 depends on external resistors (4,7k and 15k assumed here)
784# vin1 and vin3 require no scaling
785
786  compute vin2 (197/47)*@  ,  @/(197/47)
787
788  set vdd_min 4.8
789  set vdd_max 5.2
790  set vin1_min 3.20
791  set vin1_max 3.40
792  set vin2_min 11.0
793  set vin2_max 13.0
794  set vin3_min 2.10
795  set vin3_max 2.30
796  set fan1_off 0
797  set fan2_min 0
798# set iterate 2
799
800
801chip "gl520sm-*"
802
803# Factors and labels taken from GL520SM datasheet
804
805  label vdd "+5V"
806  label vin1 "+3.3V"
807  label vin2 "+12V"
808  label vin3 "Vcore"
809  label vin4 "-12V"
810
811# vin1 and vin3 require no scaling
812# vin2 depends on external resistors (4,7k and 15k assumed)
813
814# vin4 = ((R1+R2)/R2)*@ - (R1/R2)*vdd
815#
816#       -12 --| R1 |---t---| R2 |-- +5
817#                      |
818#                    vin4
819#
820
821  compute vin2 (197/47)*@  ,  @/(197/47)
822  compute vin4 (5*@)-(4*vdd) , (@+4*vdd)/5
823
824  set vdd_min 4.8
825  set vdd_max 5.2
826  set vin1_min 3.20
827  set vin1_max 3.40
828  set vin2_min 11.0
829  set vin2_max 13.0
830  set vin3_min 2.10
831  set vin3_max 2.30
832  set two_temps 1
833
834
835chip "lm80-*"
836
837# The values below should be correct if you own a qdi BX (brilliant1)
838# mainboard. If not, please contact us, so we can figure out better readings.
839# Many thanks go to Peter T. Breuer <ptb@it.uc3m.es> for helping us figure
840# out how to handle the LM80.
841
842# For positive voltages (in0..in4), two resistors are used, with the following
843# formula (R1,R2: resistor values, Vs: read voltage, Vin: pin voltage)
844#   R1 = R2 * (Vs/Vin - 1)
845# For negative voltages (in5, in6) two resistors are used, with the following
846# formula (R3,R4: resistor values, Vs: read voltage, Vin: pin voltage,
847# V5: +5V)
848#   R3 = R4 * (Vs - Vin) / (Vin - V5)
849
850# Here are the official LM80 data sheet values.
851#       Vs      R1,R3   R2,R4    Vin
852#       +2.5V    23.7    75     +1.9
853#       +3.3V    22.1    30     +1.9
854#       +5.0     24      14.7   +1.9
855#      +12.0    160      30.1   +1.9
856#      -12.0    160      35.7   +1.9
857#       -5.0     36      16.2   +1.9
858
859# Now curiously enough, VCore is connected with (unknown) resistors, which
860# translate a +2.8V to +1.9V. So we use that in the computations below.
861
862    label in0 "+5V"
863    label in1 "VTT"
864    label in2 "+3.3V"
865    label in3 "+Vcore"
866    label in4 "+12V"
867    label in5 "-12V"
868    label in6 "-5V"
869
870    compute in0 (24/14.7 + 1) * @ ,       @ / (24/14.7 + 1)
871    compute in2 (22.1/30 + 1) * @ ,       @ / (22.1/30 + 1)
872    compute in3 (2.8/1.9) * @,            @ * 1.9/2.8
873    compute in4 (160/30.1 + 1) * @,       @ / (160/30.1 + 1)
874    compute in5 (160/35.7)*(@ - in0) + @, (@ + in0 * 160/35.7)/ (1 + 160/35.7)
875    compute in6 (36/16.2)*(@ - in0) + @,  (@ + in0 * 36/16.2) / (1 + 36/16.2)
876
877    set in0_min 5 * 0.95
878    set in0_max 5 * 1.05
879# What is your VTT? It is probably not this value...
880    set in1_min 2*0.95
881    set in1_max 2*1.05
882    set in2_min 3.3 * 0.95
883    set in2_max 3.3 * 1.05
884# What is your VCore? It is probably not this value...
885    set in3_min 1.9 * 0.95
886    set in3_max 1.9 * 1.05
887    set in4_min 12 * 0.95
888    set in4_max 12 * 1.05
889    set in5_min -12 * 1.05
890    set in5_max -12 * 0.95
891    set in6_min -5 * 1.05
892    set in6_max -5 * 0.95
893
894# examples for lm80 temperature limits
895# WARNING - nonstandard names and functions for the lm80!!!
896# All 4 of these limits apply to the single temperature sensor.
897# "hot" is like the standard alarm for most chips.
898# "os" is the threshold for the overtemperature shutdown output.
899# "os" may or may not do anything on your motherboard but it should
900#  be set higher than the "hot" thresholds.
901# Note that the /proc file 'temp" also has five entries instead of
902# the usual three.
903#    set temp_hot_hyst 45
904#    set temp_hot_max  52
905#    set temp_os_hyst  57
906#    set temp_os_max   62
907
908
909chip "maxilife-cg-*" "maxilife-co-*" "maxilife-as-*"
910
911   label fan1  "HDD Fan"
912   label fan2  "PCI Fan"
913   label fan3  "CPU Fan"
914   ignore fan4
915
916   label temp2 "PCI Temp"
917   label temp4 "HDD Temp"
918   label temp5 "CPU Temp"
919   ignore temp6
920
921   label vid1  "V+12"
922   ignore vid5
923
924# vid1 need to be scaled by 6.337 other voltages
925# require no scaling
926
927   compute vid1 6.337*@ , @/6.337
928
929
930chip "maxilife-cg-*"
931
932   ignore temp1
933   label temp3  "BX Temp"
934
935   label vid2   "Vcpu1"
936   label vid3   "Vcpu2"
937   ignore vid4
938
939
940chip "maxilife-co-*"
941
942   label temp1  "CPU 1 Temp"
943   label temp3  "CPU 2 Temp"
944
945   label vid2   "Vcpu1"
946   label vid3   "Vcpu2"
947   label vid4   "VcacheL2"
948
949
950chip "maxilife-as-*"
951
952   ignore temp1
953   ignore temp3
954
955   label vid2   "Vcpu"
956   ignore vid3
957   ignore vid4
958
959
960chip "maxilife-nba-*"
961
962   label fan1  "CPU Fan"
963   label fan2  "PCI Fan"
964   label fan3  "HDD Fan"
965   label fan4  "Heat Sink Fan"
966
967   label temp1  "CPU 1 Temp"
968   label temp2  "CPU 2 Temp"
969   label temp3  "PCI/Ambient Temp"
970   label temp4  "HDD Temp"
971   label temp5  "Motherboard Temp"
972   label temp6  "CPU Reference Temp"
973
974   label vid1  "V+12"
975   label vid2  "Vcpu1"
976   label vid3  "Vcpu2"
977   label vid4  "VcacheL2"
978   label vid5  "V-12"
979
980
981chip "via686a-*"
982
983# VIA is very specific about the voltage sensor inputs, and our labels
984# reflect what they say.  Unfortunately, they are not at all specific about
985# how to convert any of the register values to real units.  Fortunately,
986# Jonathan Yew <j.teh@iname.com> and Alex van Kaam <darkside@chello.nl>
987# came through with some data for temp conversion and formulae for voltage
988# conversion. However, the conversions should be regarded as our best guess-
989# YMMV.
990
991# On the Tyan S1598, the 2.5V sensor reads 0 and is not displayed in the BIOS.
992# Linas Vepstas <linas@linas.org> reports that this sensor shows nothing of
993# interest on the Abit KA7 (Athlon), and is also not displayed in the BIOS.
994# Likewise, Johannes Drechsel-Burkhard <jdb@chello.at> reports that this
995# sensor is unavailable in the BIOS of his MSI K7T Pro (Thunderbird).  So,
996# if you have one of these boards you may want to uncomment the 'ignore 2.5V'
997# line below.
998
999    label "2.0V" "CPU core"
1000    label "2.5V" "+2.5V"
1001    #ignore "2.5V"
1002    label "3.3V" "I/O"
1003    label "5.0V" "+5V"
1004    label "12V" "+12V"
1005
1006    label fan1  "CPU Fan"
1007    label fan2  "P/S Fan"
1008
1009# VIA suggests that temp3 is an internal temp sensor for the 686a.  However,
1010# on the Tyan S1598 as well as the Abit KA7 (Athalon), the absolute values
1011# of the readings from that sensor are not valid.  The readings do seem to
1012# correlate with temp changes, but the conversion factor may be quite
1013# different from temp1 & temp2 (as noted above, VIA has not provided
1014# conversion info).  So, you may wish to 'ignore temp3'.
1015
1016# Johannes Drechsel-Burkhard <jdb@chello.at> notes that on his MSI K7T Pro,
1017# temp1 is the CPU temp and temp2 is the SYS temp. Hugo van der Merwe notes
1018# the same for his Gigabyte GA-7DXC, and Olivier Martin for his Gigabyte
1019# GA-7ZM.
1020
1021    label temp1 "SYS Temp"
1022    label temp2 "CPU Temp"
1023    label temp3 "SBr Temp"
1024    #ignore temp3
1025
1026# Set your CPU core limits here.  For the other voltage sensors, the
1027# built-in defaults should be fine.
1028
1029    set in0_min 2.0
1030    set in0_max 2.5
1031
1032# Set your temp limits here.  Remember, 'tempX_over' is the temp at which an
1033# alarm is triggered, and 'tempX_hyst' is the temp at which an alarm turns off.
1034# Setting tempX_hyst to a few degrees below the corresponding tempX_over
1035# prevents an oscillation between alarm on and off states.  This kind of
1036# oscillation is known as hyteresis, thus the name.  (You typically get the
1037# most serious and troublesome hysteresis when a sensor triggers something to
1038# reduce the temp, thus creating a negative feedback loop.  Even without that,
1039# we would still get some oscillation when the temp hovers around the limit
1040# due to noise.)
1041
1042    set temp1_hyst 40
1043    set temp1_over 45
1044    set temp2_hyst 55
1045    set temp2_over 60
1046    set temp3_hyst 60
1047    set temp3_over 65
1048
1049# You could set your fan limits too, but the defaults should be fine.
1050
1051    #set fan1_min 5000
1052    #set fan2_min 5000
1053
1054
1055chip "mtp008-*"
1056
1057# The values below should be correct if you own a Tyan S1834D motherboard.
1058# If not, please contact us, so we can figure out better readings.
1059# FOR TYAN S2510 SEE END OF THIS SECTION.
1060
1061# For positive voltages outside the 0..4.09V range (in2..in4), two resistors
1062# are used, with the following formula (R1,R2: resistor values, Vs: read
1063# voltage, Vin: pin voltage)
1064#   Vin = Vs * (R2 / (R1 + R2))
1065# For negative voltages (in5) two resistors are used, with the following
1066# formula (R3,R4: resistor values, Vs: read voltage, Vin: pin voltage)
1067#   Vin = ((4.096 - Vs) * (R3 / (R3 + R4))) + Vs
1068
1069# Here are the official MTP008 data sheet values:
1070#       Vs      R1,R3   R2,R4    Vin
1071#      +12.0    28000   10000   +3.16
1072#      -12.0   232000   56000   +0.96
1073#       -5.0   120000   56000   +1.20
1074
1075    label in0 "VCore1"
1076    label in1 "+3.3V"
1077    label in2 "+12V"
1078    label in3 "Vcore2"
1079    ignore in4
1080    label in5 "-12V"
1081    label in6 "Vtt"
1082
1083    label fan1 "CPU1 Fan"
1084    label fan2 "CPU2 Fan"
1085    label fan3 "fan3"
1086
1087    label temp1 "CPU1 Temp"
1088    label temp2 "CPU2 Temp"
1089    ignore temp3
1090
1091    compute in2 @ * 38 / 10,            @ * 10 / 38
1092    compute in5 (@ * 36 - 118.61) / 7,  (118.61 + 7 * @) / 36
1093
1094# examples for temperature limits
1095#    set temp1_over 40
1096#    set temp1_hyst 37
1097#    set temp2_over 52
1098#    set temp2_hyst 47
1099#    set temp3_over 52
1100#    set temp3_hyst 47
1101
1102# End of standard mtp008 configuration
1103
1104# TYAN S2510 INFORMATION
1105# This motherboard has two mtp008's which are hooked up differently,
1106# so they must be configured separately.
1107# For this motherboard, COMMENT OUT the above mtp008 section and
1108# UNCOMMENT the following two sections.
1109#
1110#chip "mtp008-i2c-*-2c"
1111#    label in0 "VCore1"
1112#    set in0_min 1.60
1113#    set in0_max 1.80
1114#    label in1 "+3.3V"
1115#    label in2 "+12V"
1116#    label in3 "Vcore2"
1117#    set in3_min 1.60
1118#    set in3_max 1.80
1119#    ignore in4
1120#    label in5 "-12V"
1121#    label in6 "Vtt"
1122#    label fan1 "CPU1 Fan"
1123#    label fan2 "CPU2 Fan"
1124#    label fan3 "fan3"
1125#    label temp1 "CPU1 Temp"
1126#    label temp2 "CPU2 Temp"
1127#    ignore temp3
1128#    compute in2 @ * 38 / 10,           @ * 10 / 38
1129#    compute in5 (@ * 36 - 118.61) / 7, (118.61 + 7 * @) / 36
1130#
1131#chip "mtp008-i2c-*-2e"
1132#    ignore in0
1133#    label in1 "+3.3V"
1134#    ignore in2
1135#    label in3 "+5V"
1136#    set in3_min 4.50
1137#    set in3_max 5.50
1138#    ignore in4
1139#    label in5 "+3.3V"
1140#    ignore in6
1141#    label fan1 "fan4"
1142#    label fan2 "fan5"
1143#    label fan3 "fan6"
1144#    ignore temp1
1145#    label temp2 "MB Temp"
1146#    set temp2_over 52
1147#    set temp2_hyst 47
1148#    ignore temp3
1149
1150chip "adm1025-*" "ne1619-*"
1151
1152# The ADM1025 has integrated scaling resistors, rather
1153# than external resistors common to most sensor devices.
1154# These apply to the 6 voltage inputs in0-in5 (+2.5V, VCore,
1155# +3.3V, +5V, +12V, VCC). As the scaling is fixed inside
1156# the chip for these inputs, it is fairly certain that the
1157# motherboard connections match these labels, and that the
1158# driver computations are correct. Therefore they do not need to
1159# be overridden here.
1160
1161    label in0 "+2.5V"
1162    label in1 "VCore"
1163    label in2 "+3.3V"
1164    label in3 "+5V"
1165    label in4 "+12V"
1166    label in5 "VCC"
1167
1168# Tolerate a 5% deviance for CPU power-supply
1169    set in1_min vid * 0.95
1170    set in1_max vid * 1.05
1171# Tolerate a 10% deviance for other voltages
1172    set in0_min 2.5 * 0.90
1173    set in0_max 2.5 * 1.10
1174    set in2_min 3.3 * 0.90
1175    set in2_max 3.3 * 1.10
1176    set in3_min 5.0 * 0.90
1177    set in3_max 5.0 * 1.10
1178    set in4_min 12 * 0.90
1179    set in4_max 12 * 1.10
1180    set in5_min 3.3 * 0.90
1181    set in5_max 3.3 * 1.10
1182
1183# Depending on how your chipset is hardwired, you may or may not have
1184# +12V readings (will show as 0.0V if you don't have it).
1185#   ignore in4
1186
1187# VCC is the power-supply voltage of the ADM1025 chipset, generally
1188# redundant with +3.3V so you may want to hide it.
1189#   ignore in5
1190
1191# Adjust this if your vid is wrong; see doc/vid
1192    set vrm 9.0
1193
1194# Temperatures
1195    label temp1 "CPU Temp"
1196    label temp2 "M/B Temp"
1197    set temp1_low 10
1198    set temp1_high 60
1199    set temp2_low 10
1200    set temp2_high 45
1201
1202
1203chip "lm87-*"
1204#
1205# The LM87 has integrated scaling resistors, rather
1206# than external resistors common to most sensor devices.
1207# These apply to the first 6 voltage inputs in0-in5
1208# (+2.5, Vccp1, +3.3, +5, 12, +Vccp2). As the scaling is fixed inside
1209# the chip for these inputs, it is fairly certain that the
1210# motherboard connections match these labels, and that the
1211# driver computations are correct. Therefore they do not need to
1212# be overridden here.
1213#
1214# Note: AIN1 (-12?), AIN2 (-5?) and CPU2_temp require changing
1215# #defines in the driver and recompiling!!!
1216#
1217# This chip has non-standard entries in lib/chips.c so
1218# the feature names are quite different from other chips.
1219# For this chip, libsensors anticipates the correct labeling.
1220# This is great if it's correct but makes it a little more
1221# difficult if you want to change it.
1222#
1223# This may not have been a good idea, so it may be changed in the future.
1224# Here is an entry with everything commented out so you can
1225# uncomment the appropriate line if you want to change it.
1226#
1227# Warning - feature names starting with a number must be enclosed
1228# with double quotes.
1229#
1230# It is unlikely you will need to use the following 6 lines (see above)
1231#   label "2.5V" "xxx"
1232#   label Vccp1 "xxx"
1233#   label "3.3V" "xxx"
1234#   label "5V" "xxx"
1235#   label "12V" "xxx"
1236#   label Vccp2 "xxx"
1237
1238#   label fan1 "xxx"
1239#   label fan2 "xxx"
1240#   label temp1 "xxx"
1241#   label CPU_Temp "xxx"
1242#   label CPU2_Temp "xxx"
1243#
1244#   set AmbTemp_min xxx
1245#   set Vccp1_min xxx
1246#   set "3.3V_min" xxx
1247#   set "5V_min" xxx
1248#   set "12V_min" xxx
1249#   set Vccp2_min xxx
1250#
1251#   set AmbTemp_max xxx
1252#   set Vccp1_max xxx
1253#   set "3.3V_max" xxx
1254#   set "5V_max" xxx
1255#   set "12V_max" xxx
1256#   set Vccp2_max xxx
1257#
1258#   set fan1_div xxx
1259#   set fan2_div xxx
1260#   set fan1_min xxx
1261#   set fan2_min xxx
1262#   set temp1_min xxx
1263#   set temp1_max xxx
1264#   set temp2_min xxx
1265#   set temp2_max xxx
1266#   set temp3_min xxx
1267#   set temp3_max xxx
1268
1269# It is unlikely you will need to use the following 6 lines (see above)
1270#   compute "2.5V" xxx
1271#   compute Vccp1 xxx
1272#   compute "3.3V" xxx
1273#   compute "5V" xxx
1274#   compute "12V" xxx
1275#   compute Vccp2 xxx
1276
1277#   compute temp1 xxx
1278#   compute CPU_Temp xxx
1279#   compute CPU2_Temp xxx
1280
1281# LM87 AIN1 and AIN2 Section
1282# As described above, the driver must be recompiled to use either or
1283# both of these. -12 and -5 may be reversed on your board, this is
1284# just a guess, the datasheet gives no guidance.
1285#   label AIN1 "-12V"
1286#   label AIN2 "-5V"
1287#   set AIN1_min -12 * 0.95
1288#   set AIN2_min -5 * 0.95
1289#   set AIN1_max -12 * 1.05
1290#   set AIN2_max -5 * 0.95
1291#   compute AIN1 (7.50 * @) - 21.45  ,  (@ + 21.45) / 7.50
1292#   compute AIN2 (4.05 * @) - 10.07  ,  (@ + 10.07) / 4.05
1293
1294chip "adm9240-*" "ds1780-*" "lm81-*"
1295#
1296# These chips have non-standard entries in lib/chips.c so
1297# the feature names are quite different from other chips.
1298# For these chips, libsensors anticipates the correct labeling.
1299# This is great if it's correct but makes it a little more
1300# difficult if you want to change it.
1301#
1302# This may not have been a good idea, so it may be changed in the future.
1303# Here is an entry with everything commented out so you can
1304# uncomment the appropriate line if you want to change it.
1305#
1306# Warning - feature names starting with a number must be enclosed
1307# with double quotes.
1308#
1309#   label "2.5V" "xxx"
1310#   label Vccp1 "xxx"
1311#   label "3.3V" "xxx"
1312#   label "5V" "xxx"
1313#   label "12V" "xxx"
1314#   label Vccp2 "xxx"
1315#   label fan1 "xxx"
1316#   label fan2 "xxx"
1317#   label temp "xxx"
1318#
1319#   set Vccp1_min xxx
1320#   set "2.5V_min" xxx
1321#   set "3.3V_min" xxx
1322#   set "5V_min" xxx
1323#   set "12V_min" xxx
1324#   set Vccp2_min xxx
1325#
1326#   set Vccp1_max xxx
1327#   set "2.5V_max" xxx
1328#   set "3.3V_max" xxx
1329#   set "5V_max" xxx
1330#   set "12V_max" xxx
1331#   set Vccp2_max xxx
1332#
1333#   set fan1_div xxx
1334#   set fan2_div xxx
1335#   set fan1_min xxx
1336#   set fan2_min xxx
1337#   set temp1_hyst xxx
1338#   set temp1_over xxx
1339
1340#   compute "2.5V" xxx
1341#   compute Vccp1 xxx
1342#   compute "3.3V" xxx
1343#   compute "5V" xxx
1344#   compute "12V" xxx
1345#   compute Vccp2 xxx
1346#   compute temp xxx
1347
1348chip "adm1024-*"
1349#
1350# These settings work for me, adjust for your system
1351#
1352    label fan1 "CPU1 fan"
1353    label fan2 "CPU2 fan"
1354    label temp "SYS Temp"
1355    label temp1 "CPU2 Temp"
1356    label temp2 "CPU1 Temp"
1357    ignore "2.5V" # This register is also used for temp2
1358    ignore "Vccp1"
1359    ignore "Vccp2"
1360
1361
1362chip "it87-*"
1363
1364# The values below have been tested on Asus CUSI, CUM motherboards.
1365
1366# Voltage monitors as advised in the It8705 data sheet
1367
1368    label in0 "VCore 1"
1369    label in1 "VCore 2"
1370    label in2 "+3.3V"
1371    label in3 "+5V"
1372    label in4 "+12V"
1373    label in5 "-12V"
1374    label in6 "-5V"
1375    label in7 "Stdby"
1376    label in8 "VBat"
1377
1378    set in0_min 1.5 * 0.95
1379    set in0_max 1.5 * 1.05
1380    set in1_min 2.4
1381    set in1_max 2.6
1382    set in2_min 3.3 * 0.95
1383    set in2_max 3.3 * 1.05
1384    set in3_min 5.0 * 0.95
1385    set in3_max 5.0 * 1.05
1386    set in4_min 12 * 0.95
1387    set in4_max 12 * 1.05
1388    set in5_max -12 * 0.95
1389    set in5_min -12 * 1.05
1390    set in6_max -5 * 0.95
1391    set in6_min -5 * 1.05
1392    set in7_min 5 * 0.95
1393    set in7_max 5 * 1.05
1394    #the chip does not support in8 min/max
1395
1396    # vid is not monitored by IT8705F
1397    # and is not supported by driver at this time
1398    ignore  vid
1399
1400# Incubus Saturnus reports that the IT87 chip on Asus A7V8X-X seems
1401# to report the VCORE voltage approximately 0.05V higher than the board's
1402# BIOS does. Although it doesn't make much sense physically, uncommenting
1403# the next line should bring the readings in line with the BIOS' ones in
1404# this case.
1405# compute in0 -0.05+@ , @+0.05
1406
1407# If 3.3V reads 2X too high (Soyo Dragon and Asus A7V8X-X, for example),
1408# comment out following line.
1409    compute in2   2*@ , @/2
1410#
1411    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1412    compute in4 ((30/10) +1)*@  , @/((30/10) +1)
1413# For this family of chips the negative voltage equation is different from
1414# the lm78.  The chip uses two external resistor for scaling but one is
1415# tied to a positive reference voltage.  See ITE8705/12 datasheet (SIS950
1416# data sheet is wrong)
1417# Vs = (1 + Rin/Rf) * Vin - (Rin/Rf) * Vref.
1418# Vref = 4.096 volts, Vin is voltage measured, Vs is actual voltage.
1419
1420# The next two are negative voltages (-12 and -5).
1421# The following formulas must be used. Unfortunately the datasheet
1422# does not give recommendations for Rin, Rf, but we can back into
1423# them based on a nominal +2V input to the chip, together with a 4.096V Vref.
1424# Formula:
1425#    actual V = (Vmeasured * (1 + Rin/Rf)) - (Vref * (Rin/Rf))
1426#    For -12V input use Rin/Rf = 6.68
1427#    For -5V input use Rin/Rf = 3.33
1428# Then you can convert the forumula to a standard form like:
1429    compute in5 (7.67 * @) - 27.36  ,  (@ + 27.36) / 7.67
1430    compute in6 (4.33 * @) - 13.64  ,  (@ + 13.64) / 4.33
1431#
1432# this much simpler version is reported to work for a
1433# Elite Group K7S5A board
1434#
1435#   compute in5 -(36/10)*@, -@/(36/10)
1436#   compute in6 -(56/10)*@, -@/(56/10)
1437#
1438    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1439
1440# Temperature
1441#
1442# Important - if your temperature readings are completely whacky
1443# you probably need to change the sensor type.
1444# Adujst and uncomment the appropriate lines below.
1445# The old method (modprobe it87 temp_type=0xXX) is no longer supported.
1446#
1447# 2 = thermistor; 3 = thermal diode; 0 = unused
1448#   set sensor1 3
1449#   set sensor2 3
1450#   set sensor3 3
1451# If a given sensor isn't used, you will probably want to ignore it
1452# (see ignore statement right below).
1453
1454    label temp1       "M/B Temp"
1455    set   temp1_over  40
1456    set   temp1_low   15
1457    label temp2       "CPU Temp"
1458    set   temp2_over  45
1459    set   temp2_low   15
1460#   ignore temp3
1461    label temp3       "Temp3"
1462    set   temp3_over  45
1463    set   temp3_low   15
1464
1465# The A7V8X-X has temperatures inverted, and needs a conversion for
1466# CPU temp. Thanks to Preben Randhol for the formula.
1467#   label temp1       "CPU Temp"
1468#   label temp2       "M/B Temp"
1469#   compute temp1     (-15.096+1.4893*@), (@+15.096)/1.4893
1470
1471# The A7V600 also has temperatures inverted, and needs a different
1472# conversion for CPU temp. Thanks to Dariusz Jaszkowski for the formula.
1473#   label temp1       "CPU Temp"
1474#   label temp2       "M/B Temp"
1475#   compute temp1     (@+128)/3, (3*@-128)
1476
1477# Fans
1478    set fan1_min 0
1479    set fan2_min 3000
1480#   ignore fan3
1481    set fan3_min 3000
1482
1483# The following is for the Inside Technologies 786LCD which uses either a
1484# IT8705F or a SIS950 for monitoring with the SIS630.
1485# You will need to load the it87 module as follows to select the correct
1486# temperature sensor type.
1487# modprobe it87 temp_type=0x31
1488# The sensors-detect program reports lm78 and a sis5595 and lists the it87 as
1489# a misdetect.  Don't do the modprobe for the lm78 or sis5595 as suggested.
1490#
1491# delete or comment out above it87 section and uncomment the following.
1492#chip "it87-*"
1493#    label in0 "VCore 1"
1494#    label in1 "VCore 2"
1495#    label in2 "+3.3V"
1496#    label in3 "+5V"
1497#    label in4 "+12V"
1498#    label in5 "3.3 Stdby"
1499#    label in6 "-12V"
1500#    label in7 "Stdby"
1501#    label in8 "VBat"
1502    # in0 will depend on your processor VID value, set to voltage specified in
1503    # bios setup screen
1504#    set in0_min 1.7 * 0.95
1505#    set in0_max 1.7 * 1.05
1506#    set in1_min 2.4
1507#    set in1_max 2.6
1508#    set in2_min 3.3 * 0.95
1509#    set in2_max 3.3 * 1.05
1510#    set in3_min 5.0 * 0.95
1511#    set in3_max 5.0 * 1.05
1512    # +- 12V are very poor tolerance on this board. Verified with voltmeter
1513#    set in4_min 12 * 0.90
1514#    set in4_max 12 * 1.10
1515#    set in5_min 3.3 * 0.95
1516#    set in5_max 3.3 * 1.05
1517#    set in6_max -12 * 0.90
1518#    set in6_min -12 * 1.10
1519#    set in7_min 5 * 0.95
1520#    set in7_max 5 * 1.05
1521    # vid not monitored by IT8705F
1522#    ignore  vid
1523
1524#    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1525#    compute in4 ((30/10) +1)*@  , @/((30/10) +1)
1526#    compute in6 (1+232/56)*@ - 4.096*232/56, (@ + 4.096*232/56)/(1+232/56)
1527#    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1528    # Temperature
1529#    label temp1       "CPU Temp"
1530#    ignore temp2
1531#    ignore temp3
1532    # Fans
1533#    set fan1_min 3000
1534#    ignore fan2
1535#    ignore fan3
1536
1537
1538chip "fscpos-*"
1539# Fujitsu-Siemens Poseidon chip
1540
1541# Temperature
1542
1543    label temp1       "Temp1/CPU"
1544    label temp2       "Temp2/MB"
1545    label temp3       "Temp2/AUX"
1546
1547# Fans
1548
1549    label  fan1       "Fan1"
1550    ignore  fan2
1551    ignore  fan3
1552
1553# Voltage
1554
1555    label volt12      "+12V"
1556    label volt5       "+5V"
1557    label voltbatt    "+3.3V"
1558
1559
1560chip "fscscy-*"
1561# Fujitsu-Siemens Scylla chip
1562
1563# Temperature
1564
1565    label temp1       "Temp1/CPU0"
1566    label temp2       "Temp2/CPU1"
1567    label temp3       "Temp3/MB"
1568    label temp4       "Temp4/AUX"
1569
1570# Fans
1571
1572    label  fan1       "Fan1/CPU0"
1573    label  fan2       "Fan2/CPU0"
1574    label  fan3       "Fan3"
1575    label  fan4       "Fan4"
1576    label  fan5       "Fan5"
1577    label  fan6       "Fan6"
1578
1579# Voltage
1580
1581    label volt12      "+12V"
1582    label volt5       "+5V"
1583    label voltbatt    "+3.3V"
1584
1585
1586chip "fscher-*"
1587# Fujitsu-Siemens Hermes chip
1588
1589# Temperature
1590    label temp1       "Temp1/CPU"
1591    label temp2       "Temp2/MB"
1592    label temp3       "Temp3/AUX"
1593
1594# Fans
1595    label fan1        "Fan1/PS"
1596    label fan2        "Fan2/CPU"
1597    label fan3        "Fan3/AUX"
1598
1599# Voltage
1600    label in0         "+12V"
1601    label in1         "+5V"
1602    label in2         "Battery"
1603
1604# Compute Voltages using mainboard dependant MRO-values
1605# (see doc/chips/fscher)
1606#                           M    R             O               O                  M    R
1607    compute in0       (@ * (49 * 33) / 255) + (0 / 100), (@ - (0 / 100)) * 255 / (49 * 33)
1608    compute in1       (@ * (20 * 33) / 255) + (0 / 100), (@ - (0 / 100)) * 255 / (20 * 33)
1609    compute in2       (@ * (10 * 33) / 255) + (0 / 100), (@ - (0 / 100)) * 255 / (10 * 33)
1610
1611# Read documentation before enabling pwm settings (see doc/chips/fscher)
1612# WARNING: IMPROPER VALUES MAY DAMAGE YOUR SYSTEM DUE TO OVERHEATING!
1613
1614# Allow fans to turn off
1615#    set pwm1          0
1616#    set pwm2          0
1617#    set pwm3          0
1618
1619# Min cooling
1620#    set pwm1          2
1621#    set pwm2          1
1622#    set pwm3          1
1623
1624# Max cooling
1625#    set pwm1          255
1626#    set pwm2          255
1627#    set pwm3          255
1628
1629
1630chip "pcf8591-*"
1631#
1632#    values for the Philips PCF8591 chip
1633#
1634# Analog inputs
1635
1636   ignore ain_conf
1637# Since Linux 2.6, input configuration is set as module parameter,
1638# so the line below is for older kernels only.
1639#  set    ain_conf    0
1640
1641# You may discard ch2 and ch3 if you don't use them (depends on the input
1642# configuration)
1643#  ignore ch2
1644#  ignore ch3
1645
1646   label  ch0         "Chan. 0"
1647   label  ch1         "Chan. 1"
1648   label  ch2         "Chan. 2"
1649   label  ch3         "Chan. 3"
1650
1651# The driver assumes Vref = 2.56V and Agnd = 0V. If it doesn't match
1652# your hardware, you have to use compute lines. The example below is
1653# correct for Vref = 5.0V and Agnd = 0V.
1654#  compute ch0 (@ * 500 / 256), (@ * 256 / 500)
1655#  compute ch1 (@ * 500 / 256), (@ * 256 / 500)
1656#  compute ch2 (@ * 500 / 256), (@ * 256 / 500)
1657#  compute ch3 (@ * 500 / 256), (@ * 256 / 500)
1658
1659# Analog output
1660
1661   ignore aout_enable
1662   set    aout_enable 1
1663   label  aout        "Output"
1664   set    aout        0
1665
1666chip "adm1021-*" "adm1023-*" "max1617-*" "max1617a-*" "thmc10-*" "lm84-*" "gl523sm-*" "mc1066-*"
1667
1668   label temp           "Board"
1669   label remote_temp    "CPU"
1670#   set temp_low                40
1671#   set temp_over               70
1672#   set remote_temp_low         40
1673#   set remote_temp_over        70
1674
1675chip "lm83-*"
1676
1677   label temp1 "M/B Temp"
1678   label temp2 "D1 Temp"
1679   label temp3 "CPU Temp"
1680   label temp4 "D3 Temp"
1681
1682# ignore D1 and/or D3 readings if not used
1683#   ignore temp2
1684#   ignore temp4
1685
1686# change high limits to fit your needs
1687#   set temp1_high 55
1688#   set temp2_high 60
1689#   set temp3_high 65
1690#   set temp4_high 60
1691
1692# change critical limit to fit your needs
1693# only one limit for all four temperatures
1694# should be higher than each of the high limits above
1695#   set tcrit 85
1696
1697chip "lm90-*" "adm1032-*"
1698
1699   label temp1 "M/B Temp"
1700   label temp2 "CPU Temp"
1701   label tcrit1 "M/B Crit"
1702   label tcrit2 "CPU Crit"
1703
1704# change high and low limits to fit your needs
1705#   set temp1_low  10
1706#   set temp1_high 55
1707#   set temp2_low  10
1708#   set temp2_high 66
1709
1710# change critical limits to fit your needs
1711# should be higher than the corresponding high limit above
1712#   set tcrit1 75
1713#   set tcrit2 85
1714
1715# change the hysteresis values (to critical limits) to fit your needs
1716# note #1: hyst2 will be automatically set with the same delta
1717# note #2: the internal register, which stores a single, relative value
1718# for both channels, cannot hold values greater than 31, so the delta
1719# between critical temperatures and respective absolute hysteresis can
1720# never exceed this value
1721#   set hyst1 70
1722
1723chip "lm99-*"
1724
1725   label temp1 "G/C Temp"
1726   label temp2 "GPU Temp"
1727   label tcrit1 "G/C Crit"
1728   label tcrit2 "GPU Crit"
1729
1730# note #1: only the LM99 needs this; for a LM89, comment the compute line
1731# out
1732# note #2: there is no way for us to differenciate between a LM89 and a
1733# LM99; you have to know what you have; LM99 are frequently found on
1734# graphics cards, most notably nVidia ones
1735   compute temp2 @+16, @-16
1736
1737# change high and low limits to fit your needs
1738#   set temp1_low  10
1739#   set temp1_high 90
1740#   set temp2_low  10
1741#   set temp2_high 100
1742
1743# change critical limits to fit your needs
1744# should be higher than the corresponding high limit above
1745#   set tcrit1 100
1746#   set tcrit2 110
1747
1748# change the hysteresis values (to critical limits) to fit your needs
1749# note #1: hyst2 will be automatically set with the same delta
1750# note #2: the internal register, which stores a single, relative value
1751# for both channels, cannot hold values greater than 31, so the delta
1752# between critical temperatures and respective absolute hysteresis can
1753# never exceed this value
1754#   set hyst1 105
1755
1756chip "vt1211-*" "vt8231-*"
1757#
1758# temp1 and in6 are not implemented in vt1211 / vt8231
1759#
1760#                                                       1 for temp, 0 for volt.
1761#       Sensor          Voltage Mode    Temp Mode       config bit
1762#       --------        ------------    ---------       --------------
1763#       Reading 1                       temp3
1764#       UCH1/Reading2   in0             temp2           0x04 (4)
1765#       UCH2            in1             temp4           0x08 (8)
1766#       UCH3            in2             temp5           0x10 (16)
1767#       UCH4            in3             temp6           0x20 (32)
1768#       UCH5            in4             temp7           0x40 (64)
1769#       3.3V            in5
1770#
1771# set uch1-2 to temp mode, uch3-5 to voltage mode
1772#
1773    set config 12
1774    ignore in0
1775    ignore in1
1776    ignore temp5
1777    ignore temp6
1778    ignore temp7
1779
1780# IMPORTANT: If you get "ERROR: Can't get TEMPX data!" from "sensors",
1781# where X is 2, 4, 5, 6 or 7, although you have this UCH set to
1782# temperature, this generally means that this UCH isn't (physically)
1783# used for temperature, so you should add an ignore statement for tempX
1784# and change the "config" value to reflect the fact that this UCH is
1785# probably used for voltage.
1786
1787#   label in0 "unused"
1788#   label in1 "unused"
1789    label in2 "VCore1"
1790    label in3 "+5V"
1791    label in4 "+12V"
1792    label in5 "+3.3V"
1793
1794    label temp2 "MB1 Temp"
1795    label temp3 "Proc Temp"
1796    label temp4 "MB2 Temp"
1797#
1798#   All voltage calculations have the form
1799#       ((@ * 100) - 3) / (K * 95.8), (@ * K * 0.958) + .03
1800#   where K = R2 / (R1 + R2).
1801#   Use the following K values based on input voltage.
1802#   This of course assumes the mobo has the resistors
1803#   recommended by Via in the datasheet.
1804#       Voltage                 K
1805#       VCore                   1.0
1806#       2.5                     0.8333
1807#       3.3 (in5 internal)      0.6296
1808#       3.5 (3.3V ext.)         0.5952
1809#       5.0                     0.4167
1810#       12.0                    0.1754
1811#
1812#   compute in0 ((@ * 100) - 3) / (0.5952 * 95.8), (@ * 0.5952 * 0.958) + .03
1813#   compute in1 ((@ * 100) - 3) / (0.8333 * 95.8), (@ * 0.8333 * 0.958) + .03
1814    compute in2 ((@ * 100) - 3) / (0.5952 * 95.8), (@ * 0.5952 * 0.958) + .03
1815    compute in3 ((@ * 100) - 3) / (0.4167 * 95.8), (@ * 0.4167 * 0.958) + .03
1816    compute in4 ((@ * 100) - 3) / (0.1754 * 95.8), (@ * 0.1754 * 0.958) + .03
1817    compute in5 ((@ * 100) - 3) / (0.6296 * 95.8), (@ * 0.6296 * 0.958) + .03
1818
1819    set vrm 9.1
1820#   set in0_min 2.5 * 0.95
1821#   set in0_max 2.5 * 1.05
1822#   set in1_min 2.5 * 0.95
1823#   set in1_max 2.5 * 1.05
1824    set in2_min vid * 0.97
1825    set in2_max vid * 1.03
1826    set in3_min 5.0 * 0.95
1827    set in3_max 5.0 * 1.05
1828    set in4_min 12.0 * 0.90
1829    set in4_max 12.0 * 1.10
1830    set in5_min 3.3 * 0.95
1831    set in5_max 3.3 * 1.05
1832
1833    compute temp3  (@ - 65) / 0.9686,  (@ * 0.9686) + 65
1834#
1835# thermistor calculations.
1836# 3435 is the thermistor beta.
1837# '^' is the e**x operator; '`' is the ln(x) operator
1838# (valid in library version 1.4.0 / lm_sensors 2.7.1 or higher)
1839# This assumes that the thermistor forms a resistor divider with a resistor
1840# equal to its nominal value @ 25C. If not, the math gets even harder.
1841#
1842    compute temp2  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
1843                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
1844    compute temp4  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
1845                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
1846    compute temp5  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
1847                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
1848    compute temp6  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
1849                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
1850    compute temp7  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
1851                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
1852
1853    set temp2_hyst 40
1854    set temp2_over 45
1855    set temp3_hyst 60
1856    set temp3_over 65
1857    set temp4_hyst 40
1858    set temp4_over 45
1859
1860    set fan1_min 3000
1861    set fan2_min 3000
1862
1863chip "bmc-*"
1864#
1865# You should not need compute lines here, the driver will
1866# do all the conversions.
1867# For label lines, copy from syslog/dmesg when the bmcsensors
1868# module is inserted.
1869#
1870# for example:
1871# label temp1 "Ambient Temp"
1872
1873
1874
1875#
1876chip "smsc47m1-*"
1877
1878    set fan1_min 3000
1879    set fan2_min 3000
1880
1881#
1882# This example was tested vs. Asus P4S333
1883#
1884chip "asb100-*"
1885    set vrm 9.0
1886
1887    label in0 "VCore 1"
1888    set in0_min vid * 0.95
1889    set in0_max vid * 1.05
1890
1891    label in1 "VCore 2"
1892    ignore in1
1893    set in1_min vid * 0.95
1894    set in1_max vid * 1.05
1895
1896    label in2 "+3.3V"
1897    set in2_min 3.3 * 0.95
1898    set in2_max 3.3 * 1.05
1899
1900    label in3 "+5V"
1901    compute in3 1.68 * @ ,  @ / 1.68
1902    set in3_min 5.0 * 0.95
1903    set in3_max 5.0 * 1.05
1904
1905    label in4 "+12V"
1906    compute in4 3.8 * @ , @ / 3.8
1907    set in4_min 12  * 0.90
1908    set in4_max 12  * 1.10
1909
1910    label in5 "-12V (reserved)"
1911    #ignore in5
1912    compute in5 -@ * 3.97 ,  -@ / 3.97
1913    set in5_max -12 * 0.90
1914    set in5_min -12 * 1.10
1915
1916    label in6 "-5V (reserved)"
1917    #ignore in6
1918    compute in6 -@ * 1.666 , -@ / 1.666
1919    set in6_max -5  * 0.95
1920    set in6_min -5  * 1.05
1921
1922    label temp1 "M/B Temp"
1923    set temp1_over 45
1924    set temp1_hyst 40
1925
1926    label temp2 "CPU Temp (Intel)"
1927    #ignore temp2
1928    set temp2_over 60
1929    set temp2_hyst 50
1930
1931    # PWRTMP connector on P4S333, for external sensor
1932    label temp3 "Power Temp"
1933    #ignore temp3
1934    set temp3_over 45
1935    set temp3_hyst 40
1936
1937
1938    # Used for Athlon diode, ignore for P4S333
1939    label temp4 "CPU Temp (AMD)"
1940    set temp4_over 60
1941    set temp4_hyst 50
1942    #ignore temp4
1943
1944    label fan1 "CPU Fan"
1945    set fan1_div 4
1946    set fan1_min 2000
1947
1948    label fan2 "Chassis Fan"
1949    set fan2_div 2
1950    set fan2_min 4000
1951
1952    label fan3 "Power Fan"
1953    set fan3_div 2
1954    set fan3_min 4000
1955
Note: See TracBrowser for help on using the browser.