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

Revision 4784, 82.6 KB (checked in by khali, 6 years ago)

Typo fix.
Don't tell users they can complain, they will find out by themselves
I'm sure ;)

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