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

Revision 3194, 72.0 KB (checked in by khali, 8 years ago)

vt8231 cleanups, to get the 2.4 driver, libsensors and sensors
in line with the new 2.6 driver. The most important changes are temp
inputs renumbering, and conversion formulas changes, because part of the
conversions are now done by the driver as required by the interface
standard.

  • 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.15
149#       in5  -12.0    210      60.4   +3.45
150#       in6   -5.0     90.9    60.4   +3.33
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.15
310# in5  -12.0    210      60.4   +3.45
311# in6   -5.0     90.9    60.4   +3.33
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# Examples of fan low speed limits
350#    set fan1_min 3000
351#    set fan2_min 3000
352#    set fan3_min 3000
353
354# Ignore fans you don't actually have
355#    ignore fan1
356#    ignore fan2
357#    ignore fan3
358
359# In case a lm78 is used together with a lm75, the lm78 temp sensor will
360# generally show the M/B temperature while the lm75 temp sensor will show
361# the CPU temperature.
362#    label temp "M/B Temp"
363
364# Uncomment the following line to enable beeps for all alarms on this chip
365#    set beep_enable 1
366
367
368
369chip "lm75-*"
370
371# Most boards don't need scaling. Following is
372# for the Asus TX97-E. If it doesn't work for you, feel free to complain.
373#   compute temp @*2.0, @/2.0
374
375# Examples for temperature limits
376#    set temp_over 70   
377#    set temp_hyst 65   
378
379# In case a lm75 is used together with a lm78, the lm78 temp sensor will
380# generally show the M/B temperature while the lm75 temp sensor will show
381# the CPU temperature.
382#    label temp "CPU Temp"
383
384
385chip "sis5595-*"
386
387    label in0 "VCore 1"
388    label in1 "VCore 2"
389    label in2 "+3.3V"
390    label in3 "+5V"
391    label in4 "+12V"
392
393    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
394    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
395
396    set in0_min 2.0 * 0.95
397    set in0_max 2.0 * 1.05
398    set in1_min 2.0 * 0.95
399    set in1_max 2.0 * 1.05
400    set in2_min 3.3 * 0.95
401    set in2_max 3.3 * 1.05
402    set in3_min 5.0 * 0.95
403    set in3_max 5.0 * 1.05
404    set in4_min 12 * 0.95
405    set in4_max 12 * 1.05
406
407#
408# SiS5595 temperature calculation
409# The driver currently includes a calculation due to the wide
410# variation in thermistor types on SiS5595 motherboards.
411# The driver currently has a calculation of t = (.83x + 52.12).
412# One user reports the correct formula of t = (.345x - 12).
413# So you want to put a compute line in sensors.conf that has
414# the inverse of the driver formula, and put your formula on top of it.
415# The inverse of the driver formula is x = (1.20t - 62.77)
416# So the final formula is newt = (.345(1.20t - 62.77)) - 12).
417# Put this in the sensors.conf file as
418# compute temp ((.345 * ((1.20 * @) - 62.77)) - 12), ...
419# where ... is the inverse function I leave to you.
420#
421# Look in your 'Vendor.ini' file to see which one is present
422# on your motherboard. Look for the line like:
423#       [Temp1]
424#            ThermistorType     = NTC-10KC15-1608-1P
425# Fix up a 'compute' line to match your thermistor type.
426# Warning. You still don't have enough information to do this.
427#            ThermistorType     = NTC-10KC15-1608-1P (10K at 25C; Beta = 3435)
428#   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
429#            ThermistorType     = NTC-103KC15-1608-1P  (??)
430#   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
431#            ThermistorType     = NTC-103AT-2 (10K at 25C; Beta = 3435)
432#   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
433#            ThermistorType     = NTC-103JT   (10K at 25C; Beta = 3435)
434#   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
435
436# examples for sis5595 temperature limits;
437# for sis5595, temp_hyst is really the low limit, not a hysteresis value
438#    set temp_over 40
439#    set temp_hyst 37
440
441
442chip "w83782d-*" "w83627hf-*"
443
444# Same as above for w83781d except that in5 and in6 are computed differently.
445# Rather than an internal inverting op amp, the 82d/83s use standard positive
446# inputs and the negative voltages are level shifted by a 3.6V reference.
447# The math is convoluted, so we hope that your motherboard
448# uses the recommended resistor values.
449
450    label in0 "VCore 1"
451    label in1 "VCore 2"
452    label in2 "+3.3V"
453    label in3 "+5V"
454    label in4 "+12V"
455    label in5 "-12V"
456    label in6 "-5V"
457    label in7 "V5SB"
458    label in8 "VBat"
459
460# Abit BP6 motherboard has a few differences. VCore1 and VCore2 are the core
461# voltages of the two processors. Vtt is memory bus termination resistors
462# voltage.
463#    label in1 "Vtt"
464#    label in8 "VCore2"
465
466    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
467    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
468    compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
469    compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
470    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
471
472# adjust this if your vid is wrong; see doc/vid
473#   set vrm 9.0
474
475# set limits to  5% for the critical voltages
476# set limits to 10% for the non-critical voltages
477# set limits to 20% for the battery voltage
478
479    set in0_min vid*0.95
480    set in0_max vid*1.05
481    set in1_min vid*0.95
482    set in1_max vid*1.05
483    set in2_min 3.3 * 0.95
484    set in2_max 3.3 * 1.05
485    set in3_min 5.0 * 0.95
486    set in3_max 5.0 * 1.05
487    set in4_min 12 * 0.90
488    set in4_max 12 * 1.10
489    set in5_max -12 * 0.90
490    set in5_min -12 * 1.10
491    set in6_max -5 * 0.95
492    set in6_min -5 * 1.05
493    set in7_min 5 * 0.95
494    set in7_max 5 * 1.05
495    set in8_min 3.0 * 0.80
496    set in8_max 3.0 * 1.20
497
498# set up sensor types (thermistor is default)
499# 1 = PII/Celeron Diode; 2 = 3904 transistor;
500# 3435 = thermistor with Beta = 3435
501# If temperature changes very little, try 1 or 2.
502#   set sensor1 1
503#   set sensor2 2
504#   set sensor3 3435
505
506# examples for temperature limits
507#    set temp1_over 40
508#    set temp1_hyst 37
509#    set temp2_over 52
510#    set temp2_hyst 47
511#    set temp3_over 52
512#    set temp3_hyst 47
513
514
515chip "w83783s-*"
516
517# Same as above for w83781d except that in5 and in6 are computed differently.
518# Rather than an internal inverting op amp, the 82d/83s use standard positive
519# inputs and the negative voltages are level shifted by a 3.6V reference.
520# The math is convoluted, so we hope that your motherboard
521# uses the recommended resistor values.
522
523    label in0 "VCore 1"
524    label in2 "+3.3V"
525    label in3 "+5V"
526    label in4 "+12V"
527    label in5 "-12V"
528    label in6 "-5V"
529
530    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
531    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
532    compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
533    compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
534
535# adjust this if your vid is wrong; see doc/vid
536#   set vrm 9.0
537
538# set limits to  5% for the critical voltages
539# set limits to 10% for the non-critical voltages
540# set limits to 20% for the battery voltage
541
542    set in0_min vid*0.95
543    set in0_max vid*1.05
544    set in2_min 3.3 * 0.95
545    set in2_max 3.3 * 1.05
546    set in3_min 5.0 * 0.95
547    set in3_max 5.0 * 1.05
548    set in4_min 12 * 0.90
549    set in4_max 12 * 1.10
550    set in5_max -12 * 0.90
551    set in5_min -12 * 1.10
552    set in6_max -5 * 0.95
553    set in6_min -5 * 1.05
554
555# set up sensor types (thermistor is default)
556# 1 = PII/Celeron Diode; 2 = 3904 transistor;
557# 3435 = thermistor with Beta = 3435
558# If temperature changes very little, try 1 or 2.
559#   set sensor1 1
560#   set sensor2 2
561
562# examples for temperature limits
563#    set temp1_over 40
564#    set temp1_hyst 37
565#    set temp2_over 52
566#    set temp2_hyst 47
567
568
569chip "w83697hf-*"
570
571# Same as above for w83781d except that in5 and in6 are computed differently.
572# Rather than an internal inverting op amp, the 82d/83s use standard positive
573# inputs and the negative voltages are level shifted by a 3.6V reference.
574# The math is convoluted, so we hope that your motherboard
575# uses the recommended resistor values.
576
577# no in1 on this chip.
578
579    label in0 "VCore"
580    label in2 "+3.3V"
581    label in3 "+5V"
582    label in4 "+12V"
583    label in5 "-12V"
584    label in6 "-5V"
585    label in7 "V5SB"
586    label in8 "VBat"
587
588# Tyan Trinity S2495 KT400 has a few differences. Thanks to Eric Schumann
589# for proving this information. Same is true for Epox 8K3A and 8KHA+.
590# Thanks to Thomas Schorpp for additional feedback.
591#    label in2 "VAgp"
592#    label in5 "+3.3V" # aka. Vio
593#    label in6 "Vdimm"
594#    label in7 "VBat"
595#    label in8 "V5SB"
596#
597# You'll also want to comment out the in5 and in6 compute lines right below,
598# and rename compute in7 to compute in8.
599
600    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
601    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
602    compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
603    compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
604    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
605
606# 697HF does not have VID inputs so you MUST set your core
607# voltage limits below. Currently set for 1.8V core.
608#               vvv
609
610    set in0_min 1.8 * 0.95
611    set in0_max 1.8 * 1.05
612
613    set in2_min 3.3 * 0.95
614    set in2_max 3.3 * 1.05
615    set in3_min 5.0 * 0.95
616    set in3_max 5.0 * 1.05
617    set in4_min 12 * 0.90
618    set in4_max 12 * 1.10
619    set in5_max -12 * 0.90
620    set in5_min -12 * 1.10
621    set in6_max -5 * 0.95
622    set in6_min -5 * 1.05
623    set in7_min 5 * 0.95
624    set in7_max 5 * 1.05
625    set in8_min 3.0 * 0.80
626    set in8_max 3.0 * 1.20
627
628# And for Tyan Trinity S2495 KT400 and Epox 8K3A and 8KHA+:
629#    set in2_min 1.5 * 0.95
630#    set in2_max 1.5 * 1.05
631#    set in5_min 3.3 * 0.95
632#    set in5_max 3.3 * 1.05
633#    set in6_min 2.5 * 0.95 # 2.6 on Epox
634#    set in6_max 2.5 * 1.05 # 2.6 on Epox
635#    set in7_min 3.0 * 0.90
636#    set in7_max 3.0 * 1.10
637#    set in8_min 5 * 0.90
638#    set in8_max 5 * 1.10
639
640# set up sensor types (thermistor is default)
641# 1 = PII/Celeron Diode; 2 = 3904 transistor;
642# 3435 = thermistor with Beta = 3435
643# If temperature changes very little, try 1 or 2.
644#   set sensor1 1
645#   set sensor2 2
646#   set sensor3 3435
647
648# examples for temperature limits
649#    set temp1_over 40
650#    set temp1_hyst 37
651#    set temp2_over 52
652#    set temp2_hyst 47
653
654
655chip "w83627thf-*" "w83637hf-*"
656
657# Rather than an internal inverting op amp, the 627thf uses standard positive
658# inputs and the negative voltages are level shifted by a 3.6V reference
659# (same as 82d/83s).
660# The math is convoluted, so we hope that your motherboard
661# uses the recommended resistor values.
662# Note that in1 (+12V) is the usual in4, and in4 (-12V) is the usual in5.
663# Data sheet is obviously wrong for in4, the usual formula should work.
664# No in5 nor in6.
665# sensors doesn't need the ignore lines but sensord does...
666    ignore in5
667    ignore in6
668
669    label in0 "VCore"
670    label in1 "+12V"
671    label in2 "+3.3V"
672    label in3 "+5V"
673    label in4 "-12V"
674    label in7 "V5SB"
675    label in8 "VBat"
676
677# Mori Hiroyuki reported to need this (P4P800)
678#   compute in0 @/2, @*2
679
680    compute in1 ((28/10)+1)*@, @/((28/10)+1)
681    compute in3 ((34/51)+1)*@, @/((34/51)+1)
682    compute in4 (5.14*@)-14.91, (@+14.91)/5.14
683    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
684
685# adjust this if your vid is wrong; see doc/vid
686#   set vrm 9.0
687
688# set limits to  5% for the critical voltages
689# set limits to 10% for the non-critical voltages
690# set limits to 20% for the battery voltage
691# if your vid is wrong, you'll need to adjust in0_min and in0_max
692
693    set in0_min vid * 0.95
694    set in0_max vid * 1.05
695    set in1_min 12 * 0.90
696    set in1_max 12 * 1.10
697    set in2_min 3.3 * 0.95
698    set in2_max 3.3 * 1.05
699    set in3_min 5.0 * 0.95
700    set in3_max 5.0 * 1.05
701    set in4_min -12 * 1.10
702    set in4_max -12 * 0.90
703    set in7_min 5 * 0.95
704    set in7_max 5 * 1.05
705    set in8_min 3.0 * 0.80
706    set in8_max 3.0 * 1.20
707
708# set up sensor types (thermistor is default)
709# 1 = PII/Celeron Diode; 2 = 3904 transistor;
710# 3435 = thermistor with Beta = 3435
711# If temperature changes very little, try 1 or 2.
712#   set sensor1 1
713#   set sensor2 2
714#   set sensor3 3435
715
716    label temp1 "M/B Temp"
717    label temp2 "CPU Temp"
718#   ignore temp3
719
720# examples for temperature limits
721#    set temp1_over 40
722#    set temp1_hyst 37
723#    set temp2_over 52
724#    set temp2_hyst 47
725#    set temp3_over 52
726#    set temp3_hyst 47
727
728#   ignore fan1
729    label fan2 "CPU Fan"
730#   ignore fan3
731
732
733# Here are configurations for Winbond W83792AD/D chip.
734chip "w83792d-*"
735
736    label in0 "VCoreA"
737    label in1 "VCoreB"
738    label in2 "VIN0"
739    label in3 "VIN1"
740    label in4 "VIN2"
741    label in5 "VIN3"
742    label in6 "5VCC"
743    label in7 "5VSB"
744    label in8 "VBAT"
745    label fan1 "Fan1"
746    label fan2 "Fan2"
747    label fan3 "Fan3"
748    label fan4 "Fan4"
749    label fan5 "Fan5"
750    label fan6 "Fan6"
751    label fan7 "Fan7"
752    label temp1 "Temp1"
753    label temp2 "Temp2"
754    label temp3 "Temp3"
755
756    set in0_min 1.4
757    set in0_max 1.6
758    set in1_min 1.4
759    set in1_max 1.6
760    set in2_min 3.2
761    set in2_max 3.4
762    set in3_min 3.1
763    set in3_max 3.3
764    set in4_min 1.4
765    set in4_max 1.5
766    set in5_min 2.6
767    set in5_max 2.65
768    set in6_min 5 * 0.95
769    set in6_max 5 * 1.05
770    set in7_min 5 * 0.95
771    set in7_max 5 * 1.05
772    set in8_min 3 * 0.95
773    set in8_max 3 * 1.05
774
775# fan1 adjustments examples
776
777#   set fan1_div 4
778#   set fan1_min 1500
779
780# temp2 limits examples
781
782#    set temp2_over 42
783#    set temp2_hyst 37
784
785# ignore examples
786
787#    ignore fan7
788#    ignore temp3
789
790chip "as99127f-*"
791
792# Asus won't release a datasheet so this is guesswork.
793# Thanks to Guntram Blohm, Jack, Ed Harrison, Artur Gawryszczak,
794# Victor G. Marimon and others for their feedback.
795
796# Dual power plane
797    label in0 "VCore 1"
798    label in1 "VCore 2"
799# Single power plane (A7V133, A7M266, CUV4X)
800#   label in0 "VCore"
801#   ignore in1
802
803    label in2 "+3.3V"
804    label in3 "+5V"
805    label in4 "+12V"
806# These last two may not make sense on all motherboards.
807    label in5 "-12V"
808    label in6 "-5V"
809
810    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
811    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
812# AS99127F rev.1 (same as w83781d)
813    compute in5 -(240/60.4)*@ ,  -@/(240/60.4)
814    compute in6 -(90.9/60.4)*@ ,  -@/(90.9/60.4)
815# AS99127F rev.2 (same as w83782d)
816#   compute in5 (5.14 * @) - 14.91 , (@ + 14.91) / 5.14
817#   compute in6 (3.14 * @) -  7.71 , (@ +  7.71) / 3.14
818
819# Depending on your motherboard, you may have to use any of two formulae
820# for temp2. Quoting Artur Gawryszczak (edited to reflect subsequent fixes
821# to the driver):
822# "I guess, that the formula "(@*15/43)+25, (@-25)*43/15" is correct
823# for those Asus motherboards, which get CPU temperature from internal
824# thermal diode (Pentium Coppermine, and above), while no formula is needed
825# for Athlon/Duron boards, which use a thermistor in the socket."
826# An alternative formula was then found and reported by Victor G. Marimon.
827
828# Asus A7V133, Asus A7M266
829#   No compute line is needed
830# Asus CUV4X, Asus A7V8X
831#   compute temp2 (@*15/43)+25, (@-25)*43/15
832# Asus CUSL2, Asus CUV266-DLS, Asus TUSL2-C
833#   compute temp2 (@*30/43)+25, (@-25)*43/30
834
835# See comments above if temp3 looks bad. What works for temp2 is likely
836# to work for temp3 for dual-CPU boards, such as the CUV4X-D.
837
838# Most Asus boards have temperatures settled like that:
839    label temp1 "M/B Temp"
840    label temp2 "CPU Temp"
841# However, some boards have them swapped (A7N8X Deluxe rev.2,
842# A7N8X-E Deluxe rev.2, A7N8X-X, CUV4X):
843#   label temp1 "CPU Temp"
844#   label temp2 "M/B Temp"
845
846# Most boards have no temp3 by default, except for dual-CPU boards.
847#   label temp3 "CPU 2 Temp"
848#   ignore temp3
849
850# adjust this if your vid is wrong; see doc/vid
851#   set vrm 9.0
852
853# set limits to  5% for the critical voltages
854# set limits to 10% for the non-critical voltages
855# set limits to 20% for the battery voltage
856
857    set in0_min vid*0.95
858    set in0_max vid*1.05
859    set in1_min vid*0.95
860    set in1_max vid*1.05
861    set in2_min 3.3 * 0.95
862    set in2_max 3.3 * 1.05
863    set in3_min 5.0 * 0.95
864    set in3_max 5.0 * 1.05
865    set in4_min 12 * 0.90
866    set in4_max 12 * 1.10
867    set in5_max -12 * 0.90
868    set in5_min -12 * 1.10
869    set in6_max -5 * 0.95
870    set in6_min -5 * 1.05
871
872# examples for temperature limits
873#    set temp1_over 40
874#    set temp1_hyst 37
875#    set temp2_over 52
876#    set temp2_hyst 47
877#    set temp3_over 52
878#    set temp3_hyst 47
879
880# The A7N8X-X board is known to need this:
881# (reported by Roberto Sebastiano <robs@multiplayer.it>)
882#    compute fan1  @/2,  2*@
883
884
885chip "gl518sm-*"
886
887# IMPORTANT: in0, in1, and in2 values (+5, +3, and +12) CANNOT be read
888#            unless you use the slow 'iterate' method. Limits will still
889#            work even when iterate=0. See doc/chips/gl518sm.
890#            Note that the 'iterate' method was trimmed while porting the
891#            driver to Linux 2.6 as we considered it too ugly for the thin
892#            benefit.
893#
894# Factors and labels taken from GL518SM datasheet, they seem to give
895# reasonable values with EISCA connected Fan78
896
897  label vdd "+5V"
898  label vin1 "+3.3V"
899  label vin2 "+12V"
900  label vin3 "Vcore"
901
902# vin2 depends on external resistors (4,7k and 15k assumed here)
903# vin1 and vin3 require no scaling
904
905  compute vin2 (197/47)*@  ,  @/(197/47)
906
907  set vdd_min 4.8
908  set vdd_max 5.2
909  set vin1_min 3.20
910  set vin1_max 3.40
911  set vin2_min 11.0
912  set vin2_max 13.0
913  set vin3_min 2.10
914  set vin3_max 2.30
915#  set fan1_off 0
916#  set fan2_min 0
917
918# Do NOT uncomment the following line with the Linux 2.6 kernel driver,
919# as it'll raise an error.
920# set iterate 2
921
922
923chip "gl520sm-*"
924
925# Factors and labels taken from GL520SM datasheet
926
927# The GL520SM has two application modes. In mode 1 it has two thermistor
928# inputs, in mode 2 it has only one and an extra (negative) voltage input.
929# The mode is supposed to be set properly by your BIOS so you should not
930# need to change it. You can force it below if really needed though.
931# Note that this means that you have either temp2 or vin4 but never both
932# at the same time.
933
934# set two_temps 1
935
936  label vdd "+5V"
937  label vin1 "+3.3V"
938  label vin2 "+12V"
939  label vin3 "Vcore"
940  label vin4 "-12V"
941
942# vin1 and vin3 require no scaling
943# vin2 depends on external resistors (4,7k and 15k assumed)
944
945# vin4 = ((R1+R2)/R2)*@ - (R1/R2)*vdd
946#
947#       -12 --| R1 |---t---| R2 |-- +5
948#                      |
949#                    vin4
950#
951
952  compute vin2 (197/47)*@  ,  @/(197/47)
953  compute vin4 (5*@)-(4*vdd) , (@+4*vdd)/5
954
955  set vdd_min 4.8
956  set vdd_max 5.2
957  set vin1_min 3.20
958  set vin1_max 3.40
959  set vin2_min 11.0
960  set vin2_max 13.0
961  set vin3_min 2.10
962  set vin3_max 2.30
963
964
965chip "lm80-*"
966
967# The values below should be correct if you own a qdi BX (brilliant1)
968# mainboard. If not, please contact us, so we can figure out better readings.
969# Many thanks go to Peter T. Breuer <ptb@it.uc3m.es> for helping us figure
970# out how to handle the LM80.
971
972# For positive voltages (in0..in4), two resistors are used, with the following
973# formula (R1,R2: resistor values, Vs: read voltage, Vin: pin voltage)
974#   R1 = R2 * (Vs/Vin - 1)
975# For negative voltages (in5, in6) two resistors are used, with the following
976# formula (R3,R4: resistor values, Vs: read voltage, Vin: pin voltage,
977# V5: +5V)
978#   R3 = R4 * (Vs - Vin) / (Vin - V5)
979
980# Here are the official LM80 data sheet values.
981#       Vs      R1,R3   R2,R4    Vin
982#       +2.5V    23.7    75     +1.9
983#       +3.3V    22.1    30     +1.9
984#       +5.0     24      14.7   +1.9
985#      +12.0    160      30.1   +1.9
986#      -12.0    160      35.7   +1.9
987#       -5.0     36      16.2   +1.9
988
989# Now curiously enough, VCore is connected with (unknown) resistors, which
990# translate a +2.8V to +1.9V. So we use that in the computations below.
991
992    label in0 "+5V"
993    label in1 "VTT"
994    label in2 "+3.3V"
995    label in3 "+Vcore"
996    label in4 "+12V"
997    label in5 "-12V"
998    label in6 "-5V"
999
1000    compute in0 (24/14.7 + 1) * @ ,       @ / (24/14.7 + 1)
1001    compute in2 (22.1/30 + 1) * @ ,       @ / (22.1/30 + 1)
1002    compute in3 (2.8/1.9) * @,            @ * 1.9/2.8
1003    compute in4 (160/30.1 + 1) * @,       @ / (160/30.1 + 1)
1004    compute in5 (160/35.7)*(@ - in0) + @, (@ + in0 * 160/35.7)/ (1 + 160/35.7)
1005    compute in6 (36/16.2)*(@ - in0) + @,  (@ + in0 * 36/16.2) / (1 + 36/16.2)
1006
1007    set in0_min 5 * 0.95
1008    set in0_max 5 * 1.05
1009# What is your VTT? It is probably not this value...
1010    set in1_min 2*0.95
1011    set in1_max 2*1.05
1012    set in2_min 3.3 * 0.95
1013    set in2_max 3.3 * 1.05
1014# What is your VCore? It is probably not this value...
1015    set in3_min 1.9 * 0.95
1016    set in3_max 1.9 * 1.05
1017    set in4_min 12 * 0.95
1018    set in4_max 12 * 1.05
1019    set in5_min -12 * 1.05
1020    set in5_max -12 * 0.95
1021    set in6_min -5 * 1.05
1022    set in6_max -5 * 0.95
1023
1024# examples for lm80 temperature limits
1025# WARNING - nonstandard names and functions for the lm80!!!
1026# All 4 of these limits apply to the single temperature sensor.
1027# "hot" is like the standard alarm for most chips.
1028# "os" is the threshold for the overtemperature shutdown output.
1029# "os" may or may not do anything on your motherboard but it should
1030#  be set higher than the "hot" thresholds.
1031# Note that the /proc file 'temp" also has five entries instead of
1032# the usual three.
1033#    set temp_hot_hyst 45
1034#    set temp_hot_max  52
1035#    set temp_os_hyst  57
1036#    set temp_os_max   62
1037
1038
1039chip "maxilife-cg-*" "maxilife-co-*" "maxilife-as-*"
1040
1041   label fan1  "HDD Fan"
1042   label fan2  "PCI Fan"
1043   label fan3  "CPU Fan"
1044   ignore fan4
1045
1046   label temp2 "PCI Temp"
1047   label temp4 "HDD Temp"
1048   label temp5 "CPU Temp"
1049   ignore temp6
1050
1051   label vid1  "V+12"
1052   ignore vid5
1053
1054# vid1 need to be scaled by 6.337 other voltages
1055# require no scaling
1056
1057   compute vid1 6.337*@ , @/6.337
1058
1059
1060chip "maxilife-cg-*"
1061
1062   ignore temp1
1063   label temp3  "BX Temp"
1064
1065   label vid2   "Vcpu1"
1066   label vid3   "Vcpu2"
1067   ignore vid4
1068
1069
1070chip "maxilife-co-*"
1071
1072   label temp1  "CPU 1 Temp"
1073   label temp3  "CPU 2 Temp"
1074
1075   label vid2   "Vcpu1"
1076   label vid3   "Vcpu2"
1077   label vid4   "VcacheL2"
1078
1079
1080chip "maxilife-as-*"
1081
1082   ignore temp1
1083   ignore temp3
1084
1085   label vid2   "Vcpu"
1086   ignore vid3
1087   ignore vid4
1088
1089
1090chip "maxilife-nba-*"
1091
1092   label fan1  "CPU Fan"
1093   label fan2  "PCI Fan"
1094   label fan3  "HDD Fan"
1095   label fan4  "Heat Sink Fan"
1096
1097   label temp1  "CPU 1 Temp"
1098   label temp2  "CPU 2 Temp"
1099   label temp3  "PCI/Ambient Temp"
1100   label temp4  "HDD Temp"
1101   label temp5  "Motherboard Temp"
1102   label temp6  "CPU Reference Temp"
1103
1104   label vid1  "V+12"
1105   label vid2  "Vcpu1"
1106   label vid3  "Vcpu2"
1107   label vid4  "VcacheL2"
1108   label vid5  "V-12"
1109
1110
1111chip "via686a-*"
1112
1113# VIA is very specific about the voltage sensor inputs, and our labels
1114# reflect what they say.  Unfortunately, they are not at all specific about
1115# how to convert any of the register values to real units.  Fortunately,
1116# Jonathan Yew <j.teh@iname.com> and Alex van Kaam <darkside@chello.nl>
1117# came through with some data for temp conversion and formulae for voltage
1118# conversion. However, the conversions should be regarded as our best guess-
1119# YMMV.
1120
1121# On the Tyan S1598, the 2.5V sensor reads 0 and is not displayed in the BIOS.
1122# Linas Vepstas <linas@linas.org> reports that this sensor shows nothing of
1123# interest on the Abit KA7 (Athlon), and is also not displayed in the BIOS.
1124# Likewise, Johannes Drechsel-Burkhard <jdb@chello.at> reports that this
1125# sensor is unavailable in the BIOS of his MSI K7T Pro (Thunderbird).  So,
1126# if you have one of these boards you may want to uncomment the 'ignore 2.5V'
1127# line below.
1128
1129    label "2.0V" "CPU core"
1130    label "2.5V" "+2.5V"
1131    #ignore "2.5V"
1132    label "3.3V" "I/O"
1133    label "5.0V" "+5V"
1134    label "12V" "+12V"
1135
1136    label fan1  "CPU Fan"
1137    label fan2  "P/S Fan"
1138
1139# VIA suggests that temp3 is an internal temp sensor for the 686a.  However,
1140# on the Tyan S1598 as well as the Abit KA7 (Athalon), the absolute values
1141# of the readings from that sensor are not valid.  The readings do seem to
1142# correlate with temp changes, but the conversion factor may be quite
1143# different from temp1 & temp2 (as noted above, VIA has not provided
1144# conversion info).  So, you may wish to 'ignore temp3'.
1145
1146# Johannes Drechsel-Burkhard <jdb@chello.at> notes that on his MSI K7T Pro,
1147# temp1 is the CPU temp and temp2 is the SYS temp. Hugo van der Merwe notes
1148# the same for his Gigabyte GA-7DXC, and Olivier Martin for his Gigabyte
1149# GA-7ZM.
1150
1151    label temp1 "SYS Temp"
1152    label temp2 "CPU Temp"
1153    label temp3 "SBr Temp"
1154    #ignore temp3
1155
1156# Set your CPU core limits here if the BIOS did not.
1157
1158    #set in0_min 1.70 * 0.95
1159    #set in0_max 1.70 * 1.05
1160
1161# Other voltage values are standard so we can enforce the limits.
1162
1163    set in1_min 2.5 * 0.95
1164    set in1_max 2.5 * 1.05
1165    set in2_min 3.3 * 0.95
1166    set in2_max 3.3 * 1.05
1167    set in3_min 5 * 0.9
1168    set in3_max 5 * 1.1
1169    set in4_min 12 * 0.9
1170    set in4_max 12 * 1.1
1171
1172# Set your temp limits here.  Remember, 'tempX_over' is the temp at which an
1173# alarm is triggered, and 'tempX_hyst' is the temp at which an alarm turns off.
1174# Setting tempX_hyst to a few degrees below the corresponding tempX_over
1175# prevents an oscillation between alarm on and off states.  This kind of
1176# oscillation is known as hyteresis, thus the name.  (You typically get the
1177# most serious and troublesome hysteresis when a sensor triggers something to
1178# reduce the temp, thus creating a negative feedback loop.  Even without that,
1179# we would still get some oscillation when the temp hovers around the limit
1180# due to noise.)
1181
1182    set temp1_hyst 40
1183    set temp1_over 45
1184    set temp2_hyst 55
1185    set temp2_over 60
1186    set temp3_hyst 60
1187    set temp3_over 65
1188
1189# You could set your fan limits too, but the defaults should be fine.
1190
1191    #set fan1_min 5000
1192    #set fan2_min 5000
1193
1194
1195chip "mtp008-*"
1196
1197# The values below should be correct if you own a Tyan S1834D motherboard.
1198# If not, please contact us, so we can figure out better readings.
1199# FOR TYAN S2510 SEE END OF THIS SECTION.
1200
1201# For positive voltages outside the 0..4.09V range (in2..in4), two resistors
1202# are used, with the following formula (R1,R2: resistor values, Vs: read
1203# voltage, Vin: pin voltage)
1204#   Vin = Vs * (R2 / (R1 + R2))
1205# For negative voltages (in5) two resistors are used, with the following
1206# formula (R3,R4: resistor values, Vs: read voltage, Vin: pin voltage)
1207#   Vin = ((4.096 - Vs) * (R3 / (R3 + R4))) + Vs
1208
1209# Here are the official MTP008 data sheet values:
1210#       Vs      R1,R3   R2,R4    Vin
1211#      +12.0    28000   10000   +3.16
1212#      -12.0   232000   56000   +0.96
1213#       -5.0   120000   56000   +1.20
1214
1215    label in0 "VCore1"
1216    label in1 "+3.3V"
1217    label in2 "+12V"
1218    label in3 "Vcore2"
1219    ignore in4
1220    label in5 "-12V"
1221    label in6 "Vtt"
1222
1223    label fan1 "CPU1 Fan"
1224    label fan2 "CPU2 Fan"
1225    label fan3 "fan3"
1226
1227    label temp1 "CPU1 Temp"
1228    label temp2 "CPU2 Temp"
1229    ignore temp3
1230
1231    compute in2 @ * 38 / 10,            @ * 10 / 38
1232    compute in5 (@ * 36 - 118.61) / 7,  (118.61 + 7 * @) / 36
1233
1234# examples for temperature limits
1235#    set temp1_over 40
1236#    set temp1_hyst 37
1237#    set temp2_over 52
1238#    set temp2_hyst 47
1239#    set temp3_over 52
1240#    set temp3_hyst 47
1241
1242# End of standard mtp008 configuration
1243
1244# TYAN S2510 INFORMATION
1245# This motherboard has two mtp008's which are hooked up differently,
1246# so they must be configured separately.
1247# For this motherboard, COMMENT OUT the above mtp008 section and
1248# UNCOMMENT the following two sections.
1249#
1250#chip "mtp008-i2c-*-2c"
1251#    label in0 "VCore1"
1252#    set in0_min 1.60
1253#    set in0_max 1.80
1254#    label in1 "+3.3V"
1255#    label in2 "+12V"
1256#    label in3 "Vcore2"
1257#    set in3_min 1.60
1258#    set in3_max 1.80
1259#    ignore in4
1260#    label in5 "-12V"
1261#    label in6 "Vtt"
1262#    label fan1 "CPU1 Fan"
1263#    label fan2 "CPU2 Fan"
1264#    label fan3 "fan3"
1265#    label temp1 "CPU1 Temp"
1266#    label temp2 "CPU2 Temp"
1267#    ignore temp3
1268#    compute in2 @ * 38 / 10,           @ * 10 / 38
1269#    compute in5 (@ * 36 - 118.61) / 7, (118.61 + 7 * @) / 36
1270#
1271#chip "mtp008-i2c-*-2e"
1272#    ignore in0
1273#    label in1 "+3.3V"
1274#    ignore in2
1275#    label in3 "+5V"
1276#    set in3_min 4.50
1277#    set in3_max 5.50
1278#    ignore in4
1279#    label in5 "+3.3V"
1280#    ignore in6
1281#    label fan1 "fan4"
1282#    label fan2 "fan5"
1283#    label fan3 "fan6"
1284#    ignore temp1
1285#    label temp2 "MB Temp"
1286#    set temp2_over 52
1287#    set temp2_hyst 47
1288#    ignore temp3
1289
1290chip "adm1025-*" "ne1619-*"
1291
1292# The ADM1025 has integrated scaling resistors, rather
1293# than external resistors common to most sensor devices.
1294# These apply to the 6 voltage inputs in0-in5 (+2.5V, VCore,
1295# +3.3V, +5V, +12V, VCC). As the scaling is fixed inside
1296# the chip for these inputs, it is fairly certain that the
1297# motherboard connections match these labels, and that the
1298# driver computations are correct. Therefore they do not need to
1299# be overridden here.
1300
1301    label in0 "+2.5V"
1302    label in1 "VCore"
1303    label in2 "+3.3V"
1304    label in3 "+5V"
1305    label in4 "+12V"
1306    label in5 "VCC"
1307
1308# Adjust this if your vid is wrong; see doc/vid
1309#   set vrm 9.0
1310
1311# Tolerate a 5% deviance for CPU power-supply
1312    set in1_min vid * 0.95
1313    set in1_max vid * 1.05
1314# Tolerate a 10% deviance for other voltages
1315    set in0_min 2.5 * 0.90
1316    set in0_max 2.5 * 1.10
1317    set in2_min 3.3 * 0.90
1318    set in2_max 3.3 * 1.10
1319    set in3_min 5.0 * 0.90
1320    set in3_max 5.0 * 1.10
1321    set in4_min 12 * 0.90
1322    set in4_max 12 * 1.10
1323    set in5_min 3.3 * 0.90
1324    set in5_max 3.3 * 1.10
1325
1326# Depending on how your chipset is hardwired, you may or may not have
1327# +12V readings (will show as 0.0V if you don't have it).
1328#   ignore in4
1329
1330# VCC is the power-supply voltage of the ADM1025 chipset, generally
1331# redundant with +3.3V so you may want to hide it.
1332#   ignore in5
1333
1334# Temperatures
1335    label temp1 "CPU Temp"
1336    label temp2 "M/B Temp"
1337    set temp1_low 10
1338    set temp1_high 60
1339    set temp2_low 10
1340    set temp2_high 45
1341
1342
1343chip "lm87-*"
1344#
1345# The LM87 has integrated scaling resistors, rather
1346# than external resistors common to most sensor devices.
1347# These apply to the first 6 voltage inputs in0-in5
1348# (+2.5, Vccp1, +3.3, +5, 12, +Vccp2). As the scaling is fixed inside
1349# the chip for these inputs, it is fairly certain that the
1350# motherboard connections match these labels, and that the
1351# driver computations are correct. Therefore they do not need to
1352# be overridden here.
1353#
1354# Note: AIN1 (-12?), AIN2 (-5?) and temp3 require changing
1355# #defines in the driver and recompiling!!!
1356# This does not apply to the Linux 2.6 driver.
1357#
1358# This chip has non-standard entries in lib/chips.c so
1359# the feature names are quite different from other chips.
1360# For this chip, libsensors anticipates the correct labeling.
1361# This is great if it's correct but makes it a little more
1362# difficult if you want to change it.
1363#
1364# This may not have been a good idea, so it may be changed in the future.
1365# Here is an entry with everything commented out so you can
1366# uncomment the appropriate line if you want to change it.
1367#
1368# Warning - feature names starting with a number must be enclosed
1369# with double quotes.
1370
1371   label "2.5V"  "+2.5V"
1372   label Vccp1   "VCore"
1373   label "3.3V"  "+3.3V"
1374   label "5V"    "+5V"
1375   label "12V"   "+12V"
1376#   label Vccp2   "VCore2"
1377
1378   label fan1 "CPU Fan"
1379#   label fan2 "Case Fan"
1380   label temp1 "M/B Temp"
1381   label CPU_Temp "CPU Temp"
1382#   label temp3 "AUX Temp"
1383
1384   set Vccp1_min    vid * 0.95
1385   set Vccp1_max    vid * 1.05
1386   set "3.3V_min"   3.3 * 0.92
1387   set "3.3V_max"   3.3 * 1.08
1388   set "5V_min"       5 * 0.92
1389   set "5V_max"       5 * 1.08
1390   set "12V_min"     12 * 0.90
1391   set "12V_max"     12 * 1.10
1392
1393# These ones are mutually exclusive with temp3. If you have temp3,
1394# comment out these lines as they will trigger errors on "sensors -s".
1395   set "2.5V_min"   2.5 * 0.92
1396   set "2.5V_max"   2.5 * 1.08
1397   set Vccp2_min    vid * 0.95
1398   set Vccp2_max    vid * 1.05
1399
1400# Increase fan clock dividers if your fans read 0 RPM while you know
1401# they are connected and running.
1402#   set fan1_div 4
1403#   set fan2_div 4
1404
1405   set fan1_min 3000
1406   set fan2_min 3000
1407
1408   set temp1_min   5
1409   set temp1_max  65
1410   set temp2_min   5
1411   set temp2_max  70
1412
1413# Uncomment if you actually have temp3 (which means you don't have 2.5V
1414# nor Vccp2, as they are mutually exclusive).
1415#   set temp3_min   5
1416#   set temp3_max  70
1417
1418# LM87 AIN1 and AIN2 Section
1419# As described above, the driver must be recompiled to use either or
1420# both of these. -12 and -5 may be reversed on your board, this is
1421# just a guess, the datasheet gives no guidance.
1422# Note that the Linux 2.6 driver needs no recompilation, it'll read the
1423# configuration from the chip.
1424#   label AIN1 "-12V"
1425#   label AIN2 "-5V"
1426#   set AIN1_min -12 * 0.95
1427#   set AIN2_min -5 * 0.95
1428#   set AIN1_max -12 * 1.05
1429#   set AIN2_max -5 * 1.05
1430#   compute AIN1 (7.50 * @) - 21.45  ,  (@ + 21.45) / 7.50
1431#   compute AIN2 (4.05 * @) - 10.07  ,  (@ + 10.07) / 4.05
1432
1433chip "adm9240-*" "ds1780-*" "lm81-*"
1434#
1435# These chips have non-standard entries in lib/chips.c so
1436# the feature names are quite different from other chips.
1437# For these chips, libsensors anticipates the correct labeling.
1438# This is great if it's correct but makes it a little more
1439# difficult if you want to change it.
1440#
1441# This may not have been a good idea, so it may be changed in the future.
1442# Here is an entry with everything commented out so you can
1443# uncomment the appropriate line if you want to change it.
1444#
1445# Warning - feature names starting with a number must be enclosed
1446# with double quotes.
1447#
1448#   label "2.5V" "xxx"
1449#   label Vccp1 "xxx"
1450#   label "3.3V" "xxx"
1451#   label "5V" "xxx"
1452#   label "12V" "xxx"
1453#   label Vccp2 "xxx"
1454#   label fan1 "xxx"
1455#   label fan2 "xxx"
1456#   label temp "xxx"
1457#
1458#   set Vccp1_min xxx
1459#   set "2.5V_min" xxx
1460#   set "3.3V_min" xxx
1461#   set "5V_min" xxx
1462#   set "12V_min" xxx
1463#   set Vccp2_min xxx
1464#
1465#   set Vccp1_max xxx
1466#   set "2.5V_max" xxx
1467#   set "3.3V_max" xxx
1468#   set "5V_max" xxx
1469#   set "12V_max" xxx
1470#   set Vccp2_max xxx
1471#
1472#   set fan1_div xxx    Note: do not uncomment with kernel 2.6 driver
1473#   set fan2_div xxx    Note: do not uncomment with kernel 2.6 driver
1474#   set fan1_min xxx
1475#   set fan2_min xxx
1476#   set temp1_hyst xxx
1477#   set temp1_over xxx
1478
1479#   compute "2.5V" xxx
1480#   compute Vccp1 xxx
1481#   compute "3.3V" xxx
1482#   compute "5V" xxx
1483#   compute "12V" xxx
1484#   compute Vccp2 xxx
1485#   compute temp xxx
1486
1487chip "adm1024-*"
1488#
1489# These settings work for me, adjust for your system
1490#
1491    label fan1 "CPU1 fan"
1492    label fan2 "CPU2 fan"
1493    label temp "SYS Temp"
1494    label temp1 "CPU2 Temp"
1495    label temp2 "CPU1 Temp"
1496    ignore "2.5V" # This register is also used for temp2
1497    ignore "Vccp1"
1498    ignore "Vccp2"
1499
1500
1501chip "it87-*" "it8712-*"
1502
1503# The values below have been tested on Asus CUSI, CUM motherboards.
1504
1505# Voltage monitors as advised in the It8705 data sheet
1506
1507    label in0 "VCore 1"
1508    label in1 "VCore 2"
1509    label in2 "+3.3V"
1510    label in3 "+5V"
1511    label in4 "+12V"
1512    label in5 "-12V"
1513    label in6 "-5V"
1514    label in7 "Stdby"
1515    label in8 "VBat"
1516
1517    # vid is not monitored by IT8705F
1518    # comment out if you have IT8712
1519    ignore  vid
1520
1521# Incubus Saturnus reports that the IT87 chip on Asus A7V8X-X seems
1522# to report the VCORE voltage approximately 0.05V higher than the board's
1523# BIOS does. Although it doesn't make much sense physically, uncommenting
1524# the next line should bring the readings in line with the BIOS' ones in
1525# this case.
1526# compute in0 -0.05+@ , @+0.05
1527
1528# If 3.3V reads 2X too high (Soyo Dragon and Asus A7V8X-X, for example),
1529# comment out following line.
1530    compute in2   2*@ , @/2
1531#
1532    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1533    compute in4 ((30/10) +1)*@  , @/((30/10) +1)
1534# For this family of chips the negative voltage equation is different from
1535# the lm78.  The chip uses two external resistor for scaling but one is
1536# tied to a positive reference voltage.  See ITE8705/12 datasheet (SIS950
1537# data sheet is wrong)
1538# Vs = (1 + Rin/Rf) * Vin - (Rin/Rf) * Vref.
1539# Vref = 4.096 volts, Vin is voltage measured, Vs is actual voltage.
1540
1541# The next two are negative voltages (-12 and -5).
1542# The following formulas must be used. Unfortunately the datasheet
1543# does not give recommendations for Rin, Rf, but we can back into
1544# them based on a nominal +2V input to the chip, together with a 4.096V Vref.
1545# Formula:
1546#    actual V = (Vmeasured * (1 + Rin/Rf)) - (Vref * (Rin/Rf))
1547#    For -12V input use Rin/Rf = 6.68
1548#    For -5V input use Rin/Rf = 3.33
1549# Then you can convert the forumula to a standard form like:
1550    compute in5 (7.67 * @) - 27.36  ,  (@ + 27.36) / 7.67
1551    compute in6 (4.33 * @) - 13.64  ,  (@ + 13.64) / 4.33
1552#
1553# this much simpler version is reported to work for a
1554# Elite Group K7S5A board
1555#
1556#   compute in5 -(36/10)*@, -@/(36/10)
1557#   compute in6 -(56/10)*@, -@/(56/10)
1558#
1559    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1560
1561    set in0_min 1.5 * 0.95
1562    set in0_max 1.5 * 1.05
1563    set in1_min 2.4
1564    set in1_max 2.6
1565    set in2_min 3.3 * 0.95
1566    set in2_max 3.3 * 1.05
1567    set in3_min 5.0 * 0.95
1568    set in3_max 5.0 * 1.05
1569    set in4_min 12 * 0.95
1570    set in4_max 12 * 1.05
1571    set in5_max -12 * 0.95
1572    set in5_min -12 * 1.05
1573    set in6_max -5 * 0.95
1574    set in6_min -5 * 1.05
1575    set in7_min 5 * 0.95
1576    set in7_max 5 * 1.05
1577    #the chip does not support in8 min/max
1578
1579# Temperature
1580#
1581# Important - if your temperature readings are completely whacky
1582# you probably need to change the sensor type.
1583# Adujst and uncomment the appropriate lines below.
1584# The old method (modprobe it87 temp_type=0xXX) is no longer supported.
1585#
1586# 2 = thermistor; 3 = thermal diode; 0 = unused
1587#   set sensor1 3
1588#   set sensor2 3
1589#   set sensor3 3
1590# If a given sensor isn't used, you will probably want to ignore it
1591# (see ignore statement right below).
1592
1593    label temp1       "M/B Temp"
1594    set   temp1_over  40
1595    set   temp1_low   15
1596    label temp2       "CPU Temp"
1597    set   temp2_over  45
1598    set   temp2_low   15
1599#   ignore temp3
1600    label temp3       "Temp3"
1601    set   temp3_over  45
1602    set   temp3_low   15
1603
1604# The A7V8X-X has temperatures inverted, and needs a conversion for
1605# CPU temp. Thanks to Preben Randhol for the formula.
1606#   label temp1       "CPU Temp"
1607#   label temp2       "M/B Temp"
1608#   compute temp1     (-15.096+1.4893*@), (@+15.096)/1.4893
1609
1610# The A7V600 also has temperatures inverted, and needs a different
1611# conversion for CPU temp. Thanks to Dariusz Jaszkowski for the formula.
1612#   label temp1       "CPU Temp"
1613#   label temp2       "M/B Temp"
1614#   compute temp1     (@+128)/3, (3*@-128)
1615
1616# Fans
1617    set fan1_min 0
1618    set fan2_min 3000
1619#   ignore fan3
1620    set fan3_min 3000
1621
1622# The following is for the Inside Technologies 786LCD which uses either a
1623# IT8705F or a SIS950 for monitoring with the SIS630.
1624#
1625# delete or comment out above it87 section and uncomment the following.
1626#chip "it87-*"
1627#    label in0 "VCore 1"
1628#    label in1 "VCore 2"
1629#    label in2 "+3.3V"
1630#    label in3 "+5V"
1631#    label in4 "+12V"
1632#    label in5 "3.3 Stdby"
1633#    label in6 "-12V"
1634#    label in7 "Stdby"
1635#    label in8 "VBat"
1636    # in0 will depend on your processor VID value, set to voltage specified in
1637    # bios setup screen
1638#    set in0_min 1.7 * 0.95
1639#    set in0_max 1.7 * 1.05
1640#    set in1_min 2.4
1641#    set in1_max 2.6
1642#    set in2_min 3.3 * 0.95
1643#    set in2_max 3.3 * 1.05
1644#    set in3_min 5.0 * 0.95
1645#    set in3_max 5.0 * 1.05
1646    # +- 12V are very poor tolerance on this board. Verified with voltmeter
1647#    set in4_min 12 * 0.90
1648#    set in4_max 12 * 1.10
1649#    set in5_min 3.3 * 0.95
1650#    set in5_max 3.3 * 1.05
1651#    set in6_max -12 * 0.90
1652#    set in6_min -12 * 1.10
1653#    set in7_min 5 * 0.95
1654#    set in7_max 5 * 1.05
1655    # vid not monitored by IT8705F
1656#    ignore  vid
1657
1658#    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1659#    compute in4 ((30/10) +1)*@  , @/((30/10) +1)
1660#    compute in6 (1+232/56)*@ - 4.096*232/56, (@ + 4.096*232/56)/(1+232/56)
1661#    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1662    # Temperature
1663#    label temp1       "CPU Temp"
1664#    ignore temp2
1665#    ignore temp3
1666    # Fans
1667#    set fan1_min 3000
1668#    ignore fan2
1669#    ignore fan3
1670
1671
1672chip "fscpos-*"
1673# Fujitsu-Siemens Poseidon chip
1674
1675# Temperature
1676
1677    label temp1       "Temp1/CPU"
1678    label temp2       "Temp2/MB"
1679    label temp3       "Temp3/AUX"
1680
1681# Fans
1682
1683    label fan1        "Fan1"
1684    label fan2        "Fan2"
1685    label fan3        "Fan3"
1686
1687# Voltage
1688
1689    label volt12      "+12V"
1690    label volt5       "+5V"
1691    label voltbatt    "Battery"
1692
1693
1694chip "fscscy-*"
1695# Fujitsu-Siemens Scylla chip
1696
1697# Temperature
1698
1699    label temp1       "Temp1/CPU0"
1700    label temp2       "Temp2/CPU1"
1701    label temp3       "Temp3/MB"
1702    label temp4       "Temp4/AUX"
1703
1704# Fans
1705
1706    label  fan1       "Fan1/CPU0"
1707    label  fan2       "Fan2/CPU0"
1708    label  fan3       "Fan3"
1709    label  fan4       "Fan4"
1710    label  fan5       "Fan5"
1711    label  fan6       "Fan6"
1712
1713# Voltage
1714
1715    label volt12      "+12V"
1716    label volt5       "+5V"
1717    label voltbatt    "+3.3V"
1718
1719
1720chip "fscher-*"
1721# Fujitsu-Siemens Hermes chip
1722
1723# Temperature
1724    label temp1       "Temp1/CPU"
1725    label temp2       "Temp2/MB"
1726    label temp3       "Temp3/AUX"
1727
1728# Fans
1729    label fan1        "Fan1/PS"
1730    label fan2        "Fan2/CPU"
1731    label fan3        "Fan3/AUX"
1732
1733# Voltage
1734    label in0         "+12V"
1735    label in1         "+5V"
1736    label in2         "Battery"
1737
1738# Compute Voltages using mainboard dependant MRO-values
1739# (see doc/chips/fscher)
1740#                           M    R             O               O                  M    R
1741    compute in0       (@ * (49 * 33) / 255) + (0 / 100), (@ - (0 / 100)) * 255 / (49 * 33)
1742    compute in1       (@ * (20 * 33) / 255) + (0 / 100), (@ - (0 / 100)) * 255 / (20 * 33)
1743    compute in2       (@ * (10 * 33) / 255) + (0 / 100), (@ - (0 / 100)) * 255 / (10 * 33)
1744
1745# Read documentation before enabling pwm settings (see doc/chips/fscher)
1746# WARNING: IMPROPER VALUES MAY DAMAGE YOUR SYSTEM DUE TO OVERHEATING!
1747
1748# Allow fans to turn off
1749#    set pwm1          0
1750#    set pwm2          0
1751#    set pwm3          0
1752
1753# Min cooling
1754#    set pwm1          2
1755#    set pwm2          1
1756#    set pwm3          1
1757
1758# Max cooling
1759#    set pwm1          255
1760#    set pwm2          255
1761#    set pwm3          255
1762
1763
1764chip "pcf8591-*"
1765#
1766#    values for the Philips PCF8591 chip
1767#
1768# Analog inputs
1769
1770   ignore ain_conf
1771# Since Linux 2.6, input configuration is set as module parameter,
1772# so the line below is for older kernels only.
1773#  set    ain_conf    0
1774
1775# You may discard ch2 and ch3 if you don't use them (depends on the input
1776# configuration)
1777#  ignore ch2
1778#  ignore ch3
1779
1780   label  ch0         "Chan. 0"
1781   label  ch1         "Chan. 1"
1782   label  ch2         "Chan. 2"
1783   label  ch3         "Chan. 3"
1784
1785# The driver assumes Vref = 2.56V and Agnd = 0V. If it doesn't match
1786# your hardware, you have to use compute lines. The example below is
1787# correct for Vref = 5.0V and Agnd = 0V.
1788#  compute ch0 (@ * 500 / 256), (@ * 256 / 500)
1789#  compute ch1 (@ * 500 / 256), (@ * 256 / 500)
1790#  compute ch2 (@ * 500 / 256), (@ * 256 / 500)
1791#  compute ch3 (@ * 500 / 256), (@ * 256 / 500)
1792
1793# Analog output
1794
1795   ignore aout_enable
1796   set    aout_enable 1
1797   label  aout        "Output"
1798   set    aout        0
1799
1800chip "adm1021-*" "adm1023-*" "max1617-*" "max1617a-*" "thmc10-*" "lm84-*" "gl523sm-*" "mc1066-*"
1801
1802   label temp           "Board"
1803   label remote_temp    "CPU"
1804#   set temp_low                40
1805#   set temp_over               70
1806#   set remote_temp_low         40
1807#   set remote_temp_over        70
1808
1809chip "lm83-*"
1810
1811   label temp1 "M/B Temp"
1812   label temp2 "D1 Temp"
1813   label temp3 "CPU Temp"
1814   label temp4 "D3 Temp"
1815
1816# ignore D1 and/or D3 readings if not used
1817#   ignore temp2
1818#   ignore temp4
1819
1820# change high limits to fit your needs
1821#   set temp1_high 55
1822#   set temp2_high 60
1823#   set temp3_high 65
1824#   set temp4_high 60
1825
1826# change critical limit to fit your needs
1827# only one limit for all four temperatures
1828# should be higher than each of the high limits above
1829#   set tcrit 85
1830
1831
1832chip "max1619-*"
1833
1834   label temp1 "M/B Temp"
1835   label temp2 "CPU Temp"
1836
1837# change high and low limits to fit your needs
1838   set temp2_min   10
1839   set temp2_max   100
1840
1841# change critical limit and hysteresis to fit your needs
1842   set temp2_crit  50
1843   set temp2_hyst  40
1844
1845
1846chip "lm90-*" "adm1032-*" "lm86-*" "max6657-*" "adt7461-*"
1847
1848   label temp1 "M/B Temp"
1849   label temp2 "CPU Temp"
1850   label tcrit1 "M/B Crit"
1851   label tcrit2 "CPU Crit"
1852
1853# change high and low limits to fit your needs
1854#   set temp1_low  10
1855#   set temp1_high 55
1856#   set temp2_low  10
1857#   set temp2_high 66
1858
1859# change critical limits to fit your needs
1860# should be higher than the corresponding high limit above
1861#   set tcrit1 75
1862#   set tcrit2 85
1863
1864# change the hysteresis values (to critical limits) to fit your needs
1865# note #1: hyst2 will be automatically set with the same delta
1866# note #2: the internal register, which stores a single, relative value
1867# for both channels, cannot hold values greater than 31, so the delta
1868# between critical temperatures and respective absolute hysteresis can
1869# never exceed this value
1870#   set hyst1 70
1871
1872chip "lm99-*"
1873
1874   label temp1 "G/C Temp"
1875   label temp2 "GPU Temp"
1876   label tcrit1 "G/C Crit"
1877   label tcrit2 "GPU Crit"
1878
1879# note #1: only the LM99 needs this; for a LM89, comment the compute line
1880# out
1881# note #2: there is no way for us to differentiate between a LM89 and a
1882# LM99; you have to know what you have; LM99 are frequently found on
1883# graphics cards, most notably nVidia ones
1884   compute temp2 @+16, @-16
1885
1886# change high and low limits to fit your needs
1887#   set temp1_low  10
1888#   set temp1_high 90
1889#   set temp2_low  10
1890#   set temp2_high 100
1891
1892# change critical limits to fit your needs
1893# should be higher than the corresponding high limit above
1894#   set tcrit1 100
1895#   set tcrit2 110
1896
1897# change the hysteresis values (to critical limits) to fit your needs
1898# note #1: hyst2 will be automatically set with the same delta
1899# note #2: the internal register, which stores a single, relative value
1900# for both channels, cannot hold values greater than 31, so the delta
1901# between critical temperatures and respective absolute hysteresis can
1902# never exceed this value
1903#   set hyst1 105
1904
1905
1906chip "lm63-*"
1907
1908   label temp1       "M/B Temp"
1909   label temp2       "CPU Temp"
1910   label temp2_crit  "CPU Crit"
1911   label fan1        "CPU Fan"
1912
1913# Change limits to fit your needs. Note that temp2_crit is read-only.
1914#   set temp1_high       50
1915#   set temp2_low        10
1916#   set temp2_high       70
1917#   set temp2_crit_hyst  75
1918#   set fan1_min         2000
1919
1920
1921chip "vt1211-*"
1922#
1923# temp1 and in6 are not implemented in vt1211
1924#
1925#                                                       1 for temp, 0 for volt.
1926#       Sensor          Voltage Mode    Temp Mode       config bit
1927#       --------        ------------    ---------       --------------
1928#       Reading 1                       temp3
1929#       UCH1/Reading2   in0             temp2           0x04 (4)
1930#       UCH2            in1             temp4           0x08 (8)
1931#       UCH3            in2             temp5           0x10 (16)
1932#       UCH4            in3             temp6           0x20 (32)
1933#       UCH5            in4             temp7           0x40 (64)
1934#       3.3V            in5
1935#
1936# set uch1-2 to temp mode, uch3-5 to voltage mode
1937#
1938#   set config 12
1939    ignore in0
1940    ignore in1
1941    ignore temp5
1942    ignore temp6
1943    ignore temp7
1944
1945# IMPORTANT: If you get "ERROR: Can't get TEMPX data!" from "sensors",
1946# where X is 2, 4, 5, 6 or 7, although you have this UCH set to
1947# temperature, this generally means that this UCH isn't (physically)
1948# used for temperature, so you should add an ignore statement for tempX
1949# and change the "config" value to reflect the fact that this UCH is
1950# probably used for voltage.
1951
1952#   label in0 "unused"
1953#   label in1 "unused"
1954    label in2 "VCore1"
1955    label in3 "+5V"
1956    label in4 "+12V"
1957    label in5 "+3.3V"
1958
1959    label temp2 "MB1 Temp"
1960    label temp3 "Proc Temp"
1961    label temp4 "MB2 Temp"
1962#
1963#   All voltage calculations have the form
1964#       ((@ * 100) - 3) / (K * 95.8), (@ * K * 0.958) + .03
1965#   where K = R2 / (R1 + R2).
1966#   Use the following K values based on input voltage.
1967#   This of course assumes the mobo has the resistors
1968#   recommended by Via in the datasheet.
1969#       Voltage                 K
1970#       VCore                   1.0
1971#       2.5                     0.8333
1972#       3.3 (in5 internal)      0.6296
1973#       3.5 (3.3V ext.)         0.5952
1974#       5.0                     0.4167
1975#       12.0                    0.1754
1976#
1977#   compute in0 ((@ * 100) - 3) / (0.5952 * 95.8), (@ * 0.5952 * 0.958) + .03
1978#   compute in1 ((@ * 100) - 3) / (0.8333 * 95.8), (@ * 0.8333 * 0.958) + .03
1979    compute in2 ((@ * 100) - 3) / (0.5952 * 95.8), (@ * 0.5952 * 0.958) + .03
1980    compute in3 ((@ * 100) - 3) / (0.4167 * 95.8), (@ * 0.4167 * 0.958) + .03
1981    compute in4 ((@ * 100) - 3) / (0.1754 * 95.8), (@ * 0.1754 * 0.958) + .03
1982    compute in5 ((@ * 100) - 3) / (0.6296 * 95.8), (@ * 0.6296 * 0.958) + .03
1983
1984# adjust this if your vid is wrong; see doc/vid
1985#   set vrm 9.1
1986
1987#   set in0_min 2.5 * 0.95
1988#   set in0_max 2.5 * 1.05
1989#   set in1_min 2.5 * 0.95
1990#   set in1_max 2.5 * 1.05
1991    set in2_min vid * 0.97
1992    set in2_max vid * 1.03
1993    set in3_min 5.0 * 0.95
1994    set in3_max 5.0 * 1.05
1995    set in4_min 12.0 * 0.90
1996    set in4_max 12.0 * 1.10
1997    set in5_min 3.3 * 0.95
1998    set in5_max 3.3 * 1.05
1999
2000    compute temp3  (@ - 65) / 0.9686,  (@ * 0.9686) + 65
2001#
2002# thermistor calculations.
2003# 3435 is the thermistor beta.
2004# '^' is the e**x operator; '`' is the ln(x) operator
2005# (valid in library version 1.4.0 / lm_sensors 2.7.1 or higher)
2006# This assumes that the thermistor forms a resistor divider with a resistor
2007# equal to its nominal value @ 25C. If not, the math gets even harder.
2008#
2009    compute temp2  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
2010                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
2011    compute temp4  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
2012                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
2013    compute temp5  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
2014                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
2015    compute temp6  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
2016                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
2017    compute temp7  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
2018                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
2019
2020    set temp2_hyst 40
2021    set temp2_over 45
2022    set temp3_hyst 60
2023    set temp3_over 65
2024    set temp4_hyst 40
2025    set temp4_over 45
2026
2027    set fan1_min 3000
2028    set fan2_min 3000
2029
2030chip "vt8231-*"
2031#
2032#                                                       1 for temp, 0 for volt.
2033#       Sensor          Voltage Mode    Temp Mode       config bit
2034#       --------        ------------    ---------       --------------
2035#       Reading 1                       temp1
2036#       UCH1            in0             temp2           0x04 (4)
2037#       UCH2            in1             temp3           0x08 (8)
2038#       UCH3            in2             temp4           0x10 (16)
2039#       UCH4            in3             temp5           0x20 (32)
2040#       UCH5            in4             temp6           0x40 (64)
2041#       3.3V            in5
2042#
2043# Hardware default is UCH1 in temp mode, UCH2-5 in voltage mode
2044# Note that the Linux 2.6 driver will not let you change the channel
2045# configuration. In theory, the BIOS should have done it properly.
2046#   set config 4
2047
2048#    ignore in0
2049#    ignore temp3
2050#    ignore temp4
2051#    ignore temp5
2052#    ignore temp6
2053
2054    label in1 "+2.5V"
2055    label in2 "VCore"
2056    label in3 "+5V"
2057    label in4 "+12V"
2058    label in5 "+3.3V"
2059
2060    label temp1 "CPU Temp"
2061    label temp2 "M/B Temp"
2062
2063# Here are the resistor values as recommended by VIA:
2064#   Voltage                     R1      R2
2065#   VCore                       no scaling
2066#    2.5                        2k      10k
2067#    3.5 (3.3V ext.)            6.8k    10k
2068#    5.0                        14k     10k
2069#   12.0                        47k     10k
2070
2071#   compute in0  @ * (1 + 6.8 / 10),  @ / (1 + 6.8 / 10)
2072    compute in1  @ * (1 +   2 / 10),  @ / (1 +   2 / 10)
2073    compute in3  @ * (1 +  14 / 10),  @ / (1 +  14 / 10)
2074    compute in4  @ * (1 +  47 / 10),  @ / (1 +  47 / 10)
2075# in5 is scaled internally so scaling is done by the driver.
2076
2077#   set in0_min 2.5 * 0.95
2078#   set in0_max 2.5 * 1.05
2079#   set in1_min 2.5 * 0.95
2080#   set in1_max 2.5 * 1.05
2081# Replace "2.0" with your nominal CPU voltage for in2.
2082#   set in2_min 2.0 * 0.95
2083#   set in2_max 2.0 * 1.05
2084#   set in3_min 5.0 * 0.95
2085    set in3_max 5.0 * 1.05
2086    set in4_min 12.0 * 0.95
2087    set in4_max 12.0 * 1.05
2088    set in5_min 3.3 * 0.95
2089    set in5_max 3.3 * 1.05
2090
2091# For Intel CPU:
2092    compute temp1  (@ - 65) / 0.9686,  (@ * 0.9686) + 65
2093
2094# For VIA EPIA CPU (provided by Roger Lucas):
2095#   compute temp1  (@ - 45) / 0.7809,  (@ * 0.7809) + 45
2096
2097# Thermistor calculations
2098# 3435 is the thermistor beta, 2.2 is the reference voltage.
2099# '^' is the e**x operator; '`' is the ln(x) operator
2100# (valid in library version 1.4.0 / lm_sensors 2.7.1 or higher)
2101# This assumes that the thermistor forms a resistor divider with a resistor
2102# equal to its nominal value @ 25C.
2103
2104    compute temp2  3435 / (` (1 / (1 - @ / 2.2) - 1) + 3435 / 298.15) - 273.15, \
2105                   2.2 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
2106    compute temp3  3435 / (` (1 / (1 - @ / 2.2) - 1) + 3435 / 298.15) - 273.15, \
2107                   2.2 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
2108
2109#    set temp2_hyst 40
2110#    set temp2_over 45
2111#    set temp3_hyst 60
2112#    set temp3_over 65
2113
2114#    set fan1_min 3000
2115#    set fan2_min 3000
2116
2117chip "bmc-*"
2118#
2119# You should not need compute lines here, the driver will
2120# do all the conversions.
2121# For label lines, copy from syslog/dmesg when the bmcsensors
2122# module is inserted.
2123#
2124# for example:
2125# label temp1 "Ambient Temp"
2126
2127
2128chip "smsc47m1-*"
2129
2130# SMSC LPC47M10x, LPC47M13x, LPC47M14x and LPC47B27x chips
2131
2132# We don't set the fan mins by default anymore because they may not exist
2133# when using the Linux 2.6 driver (since we respect the original chip
2134# configuration).
2135#    set fan1_min 3000
2136#    set fan2_min 3000
2137
2138
2139#
2140# This example was tested vs. Asus P4S333
2141#
2142chip "asb100-*"
2143# adjust this if your vid is wrong; see doc/vid
2144    #set vrm 9.0
2145
2146    label in0 "VCore 1"
2147    set in0_min vid * 0.95
2148    set in0_max vid * 1.05
2149
2150    label in1 "VCore 2"
2151    ignore in1
2152    set in1_min vid * 0.95
2153    set in1_max vid * 1.05
2154
2155    label in2 "+3.3V"
2156    set in2_min 3.3 * 0.95
2157    set in2_max 3.3 * 1.05
2158
2159    label in3 "+5V"
2160    compute in3 1.68 * @ ,  @ / 1.68
2161    set in3_min 5.0 * 0.95
2162    set in3_max 5.0 * 1.05
2163
2164    label in4 "+12V"
2165    compute in4 3.8 * @ , @ / 3.8
2166    set in4_min 12  * 0.90
2167    set in4_max 12  * 1.10
2168
2169    label in5 "-12V (reserved)"
2170    #ignore in5
2171    compute in5 -@ * 3.97 ,  -@ / 3.97
2172    set in5_max -12 * 0.90
2173    set in5_min -12 * 1.10
2174
2175    label in6 "-5V (reserved)"
2176    #ignore in6
2177    compute in6 -@ * 1.666 , -@ / 1.666
2178    set in6_max -5  * 0.95
2179    set in6_min -5  * 1.05
2180
2181    label temp1 "M/B Temp"
2182    set temp1_over 45
2183    set temp1_hyst 40
2184
2185    label temp2 "CPU Temp (Intel)"
2186    #ignore temp2
2187    set temp2_over 60
2188    set temp2_hyst 50
2189
2190    # PWRTMP connector on P4S333, for external sensor
2191    label temp3 "Power Temp"
2192    #ignore temp3
2193    set temp3_over 45
2194    set temp3_hyst 40
2195
2196
2197    # Used for Athlon diode, ignore for P4S333
2198    label temp4 "CPU Temp (AMD)"
2199    set temp4_over 60
2200    set temp4_hyst 50
2201    #ignore temp4
2202
2203    label fan1 "CPU Fan"
2204    set fan1_div 4
2205    set fan1_min 2000
2206
2207    label fan2 "Chassis Fan"
2208    set fan2_div 2
2209    set fan2_min 4000
2210
2211    label fan3 "Power Fan"
2212    set fan3_div 2
2213    set fan3_min 4000
2214
2215#
2216# Sample configuration for the Intel S845WD1-E
2217# courtesy of Marcus Schopen
2218#
2219chip "lm85c-*" "adm1027-*" "adt7463-*" "lm85-*" "lm85b-*"
2220
2221   set temp1_max 50
2222
2223# Voltage inputs
2224   label in0   "V1.5"      # AGP on Intel S845WD1-E
2225   label in1   "VCore"
2226   label in2   "V3.3"
2227   label in3   "V5"
2228   label in4   "V12"
2229
2230# Temperature inputs
2231   label temp1  "CPU"
2232   label temp2  "Board"
2233   label temp3  "Remote"
2234
2235# Fan inputs
2236   label fan1   "CPU_Fan"
2237#   label fan2   "Fan2"
2238#   label fan3   "Fan3"
2239#   label fan4   "Fan4"
2240
2241# PWM Outputs
2242   label pwm1   "CPU_PWM"
2243   label pwm2   "Fan2_PWM"
2244   label pwm3   "Fan3_PWM"
2245
2246# Voltage scaling is done on-chip.  No 'compute' directive
2247# should be necessary.  If in0 has external scaling set
2248# it here.
2249
2250#   compute in0  @ * 2.5,   @ / 2.5
2251
2252# Adjust fans speeds for actual pulses per rev
2253#   compute fan1  @ * 2,  @ / 2    # 1 pulse per rev
2254#   set fan1_ppr  1                # ADM1027 or ADT7463
2255#   compute fan2  @ / 2,  @ * 2    # 4 pulse per rev
2256#   set fan2_ppr  4                # ADM1027 or ADT7463
2257
2258# Ignore fans you (or your motherboard) don't have
2259#   ignore fan2
2260#   ignore fan3
2261#   ignore fan4
2262
2263# Set VRM version
2264# adjust this if your vid is wrong; see doc/vid
2265#   set vrm  9.1   # Pentium 4
2266
2267# Set voltage limits
2268   set in0_min  1.5 * 0.95
2269   set in0_max  1.5 * 1.05
2270   set in1_min  vid * 0.95
2271   set in1_max  vid * 1.05
2272   set in2_min  3.3 * 0.95
2273   set in2_max  3.3 * 1.05
2274   set in3_min  5.0 * 0.95
2275   set in3_max  5.0 * 1.05
2276   set in4_min   12 * 0.95
2277   set in4_max   12 * 1.05
2278
2279# Set Fan limits
2280   set fan1_min 4000
2281
2282# Set Temp Limits
2283   set temp1_min 10
2284   set temp1_max 50
2285   set temp2_min 10
2286   set temp2_max 35
2287   set temp3_min 10
2288   set temp3_max 35
2289
2290chip "pc87366-*"
2291
2292# Voltage inputs
2293
2294# Set VRM version (default 9.0)
2295#   set vrm     9.0
2296
2297   label in7   "Vsb"
2298   label in8   "Vdd"
2299   label in9   "Vbat"
2300   label in10  "AVdd"
2301
2302   compute in7   @*2, @/2
2303   compute in8   @*2, @/2
2304   compute in10  @*2, @/2
2305
2306# These are the operating conditions as recommended by National
2307# Semiconductor
2308   set in7_min   3.0
2309   set in7_max   3.6
2310   set in8_min   3.0
2311   set in8_max   3.6
2312   set in9_min   2.4
2313   set in9_max   3.6
2314   set in10_min  3.0
2315   set in10_max  3.6
2316
2317# Temperature inputs
2318
2319   label temp1       "CPU0 Temp"
2320   label temp1_crit  "CPU0 Crit"
2321   label temp2       "CPU1 Temp"
2322   label temp2_crit  "CPU1 Crit"
2323   label temp3       "S-IO Temp"
2324   label temp3_crit  "S-IO Crit"
2325
2326   set temp1_min    0
2327   set temp1_max   70
2328   set temp1_crit  85
2329   set temp2_min    0
2330   set temp2_max   70
2331   set temp2_crit  85
2332   set temp3_min    0
2333   set temp3_max   70
2334   set temp3_crit  85
2335
2336# Thermistors
2337# On some systems, thermistors are used instead of thermal diodes.
2338# Note that these are the same pins used differently, so you really
2339# can't have them all on a given system.
2340#   ignore temp1
2341#   ignore temp2
2342   ignore temp4
2343   ignore temp5
2344   ignore temp6
2345
2346# 3435 is the thermistor beta.
2347# This assumes that the thermistor forms a resistor divider with a resistor
2348# equal to its nominal value at 25 degres Celsius. If not, change the values.
2349# We also assume that you have a working in10 (which is forcibly enabled by
2350# default). If not, use 3.3 instead, but you lose accuracy.
2351
2352   compute temp4  3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \
2353                  in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
2354   compute temp5  3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \
2355                  in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
2356   compute temp6  3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \
2357                  in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
2358
2359#   set temp4_min    0
2360#   set temp4_max   70
2361#   set temp4_crit  85
2362#   set temp5_min    0
2363#   set temp5_max   70
2364#   set temp5_crit  85
2365#   set temp6_min    0
2366#   set temp6_max   70
2367#   set temp6_crit  85
2368
2369# Fan inputs
2370
2371# Ignore fans you don't have
2372#   ignore fan2
2373#   ignore fan3
2374
2375   set fan1_min 2000
2376   set fan2_min 2000
2377   set fan3_min 2000
2378
2379
2380chip "adm1030-*"
2381
2382   label temp1 "SYS Temp"
2383   label temp2 "CPU Temp"
2384   label temp1_crit "SYS Crit"
2385   label temp2_crit "CPU Crit"
2386
2387   set temp1_max  60
2388   set temp2_max  70
2389   set temp1_crit 85
2390   set temp2_crit 85
2391
2392   label fan1 "CPU Fan"
2393
2394   set fan1_min 2000
2395
2396
2397chip "adm1031-*"
2398
2399   label temp1 "SYS Temp"
2400   label temp2 "CPU Temp"
2401   label temp3 "AUX Temp"
2402   label temp1_crit "SYS Crit"
2403   label temp2_crit "CPU Crit"
2404   label temp3_crit "AUX Crit"
2405
2406   set temp1_max  60
2407   set temp2_max  70
2408   set temp3_max  70
2409   set temp1_crit 85
2410   set temp2_crit 85
2411   set temp3_crit 85
2412
2413   label fan1 "CPU Fan"
2414   label fan2 "Case Fan"
2415
2416   set fan1_min 2000
2417   set fan2_min 2000
2418
2419
2420chip "w83l785ts-*"
2421
2422   label temp1 "CPU Diode"
2423
2424chip "lm92-*"
2425
2426   label temp "CPU Temp"
2427
2428# Change limits as you see fit
2429#   set temp_low 14
2430#   set temp_high 60
2431#   set temp_crit 72
2432# Hysteresis is computed from critical limit for Linux 2.6,
2433# and from high limit for Linux 2.4. That might change in the future.
2434# Whatever, the same relative hysteresis is used for all of low, high
2435# and critical limits.
2436#   set temp_hyst 70 # Linux 2.6
2437#   set temp_hyst 58 # Linux 2.4
2438
2439
2440# Winbond W83627EHF configuration originally contributed by Leon Moonen
2441# This is for an Asus P5P800.
2442chip "w83627ehf-*"
2443# Fans
2444   label fan1      "Case Fan"
2445   label fan2      "CPU Fan"
2446#  ignore fan3
2447#  ignore fan4
2448   set fan1_min    1200
2449   set fan2_min    1700
2450
2451# Temperatures
2452   label temp1     "Sys Temp"
2453   label temp2     "CPU Temp"
2454#  ignore temp3
2455   set temp1_over  45
2456   set temp1_hyst  40
2457   set temp2_over  45
2458   set temp2_hyst  40
2459
2460
2461# Fintek F71805F/FG configuration
2462# This is the recommended wiring and resistor values from the F71805F/FG
2463# datasheet. Your motherboard manufacturer may or may not have followed
2464# these.
2465chip "f71805f-*"
2466# Voltages
2467   label in0 "+3.3V"
2468   label in1 "Vtt1.2V"
2469   label in2 "Vram"
2470   label in3 "Vchip"
2471   label in4 "+5V"
2472   label in5 "+12V"
2473   label in6 "Vcc1.5V"
2474   label in7 "Vcore"
2475   label in8 "5VSB"
2476
2477   # in0 is scaled internally
2478   compute in2  @*(1+100/100), @/(1+100/100)
2479   compute in3  @*(1+100/47),  @/(1+100/47)
2480   compute in4  @*(1+200/47),  @/(1+200/47)
2481   compute in5  @*(1+200/20),  @/(1+200/20)
2482   compute in8  @*(1+200/47),  @/(1+200/47)
2483
2484   set in0_min  3.3 * 0.95
2485   set in0_max  3.3 * 1.05
2486   #set in1_min  1.2 * 0.95
2487   #set in1_max  1.2 * 1.05
2488   #set in2_min  2.5 * 0.95
2489   #set in2_max  2.6 * 1.05
2490   #set in3_min  3.3 * 0.95
2491   #set in3_max  3.3 * 1.05
2492   #set in4_min  5.0 * 0.95
2493   #set in4_max  5.0 * 1.05
2494   #set in5_min 12.0 * 0.95
2495   #set in5_max 12.0 * 1.05
2496   #set in6_min  1.5 * 0.95
2497   #set in6_max  1.5 * 1.05
2498   # in7 nominal value depends on the CPU model
2499   #set in7_min  1.4 * 0.95
2500   #set in7_max  1.4 * 1.05
2501   #set in8_min  5.0 * 0.95
2502   #set in8_max  5.0 * 1.05
2503
2504# Fans
2505   label fan1 "CPU Fan"
2506   label fan2 "Sys Fan"
2507   label fan3 "Aux Fan"
2508
2509   #set fan1_min 2100
2510   #set fan2_min 1400
2511   #set fan3_min 1400
2512
2513# Temperatures
2514   label temp1 "CPU Temp"
2515   label temp2 "Sys Temp"
2516   label temp3 "Aux Temp"
2517
2518   #set temp1_max   60
2519   #set temp1_hyst  58
2520   #set temp2_max   50
2521   #set temp2_hyst  48
2522   #set temp3_max   50
2523   #set temp3_hyst  48
Note: See TracBrowser for help on using the browser.