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

Revision 4412, 81.3 KB (checked in by khali, 6 years ago)

Add support for the max6680. Patch from Rainer Birkenmaier (Siemens).

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