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

Revision 2964, 68.0 KB (checked in by khali, 8 years ago)

Asus TUSL2-C comment update.

  • 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# 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
272chip "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
364chip "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
380chip "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
437chip "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
510chip "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
564chip "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
650chip "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.
729chip "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
796chip "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
890chip "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
928chip "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
970chip "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
1044chip "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
1065chip "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
1075chip "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
1085chip "maxilife-as-*"
1086
1087   ignore temp1
1088   ignore temp3
1089
1090   label vid2   "Vcpu"
1091   ignore vid3
1092   ignore vid4
1093
1094
1095chip "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
1116chip "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
1200chip "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"
1260#    label in2 "+12V"
1261#    label in3 "Vcore2"
1262#    set in3_min 1.60
1263#    set in3_max 1.80
1264#    ignore in4
1265#    label in5 "-12V"
1266#    label in6 "Vtt"
1267#    label fan1 "CPU1 Fan"
1268#    label fan2 "CPU2 Fan"
1269#    label fan3 "fan3"
1270#    label temp1 "CPU1 Temp"
1271#    label temp2 "CPU2 Temp"
1272#    ignore temp3
1273#    compute in2 @ * 38 / 10,           @ * 10 / 38
1274#    compute in5 (@ * 36 - 118.61) / 7, (118.61 + 7 * @) / 36
1275#
1276#chip "mtp008-i2c-*-2e"
1277#    ignore in0
1278#    label in1 "+3.3V"
1279#    ignore in2
1280#    label in3 "+5V"
1281#    set in3_min 4.50
1282#    set in3_max 5.50
1283#    ignore in4
1284#    label in5 "+3.3V"
1285#    ignore in6
1286#    label fan1 "fan4"
1287#    label fan2 "fan5"
1288#    label fan3 "fan6"
1289#    ignore temp1
1290#    label temp2 "MB Temp"
1291#    set temp2_over 52
1292#    set temp2_hyst 47
1293#    ignore temp3
1294
1295chip "adm1025-*" "ne1619-*"
1296
1297# The ADM1025 has integrated scaling resistors, rather
1298# than external resistors common to most sensor devices.
1299# These apply to the 6 voltage inputs in0-in5 (+2.5V, VCore,
1300# +3.3V, +5V, +12V, VCC). As the scaling is fixed inside
1301# the chip for these inputs, it is fairly certain that the
1302# motherboard connections match these labels, and that the
1303# driver computations are correct. Therefore they do not need to
1304# be overridden here.
1305
1306    label in0 "+2.5V"
1307    label in1 "VCore"
1308    label in2 "+3.3V"
1309    label in3 "+5V"
1310    label in4 "+12V"
1311    label in5 "VCC"
1312
1313# Adjust this if your vid is wrong; see doc/vid
1314#   set vrm 9.0
1315
1316# Tolerate a 5% deviance for CPU power-supply
1317    set in1_min vid * 0.95
1318    set in1_max vid * 1.05
1319# Tolerate a 10% deviance for other voltages
1320    set in0_min 2.5 * 0.90
1321    set in0_max 2.5 * 1.10
1322    set in2_min 3.3 * 0.90
1323    set in2_max 3.3 * 1.10
1324    set in3_min 5.0 * 0.90
1325    set in3_max 5.0 * 1.10
1326    set in4_min 12 * 0.90
1327    set in4_max 12 * 1.10
1328    set in5_min 3.3 * 0.90
1329    set in5_max 3.3 * 1.10
1330
1331# Depending on how your chipset is hardwired, you may or may not have
1332# +12V readings (will show as 0.0V if you don't have it).
1333#   ignore in4
1334
1335# VCC is the power-supply voltage of the ADM1025 chipset, generally
1336# redundant with +3.3V so you may want to hide it.
1337#   ignore in5
1338
1339# Temperatures
1340    label temp1 "CPU Temp"
1341    label temp2 "M/B Temp"
1342    set temp1_low 10
1343    set temp1_high 60
1344    set temp2_low 10
1345    set temp2_high 45
1346
1347
1348chip "lm87-*"
1349#
1350# The LM87 has integrated scaling resistors, rather
1351# than external resistors common to most sensor devices.
1352# These apply to the first 6 voltage inputs in0-in5
1353# (+2.5, Vccp1, +3.3, +5, 12, +Vccp2). As the scaling is fixed inside
1354# the chip for these inputs, it is fairly certain that the
1355# motherboard connections match these labels, and that the
1356# driver computations are correct. Therefore they do not need to
1357# be overridden here.
1358#
1359# Note: AIN1 (-12?), AIN2 (-5?) and temp3 require changing
1360# #defines in the driver and recompiling!!!
1361# This does not apply to the Linux 2.6 driver.
1362#
1363# This chip has non-standard entries in lib/chips.c so
1364# the feature names are quite different from other chips.
1365# For this chip, libsensors anticipates the correct labeling.
1366# This is great if it's correct but makes it a little more
1367# difficult if you want to change it.
1368#
1369# This may not have been a good idea, so it may be changed in the future.
1370# Here is an entry with everything commented out so you can
1371# uncomment the appropriate line if you want to change it.
1372#
1373# Warning - feature names starting with a number must be enclosed
1374# with double quotes.
1375
1376   label "2.5V"  "+2.5V"
1377   label Vccp1   "VCore"
1378   label "3.3V"  "+3.3V"
1379   label "5V"    "+5V"
1380   label "12V"   "+12V"
1381#   label Vccp2   "VCore2"
1382
1383   label fan1 "CPU Fan"
1384#   label fan2 "Case Fan"
1385   label temp1 "M/B Temp"
1386   label CPU_Temp "CPU Temp"
1387#   label temp3 "AUX Temp"
1388
1389   set Vccp1_min    vid * 0.95
1390   set Vccp1_max    vid * 1.05
1391   set "3.3V_min"   3.3 * 0.92
1392   set "3.3V_max"   3.3 * 1.08
1393   set "5V_min"       5 * 0.92
1394   set "5V_max"       5 * 1.08
1395   set "12V_min"     12 * 0.90
1396   set "12V_max"     12 * 1.10
1397
1398# These ones are mutually exclusive with temp3. If you have temp3,
1399# comment out these lines as they will trigger errors on "sensors -s".
1400   set "2.5V_min"   2.5 * 0.92
1401   set "2.5V_max"   2.5 * 1.08
1402   set Vccp2_min    vid * 0.95
1403   set Vccp2_max    vid * 1.05
1404
1405# Increase fan clock dividers if your fans read 0 RPM while you know
1406# they are connected and running.
1407#   set fan1_div 4
1408#   set fan2_div 4
1409
1410   set fan1_min 3000
1411   set fan2_min 3000
1412
1413   set temp1_min   5
1414   set temp1_max  65
1415   set temp2_min   5
1416   set temp2_max  70
1417
1418# Uncomment if you actually have temp3 (which means you don't have 2.5V
1419# nor Vccp2, as they are mutually exclusive).
1420#   set temp3_min   5
1421#   set temp3_max  70
1422
1423# LM87 AIN1 and AIN2 Section
1424# As described above, the driver must be recompiled to use either or
1425# both of these. -12 and -5 may be reversed on your board, this is
1426# just a guess, the datasheet gives no guidance.
1427# Note that the Linux 2.6 driver needs no recompilation, it'll read the
1428# configuration from the chip.
1429#   label AIN1 "-12V"
1430#   label AIN2 "-5V"
1431#   set AIN1_min -12 * 0.95
1432#   set AIN2_min -5 * 0.95
1433#   set AIN1_max -12 * 1.05
1434#   set AIN2_max -5 * 1.05
1435#   compute AIN1 (7.50 * @) - 21.45  ,  (@ + 21.45) / 7.50
1436#   compute AIN2 (4.05 * @) - 10.07  ,  (@ + 10.07) / 4.05
1437
1438chip "adm9240-*" "ds1780-*" "lm81-*"
1439#
1440# These chips have non-standard entries in lib/chips.c so
1441# the feature names are quite different from other chips.
1442# For these chips, libsensors anticipates the correct labeling.
1443# This is great if it's correct but makes it a little more
1444# difficult if you want to change it.
1445#
1446# This may not have been a good idea, so it may be changed in the future.
1447# Here is an entry with everything commented out so you can
1448# uncomment the appropriate line if you want to change it.
1449#
1450# Warning - feature names starting with a number must be enclosed
1451# with double quotes.
1452#
1453#   label "2.5V" "xxx"
1454#   label Vccp1 "xxx"
1455#   label "3.3V" "xxx"
1456#   label "5V" "xxx"
1457#   label "12V" "xxx"
1458#   label Vccp2 "xxx"
1459#   label fan1 "xxx"
1460#   label fan2 "xxx"
1461#   label temp "xxx"
1462#
1463#   set Vccp1_min xxx
1464#   set "2.5V_min" xxx
1465#   set "3.3V_min" xxx
1466#   set "5V_min" xxx
1467#   set "12V_min" xxx
1468#   set Vccp2_min xxx
1469#
1470#   set Vccp1_max xxx
1471#   set "2.5V_max" xxx
1472#   set "3.3V_max" xxx
1473#   set "5V_max" xxx
1474#   set "12V_max" xxx
1475#   set Vccp2_max xxx
1476#
1477#   set fan1_div xxx
1478#   set fan2_div xxx
1479#   set fan1_min xxx
1480#   set fan2_min xxx
1481#   set temp1_hyst xxx
1482#   set temp1_over xxx
1483
1484#   compute "2.5V" xxx
1485#   compute Vccp1 xxx
1486#   compute "3.3V" xxx
1487#   compute "5V" xxx
1488#   compute "12V" xxx
1489#   compute Vccp2 xxx
1490#   compute temp xxx
1491
1492chip "adm1024-*"
1493#
1494# These settings work for me, adjust for your system
1495#
1496    label fan1 "CPU1 fan"
1497    label fan2 "CPU2 fan"
1498    label temp "SYS Temp"
1499    label temp1 "CPU2 Temp"
1500    label temp2 "CPU1 Temp"
1501    ignore "2.5V" # This register is also used for temp2
1502    ignore "Vccp1"
1503    ignore "Vccp2"
1504
1505
1506chip "it87-*" "it8712-*"
1507
1508# The values below have been tested on Asus CUSI, CUM motherboards.
1509
1510# Voltage monitors as advised in the It8705 data sheet
1511
1512    label in0 "VCore 1"
1513    label in1 "VCore 2"
1514    label in2 "+3.3V"
1515    label in3 "+5V"
1516    label in4 "+12V"
1517    label in5 "-12V"
1518    label in6 "-5V"
1519    label in7 "Stdby"
1520    label in8 "VBat"
1521
1522    # vid is not monitored by IT8705F
1523    # comment out if you have IT8712
1524    ignore  vid
1525
1526# Incubus Saturnus reports that the IT87 chip on Asus A7V8X-X seems
1527# to report the VCORE voltage approximately 0.05V higher than the board's
1528# BIOS does. Although it doesn't make much sense physically, uncommenting
1529# the next line should bring the readings in line with the BIOS' ones in
1530# this case.
1531# compute in0 -0.05+@ , @+0.05
1532
1533# If 3.3V reads 2X too high (Soyo Dragon and Asus A7V8X-X, for example),
1534# comment out following line.
1535    compute in2   2*@ , @/2
1536#
1537    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1538    compute in4 ((30/10) +1)*@  , @/((30/10) +1)
1539# For this family of chips the negative voltage equation is different from
1540# the lm78.  The chip uses two external resistor for scaling but one is
1541# tied to a positive reference voltage.  See ITE8705/12 datasheet (SIS950
1542# data sheet is wrong)
1543# Vs = (1 + Rin/Rf) * Vin - (Rin/Rf) * Vref.
1544# Vref = 4.096 volts, Vin is voltage measured, Vs is actual voltage.
1545
1546# The next two are negative voltages (-12 and -5).
1547# The following formulas must be used. Unfortunately the datasheet
1548# does not give recommendations for Rin, Rf, but we can back into
1549# them based on a nominal +2V input to the chip, together with a 4.096V Vref.
1550# Formula:
1551#    actual V = (Vmeasured * (1 + Rin/Rf)) - (Vref * (Rin/Rf))
1552#    For -12V input use Rin/Rf = 6.68
1553#    For -5V input use Rin/Rf = 3.33
1554# Then you can convert the forumula to a standard form like:
1555    compute in5 (7.67 * @) - 27.36  ,  (@ + 27.36) / 7.67
1556    compute in6 (4.33 * @) - 13.64  ,  (@ + 13.64) / 4.33
1557#
1558# this much simpler version is reported to work for a
1559# Elite Group K7S5A board
1560#
1561#   compute in5 -(36/10)*@, -@/(36/10)
1562#   compute in6 -(56/10)*@, -@/(56/10)
1563#
1564    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1565
1566    set in0_min 1.5 * 0.95
1567    set in0_max 1.5 * 1.05
1568    set in1_min 2.4
1569    set in1_max 2.6
1570    set in2_min 3.3 * 0.95
1571    set in2_max 3.3 * 1.05
1572    set in3_min 5.0 * 0.95
1573    set in3_max 5.0 * 1.05
1574    set in4_min 12 * 0.95
1575    set in4_max 12 * 1.05
1576    set in5_max -12 * 0.95
1577    set in5_min -12 * 1.05
1578    set in6_max -5 * 0.95
1579    set in6_min -5 * 1.05
1580    set in7_min 5 * 0.95
1581    set in7_max 5 * 1.05
1582    #the chip does not support in8 min/max
1583
1584# Temperature
1585#
1586# Important - if your temperature readings are completely whacky
1587# you probably need to change the sensor type.
1588# Adujst and uncomment the appropriate lines below.
1589# The old method (modprobe it87 temp_type=0xXX) is no longer supported.
1590#
1591# 2 = thermistor; 3 = thermal diode; 0 = unused
1592#   set sensor1 3
1593#   set sensor2 3
1594#   set sensor3 3
1595# If a given sensor isn't used, you will probably want to ignore it
1596# (see ignore statement right below).
1597
1598    label temp1       "M/B Temp"
1599    set   temp1_over  40
1600    set   temp1_low   15
1601    label temp2       "CPU Temp"
1602    set   temp2_over  45
1603    set   temp2_low   15
1604#   ignore temp3
1605    label temp3       "Temp3"
1606    set   temp3_over  45
1607    set   temp3_low   15
1608
1609# The A7V8X-X has temperatures inverted, and needs a conversion for
1610# CPU temp. Thanks to Preben Randhol for the formula.
1611#   label temp1       "CPU Temp"
1612#   label temp2       "M/B Temp"
1613#   compute temp1     (-15.096+1.4893*@), (@+15.096)/1.4893
1614
1615# The A7V600 also has temperatures inverted, and needs a different
1616# conversion for CPU temp. Thanks to Dariusz Jaszkowski for the formula.
1617#   label temp1       "CPU Temp"
1618#   label temp2       "M/B Temp"
1619#   compute temp1     (@+128)/3, (3*@-128)
1620
1621# Fans
1622    set fan1_min 0
1623    set fan2_min 3000
1624#   ignore fan3
1625    set fan3_min 3000
1626
1627# The following is for the Inside Technologies 786LCD which uses either a
1628# IT8705F or a SIS950 for monitoring with the SIS630.
1629# You will need to load the it87 module as follows to select the correct
1630# temperature sensor type.
1631# modprobe it87 temp_type=0x31
1632# The sensors-detect program reports lm78 and a sis5595 and lists the it87 as
1633# a misdetect.  Don't do the modprobe for the lm78 or sis5595 as suggested.
1634#
1635# delete or comment out above it87 section and uncomment the following.
1636#chip "it87-*"
1637#    label in0 "VCore 1"
1638#    label in1 "VCore 2"
1639#    label in2 "+3.3V"
1640#    label in3 "+5V"
1641#    label in4 "+12V"
1642#    label in5 "3.3 Stdby"
1643#    label in6 "-12V"
1644#    label in7 "Stdby"
1645#    label in8 "VBat"
1646    # in0 will depend on your processor VID value, set to voltage specified in
1647    # bios setup screen
1648#    set in0_min 1.7 * 0.95
1649#    set in0_max 1.7 * 1.05
1650#    set in1_min 2.4
1651#    set in1_max 2.6
1652#    set in2_min 3.3 * 0.95
1653#    set in2_max 3.3 * 1.05
1654#    set in3_min 5.0 * 0.95
1655#    set in3_max 5.0 * 1.05
1656    # +- 12V are very poor tolerance on this board. Verified with voltmeter
1657#    set in4_min 12 * 0.90
1658#    set in4_max 12 * 1.10
1659#    set in5_min 3.3 * 0.95
1660#    set in5_max 3.3 * 1.05
1661#    set in6_max -12 * 0.90
1662#    set in6_min -12 * 1.10
1663#    set in7_min 5 * 0.95
1664#    set in7_max 5 * 1.05
1665    # vid not monitored by IT8705F
1666#    ignore  vid
1667
1668#    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1669#    compute in4 ((30/10) +1)*@  , @/((30/10) +1)
1670#    compute in6 (1+232/56)*@ - 4.096*232/56, (@ + 4.096*232/56)/(1+232/56)
1671#    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1672    # Temperature
1673#    label temp1       "CPU Temp"
1674#    ignore temp2
1675#    ignore temp3
1676    # Fans
1677#    set fan1_min 3000
1678#    ignore fan2
1679#    ignore fan3
1680
1681
1682chip "fscpos-*"
1683# Fujitsu-Siemens Poseidon chip
1684
1685# Temperature
1686
1687    label temp1       "Temp1/CPU"
1688    label temp2       "Temp2/MB"
1689    label temp3       "Temp3/AUX"
1690
1691# Fans
1692
1693    label fan1        "Fan1"
1694    label fan2        "Fan2"
1695    label fan3        "Fan3"
1696
1697# Voltage
1698
1699    label volt12      "+12V"
1700    label volt5       "+5V"
1701    label voltbatt    "Battery"
1702
1703
1704chip "fscscy-*"
1705# Fujitsu-Siemens Scylla chip
1706
1707# Temperature
1708
1709    label temp1       "Temp1/CPU0"
1710    label temp2       "Temp2/CPU1"
1711    label temp3       "Temp3/MB"
1712    label temp4       "Temp4/AUX"
1713
1714# Fans
1715
1716    label  fan1       "Fan1/CPU0"
1717    label  fan2       "Fan2/CPU0"
1718    label  fan3       "Fan3"
1719    label  fan4       "Fan4"
1720    label  fan5       "Fan5"
1721    label  fan6       "Fan6"
1722
1723# Voltage
1724
1725    label volt12      "+12V"
1726    label volt5       "+5V"
1727    label voltbatt    "+3.3V"
1728
1729
1730chip "fscher-*"
1731# Fujitsu-Siemens Hermes chip
1732
1733# Temperature
1734    label temp1       "Temp1/CPU"
1735    label temp2       "Temp2/MB"
1736    label temp3       "Temp3/AUX"
1737
1738# Fans
1739    label fan1        "Fan1/PS"
1740    label fan2        "Fan2/CPU"
1741    label fan3        "Fan3/AUX"
1742
1743# Voltage
1744    label in0         "+12V"
1745    label in1         "+5V"
1746    label in2         "Battery"
1747
1748# Compute Voltages using mainboard dependant MRO-values
1749# (see doc/chips/fscher)
1750#                           M    R             O               O                  M    R
1751    compute in0       (@ * (49 * 33) / 255) + (0 / 100), (@ - (0 / 100)) * 255 / (49 * 33)
1752    compute in1       (@ * (20 * 33) / 255) + (0 / 100), (@ - (0 / 100)) * 255 / (20 * 33)
1753    compute in2       (@ * (10 * 33) / 255) + (0 / 100), (@ - (0 / 100)) * 255 / (10 * 33)
1754
1755# Read documentation before enabling pwm settings (see doc/chips/fscher)
1756# WARNING: IMPROPER VALUES MAY DAMAGE YOUR SYSTEM DUE TO OVERHEATING!
1757
1758# Allow fans to turn off
1759#    set pwm1          0
1760#    set pwm2          0
1761#    set pwm3          0
1762
1763# Min cooling
1764#    set pwm1          2
1765#    set pwm2          1
1766#    set pwm3          1
1767
1768# Max cooling
1769#    set pwm1          255
1770#    set pwm2          255
1771#    set pwm3          255
1772
1773
1774chip "pcf8591-*"
1775#
1776#    values for the Philips PCF8591 chip
1777#
1778# Analog inputs
1779
1780   ignore ain_conf
1781# Since Linux 2.6, input configuration is set as module parameter,
1782# so the line below is for older kernels only.
1783#  set    ain_conf    0
1784
1785# You may discard ch2 and ch3 if you don't use them (depends on the input
1786# configuration)
1787#  ignore ch2
1788#  ignore ch3
1789
1790   label  ch0         "Chan. 0"
1791   label  ch1         "Chan. 1"
1792   label  ch2         "Chan. 2"
1793   label  ch3         "Chan. 3"
1794
1795# The driver assumes Vref = 2.56V and Agnd = 0V. If it doesn't match
1796# your hardware, you have to use compute lines. The example below is
1797# correct for Vref = 5.0V and Agnd = 0V.
1798#  compute ch0 (@ * 500 / 256), (@ * 256 / 500)
1799#  compute ch1 (@ * 500 / 256), (@ * 256 / 500)
1800#  compute ch2 (@ * 500 / 256), (@ * 256 / 500)
1801#  compute ch3 (@ * 500 / 256), (@ * 256 / 500)
1802
1803# Analog output
1804
1805   ignore aout_enable
1806   set    aout_enable 1
1807   label  aout        "Output"
1808   set    aout        0
1809
1810chip "adm1021-*" "adm1023-*" "max1617-*" "max1617a-*" "thmc10-*" "lm84-*" "gl523sm-*" "mc1066-*"
1811
1812   label temp           "Board"
1813   label remote_temp    "CPU"
1814#   set temp_low                40
1815#   set temp_over               70
1816#   set remote_temp_low         40
1817#   set remote_temp_over        70
1818
1819chip "lm83-*"
1820
1821   label temp1 "M/B Temp"
1822   label temp2 "D1 Temp"
1823   label temp3 "CPU Temp"
1824   label temp4 "D3 Temp"
1825
1826# ignore D1 and/or D3 readings if not used
1827#   ignore temp2
1828#   ignore temp4
1829
1830# change high limits to fit your needs
1831#   set temp1_high 55
1832#   set temp2_high 60
1833#   set temp3_high 65
1834#   set temp4_high 60
1835
1836# change critical limit to fit your needs
1837# only one limit for all four temperatures
1838# should be higher than each of the high limits above
1839#   set tcrit 85
1840
1841
1842chip "max1619-*"
1843
1844   label temp1 "M/B Temp"
1845   label temp2 "CPU Temp"
1846
1847# change high and low limits to fit your needs
1848   set temp2_min   10
1849   set temp2_max   100
1850
1851# change critical limit and hysteresis to fit your needs
1852   set temp2_crit  50
1853   set temp2_hyst  40
1854
1855
1856chip "lm90-*" "adm1032-*" "lm86-*" "max6657-*" "adt7461-*"
1857
1858   label temp1 "M/B Temp"
1859   label temp2 "CPU Temp"
1860   label tcrit1 "M/B Crit"
1861   label tcrit2 "CPU Crit"
1862
1863# change high and low limits to fit your needs
1864#   set temp1_low  10
1865#   set temp1_high 55
1866#   set temp2_low  10
1867#   set temp2_high 66
1868
1869# change critical limits to fit your needs
1870# should be higher than the corresponding high limit above
1871#   set tcrit1 75
1872#   set tcrit2 85
1873
1874# change the hysteresis values (to critical limits) to fit your needs
1875# note #1: hyst2 will be automatically set with the same delta
1876# note #2: the internal register, which stores a single, relative value
1877# for both channels, cannot hold values greater than 31, so the delta
1878# between critical temperatures and respective absolute hysteresis can
1879# never exceed this value
1880#   set hyst1 70
1881
1882chip "lm99-*"
1883
1884   label temp1 "G/C Temp"
1885   label temp2 "GPU Temp"
1886   label tcrit1 "G/C Crit"
1887   label tcrit2 "GPU Crit"
1888
1889# note #1: only the LM99 needs this; for a LM89, comment the compute line
1890# out
1891# note #2: there is no way for us to differenciate between a LM89 and a
1892# LM99; you have to know what you have; LM99 are frequently found on
1893# graphics cards, most notably nVidia ones
1894   compute temp2 @+16, @-16
1895
1896# change high and low limits to fit your needs
1897#   set temp1_low  10
1898#   set temp1_high 90
1899#   set temp2_low  10
1900#   set temp2_high 100
1901
1902# change critical limits to fit your needs
1903# should be higher than the corresponding high limit above
1904#   set tcrit1 100
1905#   set tcrit2 110
1906
1907# change the hysteresis values (to critical limits) to fit your needs
1908# note #1: hyst2 will be automatically set with the same delta
1909# note #2: the internal register, which stores a single, relative value
1910# for both channels, cannot hold values greater than 31, so the delta
1911# between critical temperatures and respective absolute hysteresis can
1912# never exceed this value
1913#   set hyst1 105
1914
1915
1916chip "lm63-*"
1917
1918   label temp1       "M/B Temp"
1919   label temp2       "CPU Temp"
1920   label temp2_crit  "CPU Crit"
1921   label fan1        "CPU Fan"
1922
1923# Change limits to fit your needs. Note that temp2_crit is read-only.
1924#   set temp1_high       50
1925#   set temp2_low        10
1926#   set temp2_high       70
1927#   set temp2_crit_hyst  75
1928#   set fan1_min         2000
1929
1930
1931chip "vt1211-*" "vt8231-*"
1932#
1933# temp1 and in6 are not implemented in vt1211 / vt8231
1934#
1935#                                                       1 for temp, 0 for volt.
1936#       Sensor          Voltage Mode    Temp Mode       config bit
1937#       --------        ------------    ---------       --------------
1938#       Reading 1                       temp3
1939#       UCH1/Reading2   in0             temp2           0x04 (4)
1940#       UCH2            in1             temp4           0x08 (8)
1941#       UCH3            in2             temp5           0x10 (16)
1942#       UCH4            in3             temp6           0x20 (32)
1943#       UCH5            in4             temp7           0x40 (64)
1944#       3.3V            in5
1945#
1946# set uch1-2 to temp mode, uch3-5 to voltage mode
1947#
1948    set config 12
1949    ignore in0
1950    ignore in1
1951    ignore temp5
1952    ignore temp6
1953    ignore temp7
1954
1955# IMPORTANT: If you get "ERROR: Can't get TEMPX data!" from "sensors",
1956# where X is 2, 4, 5, 6 or 7, although you have this UCH set to
1957# temperature, this generally means that this UCH isn't (physically)
1958# used for temperature, so you should add an ignore statement for tempX
1959# and change the "config" value to reflect the fact that this UCH is
1960# probably used for voltage.
1961
1962#   label in0 "unused"
1963#   label in1 "unused"
1964    label in2 "VCore1"
1965    label in3 "+5V"
1966    label in4 "+12V"
1967    label in5 "+3.3V"
1968
1969    label temp2 "MB1 Temp"
1970    label temp3 "Proc Temp"
1971    label temp4 "MB2 Temp"
1972#
1973#   All voltage calculations have the form
1974#       ((@ * 100) - 3) / (K * 95.8), (@ * K * 0.958) + .03
1975#   where K = R2 / (R1 + R2).
1976#   Use the following K values based on input voltage.
1977#   This of course assumes the mobo has the resistors
1978#   recommended by Via in the datasheet.
1979#       Voltage                 K
1980#       VCore                   1.0
1981#       2.5                     0.8333
1982#       3.3 (in5 internal)      0.6296
1983#       3.5 (3.3V ext.)         0.5952
1984#       5.0                     0.4167
1985#       12.0                    0.1754
1986#
1987#   compute in0 ((@ * 100) - 3) / (0.5952 * 95.8), (@ * 0.5952 * 0.958) + .03
1988#   compute in1 ((@ * 100) - 3) / (0.8333 * 95.8), (@ * 0.8333 * 0.958) + .03
1989    compute in2 ((@ * 100) - 3) / (0.5952 * 95.8), (@ * 0.5952 * 0.958) + .03
1990    compute in3 ((@ * 100) - 3) / (0.4167 * 95.8), (@ * 0.4167 * 0.958) + .03
1991    compute in4 ((@ * 100) - 3) / (0.1754 * 95.8), (@ * 0.1754 * 0.958) + .03
1992    compute in5 ((@ * 100) - 3) / (0.6296 * 95.8), (@ * 0.6296 * 0.958) + .03
1993
1994    set vrm 9.1
1995#   set in0_min 2.5 * 0.95
1996#   set in0_max 2.5 * 1.05
1997#   set in1_min 2.5 * 0.95
1998#   set in1_max 2.5 * 1.05
1999    set in2_min vid * 0.97
2000    set in2_max vid * 1.03
2001    set in3_min 5.0 * 0.95
2002    set in3_max 5.0 * 1.05
2003    set in4_min 12.0 * 0.90
2004    set in4_max 12.0 * 1.10
2005    set in5_min 3.3 * 0.95
2006    set in5_max 3.3 * 1.05
2007
2008    compute temp3  (@ - 65) / 0.9686,  (@ * 0.9686) + 65
2009#
2010# thermistor calculations.
2011# 3435 is the thermistor beta.
2012# '^' is the e**x operator; '`' is the ln(x) operator
2013# (valid in library version 1.4.0 / lm_sensors 2.7.1 or higher)
2014# This assumes that the thermistor forms a resistor divider with a resistor
2015# equal to its nominal value @ 25C. If not, the math gets even harder.
2016#
2017    compute temp2  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
2018                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
2019    compute temp4  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
2020                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
2021    compute temp5  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
2022                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
2023    compute temp6  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
2024                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
2025    compute temp7  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
2026                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
2027
2028    set temp2_hyst 40
2029    set temp2_over 45
2030    set temp3_hyst 60
2031    set temp3_over 65
2032    set temp4_hyst 40
2033    set temp4_over 45
2034
2035    set fan1_min 3000
2036    set fan2_min 3000
2037
2038chip "bmc-*"
2039#
2040# You should not need compute lines here, the driver will
2041# do all the conversions.
2042# For label lines, copy from syslog/dmesg when the bmcsensors
2043# module is inserted.
2044#
2045# for example:
2046# label temp1 "Ambient Temp"
2047
2048
2049chip "smsc47m1-*"
2050
2051# SMSC LPC47M10x, LPC47M13x, LPC47M14x and LPC47B27x chips
2052
2053# We don't set the fan mins by default anymore because they may not exist
2054# when using the Linux 2.6 driver (since we respect the original chip
2055# configuration).
2056#    set fan1_min 3000
2057#    set fan2_min 3000
2058
2059
2060#
2061# This example was tested vs. Asus P4S333
2062#
2063chip "asb100-*"
2064    set vrm 9.0
2065
2066    label in0 "VCore 1"
2067    set in0_min vid * 0.95
2068    set in0_max vid * 1.05
2069
2070    label in1 "VCore 2"
2071    ignore in1
2072    set in1_min vid * 0.95
2073    set in1_max vid * 1.05
2074
2075    label in2 "+3.3V"
2076    set in2_min 3.3 * 0.95
2077    set in2_max 3.3 * 1.05
2078
2079    label in3 "+5V"
2080    compute in3 1.68 * @ ,  @ / 1.68
2081    set in3_min 5.0 * 0.95
2082    set in3_max 5.0 * 1.05
2083
2084    label in4 "+12V"
2085    compute in4 3.8 * @ , @ / 3.8
2086    set in4_min 12  * 0.90
2087    set in4_max 12  * 1.10
2088
2089    label in5 "-12V (reserved)"
2090    #ignore in5
2091    compute in5 -@ * 3.97 ,  -@ / 3.97
2092    set in5_max -12 * 0.90
2093    set in5_min -12 * 1.10
2094
2095    label in6 "-5V (reserved)"
2096    #ignore in6
2097    compute in6 -@ * 1.666 , -@ / 1.666
2098    set in6_max -5  * 0.95
2099    set in6_min -5  * 1.05
2100
2101    label temp1 "M/B Temp"
2102    set temp1_over 45
2103    set temp1_hyst 40
2104
2105    label temp2 "CPU Temp (Intel)"
2106    #ignore temp2
2107    set temp2_over 60
2108    set temp2_hyst 50
2109
2110    # PWRTMP connector on P4S333, for external sensor
2111    label temp3 "Power Temp"
2112    #ignore temp3
2113    set temp3_over 45
2114    set temp3_hyst 40
2115
2116
2117    # Used for Athlon diode, ignore for P4S333
2118    label temp4 "CPU Temp (AMD)"
2119    set temp4_over 60
2120    set temp4_hyst 50
2121    #ignore temp4
2122
2123    label fan1 "CPU Fan"
2124    set fan1_div 4
2125    set fan1_min 2000
2126
2127    label fan2 "Chassis Fan"
2128    set fan2_div 2
2129    set fan2_min 4000
2130
2131    label fan3 "Power Fan"
2132    set fan3_div 2
2133    set fan3_min 4000
2134
2135#
2136# Sample configuration for the Intel S845WD1-E
2137# courtesy of Marcus Schopen
2138#
2139chip "lm85c-*" "adm1027-*" "adt7463-*" "lm85-*" "lm85b-*"
2140
2141   set temp1_max 50
2142
2143# Voltage inputs
2144   label in0   "V1.5"      # AGP on Intel S845WD1-E
2145   label in1   "VCore"
2146   label in2   "V3.3"
2147   label in3   "V5"
2148   label in4   "V12"
2149
2150# Temperature inputs
2151   label temp1  "CPU"
2152   label temp2  "Board"
2153   label temp3  "Remote"
2154
2155# Fan inputs
2156   label fan1   "CPU_Fan"
2157#   label fan2   "Fan2"
2158#   label fan3   "Fan3"
2159#   label fan4   "Fan4"
2160
2161# PWM Outputs
2162   label pwm1   "CPU_PWM"
2163   label pwm2   "Fan2_PWM"
2164   label pwm3   "Fan3_PWM"
2165
2166# Voltage scaling is done on-chip.  No 'compute' directive
2167# should be necessary.  If in0 has external scaling set
2168# it here.
2169
2170#   compute in0  @ * 2.5,   @ / 2.5
2171
2172# Adjust fans speeds for actual pulses per rev
2173#   compute fan1  @ * 2,  @ / 2    # 1 pulse per rev
2174#   set fan1_ppr  1                # ADM1027 or ADT7463
2175#   compute fan2  @ / 2,  @ * 2    # 4 pulse per rev
2176#   set fan2_ppr  4                # ADM1027 or ADT7463
2177
2178# Ignore fans you (or your motherboard) don't have
2179#   ignore fan2
2180#   ignore fan3
2181#   ignore fan4
2182
2183# Set VRM version
2184   set vrm  9.1   # Pentium 4
2185
2186# Set voltage limits
2187   set in0_min  1.5 * 0.95
2188   set in0_max  1.5 * 1.05
2189   set in1_min  vid * 0.95
2190   set in1_max  vid * 1.05
2191   set in2_min  3.3 * 0.95
2192   set in2_max  3.3 * 1.05
2193   set in3_min  5.0 * 0.95
2194   set in3_max  5.0 * 1.05
2195   set in4_min   12 * 0.95
2196   set in4_max   12 * 1.05
2197
2198# Set Fan limits
2199   set fan1_min 4000
2200
2201# Set Temp Limits
2202   set temp1_min 10
2203   set temp1_max 50
2204   set temp2_min 10
2205   set temp2_max 35
2206   set temp3_min 10
2207   set temp3_max 35
2208
2209chip "pc87366-*"
2210
2211# Voltage inputs
2212
2213# Set VRM version (default 9.0)
2214#   set vrm     9.0
2215
2216   label in7   "Vsb"
2217   label in8   "Vdd"
2218   label in9   "Vbat"
2219   label in10  "AVdd"
2220
2221   compute in7   @*2, @/2
2222   compute in8   @*2, @/2
2223   compute in10  @*2, @/2
2224
2225# These are the operating conditions as recommended by National
2226# Semiconductor
2227   set in7_min   3.0
2228   set in7_max   3.6
2229   set in8_min   3.0
2230   set in8_max   3.6
2231   set in9_min   2.4
2232   set in9_max   3.6
2233   set in10_min  3.0
2234   set in10_max  3.6
2235
2236# Temperature inputs
2237
2238   label temp1       "CPU0 Temp"
2239   label temp1_crit  "CPU0 Crit"
2240   label temp2       "CPU1 Temp"
2241   label temp2_crit  "CPU1 Crit"
2242   label temp3       "S-IO Temp"
2243   label temp3_crit  "S-IO Crit"
2244
2245   set temp1_min    0
2246   set temp1_max   70
2247   set temp1_crit  85
2248   set temp2_min    0
2249   set temp2_max   70
2250   set temp2_crit  85
2251   set temp3_min    0
2252   set temp3_max   70
2253   set temp3_crit  85
2254
2255# Thermistors
2256# On some systems, thermistors are used instead of thermal diodes.
2257# Note that these are the same pins used differently, so you really
2258# can't have them all on a given system.
2259#   ignore temp1
2260#   ignore temp2
2261   ignore temp4
2262   ignore temp5
2263   ignore temp6
2264
2265# 3435 is the thermistor beta.
2266# This assumes that the thermistor forms a resistor divider with a resistor
2267# equal to its nominal value at 25 degres Celcius. If not, change the values.
2268# We also assume that you have a working in10 (which is forcibly enabled by
2269# default). If not, use 3.3 instead, but you lose accuracy.
2270
2271   compute temp4  3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \
2272                  in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
2273   compute temp5  3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \
2274                  in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
2275   compute temp6  3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \
2276                  in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
2277
2278#   set temp4_min    0
2279#   set temp4_max   70
2280#   set temp4_crit  85
2281#   set temp5_min    0
2282#   set temp5_max   70
2283#   set temp5_crit  85
2284#   set temp6_min    0
2285#   set temp6_max   70
2286#   set temp6_crit  85
2287
2288# Fan inputs
2289
2290# Ignore fans you don't have
2291#   ignore fan2
2292#   ignore fan3
2293
2294   set fan1_min 2000
2295   set fan2_min 2000
2296   set fan3_min 2000
2297
2298
2299chip "adm1030-*"
2300
2301   label temp1 "SYS Temp"
2302   label temp2 "CPU Temp"
2303   label temp1_crit "SYS Crit"
2304   label temp2_crit "CPU Crit"
2305
2306   set temp1_max  60
2307   set temp2_max  70
2308   set temp1_crit 85
2309   set temp2_crit 85
2310
2311   label fan1 "CPU Fan"
2312
2313   set fan1_min 2000
2314
2315
2316chip "adm1031-*"
2317
2318   label temp1 "SYS Temp"
2319   label temp2 "CPU Temp"
2320   label temp3 "AUX Temp"
2321   label temp1_crit "SYS Crit"
2322   label temp2_crit "CPU Crit"
2323   label temp3_crit "AUX Crit"
2324
2325   set temp1_max  60
2326   set temp2_max  70
2327   set temp3_max  70
2328   set temp1_crit 85
2329   set temp2_crit 85
2330   set temp3_crit 85
2331
2332   label fan1 "CPU Fan"
2333   label fan2 "Case Fan"
2334
2335   set fan1_min 2000
2336   set fan2_min 2000
2337
2338
2339chip "w83l785ts-*"
2340
2341   label temp1 "CPU Diode"
2342
2343chip "lm92-*"
2344
2345   label temp "CPU Temp"
2346
2347# Change limits as you see fit
2348#   set temp_low 14
2349#   set temp_high 60
2350#   set temp_crit 72
2351# Hysteresis is computed from critical limit for Linux 2.6,
2352# and from high limit for Linux 2.4. That might change in the future.
2353# Whatever, the same relative hysteresis is used for all of low, high
2354# and critical limits.
2355#   set temp_hyst 70 # Linux 2.6
2356#   set temp_hyst 58 # Linux 2.4
2357
2358
2359# Winbond W83627EHF configuration originally contributed by Leon Moonen
2360# This is for an Asus P5P800.
2361chip "w83627ehf-*"
2362# Fans
2363   label fan1      "Case Fan"
2364   label fan2      "CPU Fan"
2365#  ignore fan3
2366#  ignore fan4
2367   set fan1_min    1200
2368   set fan2_min    1700
2369
2370# Temperatures
2371   label temp1     "Sys Temp"
2372   label temp2     "CPU Temp"
2373#  ignore temp3
2374   set temp1_over  45
2375   set temp1_hyst  40
2376   set temp2_over  45
2377   set temp2_hyst  40
2378
Note: See TracBrowser for help on using the browser.