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

Revision 4087, 78.8 KB (checked in by khali, 8 years ago)

Some more it8716 voltage configuration.

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