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

Revision 4083, 78.4 KB (checked in by khali, 8 years ago)

Add support for the IT8716F (prefix it8716). It is mostly similar to the
IT8712F so there's not much to do. The most significant difference is that
fan speeds are now reported as 16-bit values, without fan clock dividers.
For this reason, I made the fan_divs optional in sensors. I also made the
fans themselves optional, as I noticed that a number of motherboards don't
use (and don't enable) fan3.

I've made a separate section (chip "it8716-*") in sensors.conf.eg, because
new motherboards tend to have different wirings (e.g. negative voltage
lines are not monitored) so this will make for saner defaults.

Thanks to Stian Oksavik for testing.

  • 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  in2  "+3.3V"
1687    label  in3  "+5V"
1688    label  in4  "+12V"
1689    label  in7  "5VSB"
1690    label  in8  "VBat"
1691
1692    compute in3  ((6.8/10)+1)*@ , @/((6.8/10)+1)
1693    compute in4  ((30/10)+1)*@  , @/((30/10)+1)
1694    compute in7  ((6.8/10)+1)*@ , @/((6.8/10)+1)
1695
1696# If vid (nominal CPU voltage) isn't correct, hardcode the correct value
1697# instead.
1698#    set in0_min  vid * 0.95
1699#    set in0_max  vid * 1.05
1700#    set in2_min  3.3 * 0.95
1701#    set in2_max  3.3 * 1.05
1702#    set in3_min    5 * 0.95
1703#    set in3_max    5 * 1.05
1704#    set in4_min   12 * 0.95
1705#    set in4_max   12 * 1.05
1706#    set in7_min    5 * 0.95
1707#    set in7_max    5 * 1.05
1708# The chip does not support in8 min/max
1709
1710# Temperatures
1711
1712# If you are lucky, the BIOS has set the proper sensor types for you.
1713# If your temperature readings are completely whacky you probably
1714# need to change the sensor types. Adujst and uncomment the
1715# appropriate lines below.
1716#
1717# 2 = thermistor; 3 = thermal diode; 0 = unused
1718#   set sensor1  3
1719#   set sensor2  3
1720#   set sensor3  3
1721
1722# If a given sensor isn't used, you will probably want to ignore it
1723# as well (see ignore statement right below).
1724# The CPU sensor can be any of temp1, temp2 or temp3 - it's motherboard
1725# dependent. Same for the motherboard temperature.
1726
1727#   label  temp1  "CPU Temp"
1728#   label  temp2  "M/B Temp"
1729#   ignore temp3
1730
1731#   set temp1_over  60
1732#   set temp1_low   10
1733#   set temp2_over  50
1734#   set temp2_low   10
1735
1736# Fans
1737
1738# The CPU fan can be any of fan1, fan2 or fan3 - it's motherboard
1739# dependent. Same for the case fan.
1740
1741#   label  fan1 "CPU Fan"
1742#   label  fan2 "Case Fan"
1743#   ignore fan3
1744
1745#   set fan1_min 2000
1746#   set fan2_min 2000
1747
1748
1749chip "fscpos-*"
1750# Fujitsu-Siemens Poseidon chip
1751
1752# Temperature
1753
1754    label temp1       "Temp1/CPU"
1755    label temp2       "Temp2/MB"
1756    label temp3       "Temp3/AUX"
1757
1758# Fans
1759
1760    label fan1        "Fan1"
1761    label fan2        "Fan2"
1762    label fan3        "Fan3"
1763
1764# Voltage
1765
1766    label volt12      "+12V"
1767    label volt5       "+5V"
1768    label voltbatt    "Battery"
1769
1770
1771chip "fscscy-*"
1772# Fujitsu-Siemens Scylla chip
1773
1774# Temperature
1775
1776    label temp1       "Temp1/CPU0"
1777    label temp2       "Temp2/CPU1"
1778    label temp3       "Temp3/MB"
1779    label temp4       "Temp4/AUX"
1780
1781# Fans
1782
1783    label  fan1       "Fan1/CPU0"
1784    label  fan2       "Fan2/CPU0"
1785    label  fan3       "Fan3"
1786    label  fan4       "Fan4"
1787    label  fan5       "Fan5"
1788    label  fan6       "Fan6"
1789
1790# Voltage
1791
1792    label volt12      "+12V"
1793    label volt5       "+5V"
1794    label voltbatt    "+3.3V"
1795
1796
1797chip "fscher-*"
1798# Fujitsu-Siemens Hermes chip
1799
1800# Temperature
1801    label temp1       "Temp1/CPU"
1802    label temp2       "Temp2/MB"
1803    label temp3       "Temp3/AUX"
1804
1805# Fans
1806    label fan1        "Fan1/PS"
1807    label fan2        "Fan2/CPU"
1808    label fan3        "Fan3/AUX"
1809
1810# Voltage
1811    label in0         "+12V"
1812    label in1         "+5V"
1813    label in2         "Battery"
1814
1815# Compute Voltages using mainboard dependant MRO-values
1816# (see doc/chips/fscher)
1817#                           M    R             O               O                  M    R
1818    compute in0       (@ * (49 * 33) / 255) + (0 / 100), (@ - (0 / 100)) * 255 / (49 * 33)
1819    compute in1       (@ * (20 * 33) / 255) + (0 / 100), (@ - (0 / 100)) * 255 / (20 * 33)
1820    compute in2       (@ * (10 * 33) / 255) + (0 / 100), (@ - (0 / 100)) * 255 / (10 * 33)
1821
1822# Read documentation before enabling pwm settings (see doc/chips/fscher)
1823# WARNING: IMPROPER VALUES MAY DAMAGE YOUR SYSTEM DUE TO OVERHEATING!
1824
1825# Allow fans to turn off
1826#    set pwm1          0
1827#    set pwm2          0
1828#    set pwm3          0
1829
1830# Min cooling
1831#    set pwm1          2
1832#    set pwm2          1
1833#    set pwm3          1
1834
1835# Max cooling
1836#    set pwm1          255
1837#    set pwm2          255
1838#    set pwm3          255
1839
1840
1841chip "pcf8591-*"
1842#
1843#    values for the Philips PCF8591 chip
1844#
1845# Analog inputs
1846
1847   ignore ain_conf
1848# Since Linux 2.6, input configuration is set as module parameter,
1849# so the line below is for older kernels only.
1850#  set    ain_conf    0
1851
1852# You may discard ch2 and ch3 if you don't use them (depends on the input
1853# configuration)
1854#  ignore ch2
1855#  ignore ch3
1856
1857   label  ch0         "Chan. 0"
1858   label  ch1         "Chan. 1"
1859   label  ch2         "Chan. 2"
1860   label  ch3         "Chan. 3"
1861
1862# The driver assumes Vref = 2.56V and Agnd = 0V. If it doesn't match
1863# your hardware, you have to use compute lines. The example below is
1864# correct for Vref = 5.0V and Agnd = 0V.
1865#  compute ch0 (@ * 500 / 256), (@ * 256 / 500)
1866#  compute ch1 (@ * 500 / 256), (@ * 256 / 500)
1867#  compute ch2 (@ * 500 / 256), (@ * 256 / 500)
1868#  compute ch3 (@ * 500 / 256), (@ * 256 / 500)
1869
1870# Analog output
1871
1872   ignore aout_enable
1873#   set    aout_enable 1
1874   label  aout        "Output"
1875#   set    aout        0
1876
1877chip "adm1021-*" "adm1023-*" "max1617-*" "max1617a-*" "thmc10-*" "lm84-*" "gl523sm-*" "mc1066-*"
1878
1879   label temp           "Board Temp"
1880   label remote_temp    "CPU Temp"
1881#   set temp_low                40
1882#   set temp_over               70
1883#   set remote_temp_low         40
1884#   set remote_temp_over        70
1885
1886chip "lm83-*"
1887
1888   label temp1 "M/B Temp"
1889   label temp2 "D1 Temp"
1890   label temp3 "CPU Temp"
1891   label temp4 "D3 Temp"
1892
1893# ignore D1 and/or D3 readings if not used
1894#   ignore temp2
1895#   ignore temp4
1896
1897# change high limits to fit your needs
1898#   set temp1_high 55
1899#   set temp2_high 60
1900#   set temp3_high 65
1901#   set temp4_high 60
1902
1903# change critical limit to fit your needs
1904# only one limit for all four temperatures
1905# should be higher than each of the high limits above
1906#   set tcrit 85
1907
1908
1909chip "max1619-*"
1910
1911   label temp1 "M/B Temp"
1912   label temp2 "CPU Temp"
1913
1914# change high and low limits to fit your needs
1915#   set temp2_min   10
1916#   set temp2_max   100
1917
1918# change critical limit and hysteresis to fit your needs
1919#   set temp2_crit  50
1920#   set temp2_hyst  40
1921
1922
1923chip "lm90-*" "adm1032-*" "lm86-*" "max6657-*" "adt7461-*"
1924
1925   label temp1 "M/B Temp"
1926   label temp2 "CPU Temp"
1927   label tcrit1 "M/B Crit"
1928   label tcrit2 "CPU Crit"
1929
1930# change high and low limits to fit your needs
1931#   set temp1_low  10
1932#   set temp1_high 55
1933#   set temp2_low  10
1934#   set temp2_high 66
1935
1936# change critical limits to fit your needs
1937# should be higher than the corresponding high limit above
1938#   set tcrit1 75
1939#   set tcrit2 85
1940
1941# change the hysteresis values (to critical limits) to fit your needs
1942# note #1: hyst2 will be automatically set with the same delta
1943# note #2: the internal register, which stores a single, relative value
1944# for both channels, cannot hold values greater than 31, so the delta
1945# between critical temperatures and respective absolute hysteresis can
1946# never exceed this value
1947#   set hyst1 70
1948
1949chip "lm99-*"
1950
1951   label temp1 "G/C Temp"
1952   label temp2 "GPU Temp"
1953   label tcrit1 "G/C Crit"
1954   label tcrit2 "GPU Crit"
1955
1956# note #1: only the LM99 needs this; for a LM89, comment the compute line
1957# out
1958# note #2: there is no way for us to differentiate between a LM89 and a
1959# LM99; you have to know what you have; LM99 are frequently found on
1960# graphics cards, most notably nVidia ones
1961   compute temp2 @+16, @-16
1962
1963# change high and low limits to fit your needs
1964#   set temp1_low  10
1965#   set temp1_high 90
1966#   set temp2_low  10
1967#   set temp2_high 100
1968
1969# change critical limits to fit your needs
1970# should be higher than the corresponding high limit above
1971#   set tcrit1 100
1972#   set tcrit2 110
1973
1974# change the hysteresis values (to critical limits) to fit your needs
1975# note #1: hyst2 will be automatically set with the same delta
1976# note #2: the internal register, which stores a single, relative value
1977# for both channels, cannot hold values greater than 31, so the delta
1978# between critical temperatures and respective absolute hysteresis can
1979# never exceed this value
1980#   set hyst1 105
1981
1982
1983chip "lm63-*"
1984
1985   label temp1       "M/B Temp"
1986   label temp2       "CPU Temp"
1987   label temp2_crit  "CPU Crit"
1988   label fan1        "CPU Fan"
1989
1990# Change limits to fit your needs. Note that temp2_crit is read-only.
1991#   set temp1_high       50
1992#   set temp2_low        10
1993#   set temp2_high       70
1994#   set temp2_crit_hyst  75
1995#   set fan1_min         2000
1996
1997
1998chip "vt1211-*"
1999#
2000# in6 is not implemented in vt1211
2001#
2002#                                                       1 for temp, 0 for volt.
2003#       Sensor          Voltage Mode    Temp Mode       config bit
2004#       --------        ------------    ---------       --------------
2005#       Reading 1                       temp3
2006#       Reading 3                       temp1           
2007#       UCH1/Reading2   in0             temp2           0x04 (4)
2008#       UCH2            in1             temp4           0x08 (8)
2009#       UCH3            in2             temp5           0x10 (16)
2010#       UCH4            in3             temp6           0x20 (32)
2011#       UCH5            in4             temp7           0x40 (64)
2012#       3.3V            in5
2013#
2014# set uch1-2 to temp mode, uch3-5 to voltage mode
2015#
2016#   set config 12
2017    ignore in0
2018    ignore in1
2019    ignore temp5
2020    ignore temp6
2021    ignore temp7
2022
2023# IMPORTANT: If you get "ERROR: Can't get TEMPX data!" from "sensors",
2024# where X is 2, 4, 5, 6 or 7, although you have this UCH set to
2025# temperature, this generally means that this UCH isn't (physically)
2026# used for temperature, so you should add an ignore statement for tempX
2027# and change the "config" value to reflect the fact that this UCH is
2028# probably used for voltage.
2029
2030#   label in0 "unused"
2031#   label in1 "unused"
2032    label in2 "VCore1"
2033    label in3 "+5V"
2034    label in4 "+12V"
2035    label in5 "+3.3V"
2036
2037    label temp1 "Int Temp"
2038    label temp2 "MB1 Temp"
2039    label temp3 "Proc Temp"
2040    label temp4 "MB2 Temp"
2041#
2042#   All voltage calculations have the form
2043#       ((@ * 100) - 3) / (K * 95.8), (@ * K * 0.958) + .03
2044#   where K = R2 / (R1 + R2).
2045#   Use the following K values based on input voltage.
2046#   This of course assumes the mobo has the resistors
2047#   recommended by Via in the datasheet.
2048#       Voltage                 K
2049#       VCore                   1.0
2050#       2.5                     0.8333
2051#       3.3 (in5 internal)      0.6296
2052#       3.5 (3.3V ext.)         0.5952
2053#       5.0                     0.4167
2054#       12.0                    0.1754
2055#
2056#   compute in0 ((@ * 100) - 3) / (0.5952 * 95.8), (@ * 0.5952 * 0.958) + .03
2057#   compute in1 ((@ * 100) - 3) / (0.8333 * 95.8), (@ * 0.8333 * 0.958) + .03
2058    compute in2 ((@ * 100) - 3) / (0.5952 * 95.8), (@ * 0.5952 * 0.958) + .03
2059    compute in3 ((@ * 100) - 3) / (0.4167 * 95.8), (@ * 0.4167 * 0.958) + .03
2060    compute in4 ((@ * 100) - 3) / (0.1754 * 95.8), (@ * 0.1754 * 0.958) + .03
2061    compute in5 ((@ * 100) - 3) / (0.6296 * 95.8), (@ * 0.6296 * 0.958) + .03
2062
2063# adjust this if your vid is wrong; see doc/vid
2064#   set vrm 9.1
2065
2066#   set in0_min 2.5 * 0.95
2067#   set in0_max 2.5 * 1.05
2068#   set in1_min 2.5 * 0.95
2069#   set in1_max 2.5 * 1.05
2070#   set in2_min vid * 0.97
2071#   set in2_max vid * 1.03
2072#   set in3_min 5.0 * 0.95
2073#   set in3_max 5.0 * 1.05
2074#   set in4_min 12.0 * 0.90
2075#   set in4_max 12.0 * 1.10
2076#   set in5_min 3.3 * 0.95
2077#   set in5_max 3.3 * 1.05
2078
2079    compute temp1  (@ - 65) / 0.9686,  (@ * 0.9686) + 65
2080    compute temp3  (@ - 65) / 0.9686,  (@ * 0.9686) + 65
2081#
2082# thermistor calculations.
2083# 3435 is the thermistor beta.
2084# '^' is the e**x operator; '`' is the ln(x) operator
2085# (valid in library version 1.4.0 / lm_sensors 2.7.1 or higher)
2086# This assumes that the thermistor forms a resistor divider with a resistor
2087# equal to its nominal value @ 25C. If not, the math gets even harder.
2088#
2089    compute temp2  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
2090                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
2091    compute temp4  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
2092                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
2093    compute temp5  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
2094                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
2095    compute temp6  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
2096                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
2097    compute temp7  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
2098                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
2099
2100#    set temp2_hyst 40
2101#    set temp2_over 45
2102#    set temp3_hyst 60
2103#    set temp3_over 65
2104#    set temp4_hyst 40
2105#    set temp4_over 45
2106
2107#    set fan1_min 3000
2108#    set fan2_min 3000
2109
2110chip "vt8231-*"
2111#
2112#                                                       1 for temp, 0 for volt.
2113#       Sensor          Voltage Mode    Temp Mode       config bit
2114#       --------        ------------    ---------       --------------
2115#       Reading 1                       temp1
2116#       UCH1            in0             temp2           0x04 (4)
2117#       UCH2            in1             temp3           0x08 (8)
2118#       UCH3            in2             temp4           0x10 (16)
2119#       UCH4            in3             temp5           0x20 (32)
2120#       UCH5            in4             temp6           0x40 (64)
2121#       3.3V            in5
2122#
2123# Hardware default is UCH1 in temp mode, UCH2-5 in voltage mode
2124# Note that the Linux 2.6 driver will not let you change the channel
2125# configuration. In theory, the BIOS should have done it properly.
2126#   set config 4
2127
2128#    ignore in0
2129#    ignore temp3
2130#    ignore temp4
2131#    ignore temp5
2132#    ignore temp6
2133
2134    label in1 "+2.5V"
2135    label in2 "VCore"
2136    label in3 "+5V"
2137    label in4 "+12V"
2138    label in5 "+3.3V"
2139
2140    label temp1 "CPU Temp"
2141    label temp2 "M/B Temp"
2142
2143# Here are the resistor values as recommended by VIA:
2144#   Voltage                     R1      R2
2145#   VCore                       no scaling
2146#    2.5                        2k      10k
2147#    3.5 (3.3V ext.)            6.8k    10k
2148#    5.0                        14k     10k
2149#   12.0                        47k     10k
2150
2151#   compute in0  @ * (1 + 6.8 / 10),  @ / (1 + 6.8 / 10)
2152    compute in1  @ * (1 +   2 / 10),  @ / (1 +   2 / 10)
2153    compute in3  @ * (1 +  14 / 10),  @ / (1 +  14 / 10)
2154    compute in4  @ * (1 +  47 / 10),  @ / (1 +  47 / 10)
2155# in5 is scaled internally so scaling is done by the driver.
2156
2157#   set in0_min 2.5 * 0.95
2158#   set in0_max 2.5 * 1.05
2159#   set in1_min 2.5 * 0.95
2160#   set in1_max 2.5 * 1.05
2161# Replace "2.0" with your nominal CPU voltage for in2.
2162#   set in2_min 2.0 * 0.95
2163#   set in2_max 2.0 * 1.05
2164#   set in3_min 5.0 * 0.95
2165#   set in3_max 5.0 * 1.05
2166#   set in4_min 12.0 * 0.95
2167#   set in4_max 12.0 * 1.05
2168#   set in5_min 3.3 * 0.95
2169#   set in5_max 3.3 * 1.05
2170
2171# For Intel CPU:
2172    compute temp1  (@ - 65) / 0.9686,  (@ * 0.9686) + 65
2173
2174# For VIA EPIA CPU (provided by Roger Lucas):
2175#   compute temp1  (@ - 45) / 0.7809,  (@ * 0.7809) + 45
2176
2177# Thermistor calculations
2178# 3435 is the thermistor beta, 2.2 is the reference voltage.
2179# '^' is the e**x operator; '`' is the ln(x) operator
2180# (valid in library version 1.4.0 / lm_sensors 2.7.1 or higher)
2181# This assumes that the thermistor forms a resistor divider with a resistor
2182# equal to its nominal value at 25 degrees C.
2183
2184    compute temp2  1 / (1 / 298.15 - (` (2.2 / @ - 1)) / 3435) - 273.15, \
2185                   2.2 / (1 + (^ (3435 / 298.15 - 3435 / (273.15 + @))))
2186    compute temp3  1 / (1 / 298.15 - (` (2.2 / @ - 1)) / 3435) - 273.15, \
2187                   2.2 / (1 + (^ (3435 / 298.15 - 3435 / (273.15 + @))))
2188
2189#    set temp1_hyst 60
2190#    set temp1_over 65
2191#    set temp2_hyst 40
2192#    set temp2_over 45
2193
2194#    set fan1_min 3000
2195#    set fan2_min 3000
2196
2197chip "bmc-*"
2198#
2199# You should not need compute lines here, the driver will
2200# do all the conversions.
2201# For label lines, copy from syslog/dmesg when the bmcsensors
2202# module is inserted.
2203#
2204# for example:
2205# label temp1 "Ambient Temp"
2206
2207
2208chip "smsc47m1-*"
2209
2210# SMSC LPC47M10x, LPC47M13x, LPC47M14x and LPC47B27x chips
2211
2212# We don't set the fan mins by default anymore because they may not exist
2213# when using the Linux 2.6 driver (since we respect the original chip
2214# configuration).
2215#    set fan1_min 3000
2216#    set fan2_min 3000
2217
2218chip "smsc47m192-*"
2219
2220# Temperature and voltage input from SMSC LPC47M192 and LPC47M997 chips
2221# This example works on a Gigabyte K8U motherboard
2222# Voltages are scaled internally, no computations needed
2223
2224    label in0 "+2.5V"
2225#    set in0_min  2.5 * 0.95
2226#    set in0_max  2.5 * 1.05
2227
2228    label in1 "VCore"
2229#    set in1_min  vid * 0.95
2230#    set in1_max  vid * 1.05
2231
2232    label in2 "+3.3V"
2233#    set in2_min  3.3 * 0.95
2234#    set in2_max  3.3 * 1.05
2235
2236    label in3 "+5V"
2237#    set in3_min  5.0 * 0.95
2238#    set in3_max  5.0 * 1.05
2239
2240    label in4 "+12V"
2241#    set in4_min  12.0 * 0.95
2242#    set in4_max  12.0 * 1.05
2243
2244    label in5 "VCC"
2245#    set in5_min  3.3 * 0.95
2246#    set in5_max  3.3 * 1.05
2247
2248    label in6 "+1.5V"
2249#    set in6_min  1.5 * 0.95
2250#    set in6_max  1.5 * 1.05
2251#   ignore in6
2252
2253    label in7 "+1.8V"
2254#    set in7_min  1.8 * 0.95
2255#    set in7_max  1.8 * 1.05
2256#   Haven't yet heard from any board that has 1.8V connected, so
2257#   this might be more appropriate:
2258#   ignore in7
2259   
2260    label temp1 "Chip Temp"
2261#    set temp1_min   0
2262#    set temp1_max   60
2263
2264    label temp2 "CPU Temp"
2265#    set temp2_min   0
2266#    set temp2_max   60
2267
2268    label temp3 "Sys Temp"
2269#    set temp3_min   0
2270#    set temp3_max   60
2271
2272#
2273# This example was tested vs. Asus P4S333
2274#
2275chip "asb100-*"
2276# adjust this if your vid is wrong; see doc/vid
2277    #set vrm 9.0
2278
2279    label in0 "VCore 1"
2280    #set in0_min vid * 0.95
2281    #set in0_max vid * 1.05
2282
2283    label in1 "VCore 2"
2284    ignore in1
2285    #set in1_min vid * 0.95
2286    #set in1_max vid * 1.05
2287
2288    label in2 "+3.3V"
2289    #set in2_min 3.3 * 0.95
2290    #set in2_max 3.3 * 1.05
2291
2292    label in3 "+5V"
2293    compute in3 1.68 * @ ,  @ / 1.68
2294    #set in3_min 5.0 * 0.95
2295    #set in3_max 5.0 * 1.05
2296
2297    label in4 "+12V"
2298    compute in4 3.8 * @ , @ / 3.8
2299    #set in4_min 12  * 0.90
2300    #set in4_max 12  * 1.10
2301
2302    label in5 "-12V (reserved)"
2303    #ignore in5
2304    compute in5 -@ * 3.97 ,  -@ / 3.97
2305    #set in5_max -12 * 0.90
2306    #set in5_min -12 * 1.10
2307
2308    label in6 "-5V (reserved)"
2309    #ignore in6
2310    compute in6 -@ * 1.666 , -@ / 1.666
2311    #set in6_max -5  * 0.95
2312    #set in6_min -5  * 1.05
2313
2314    label temp1 "M/B Temp"
2315    #set temp1_over 45
2316    #set temp1_hyst 40
2317
2318    label temp2 "CPU Temp (Intel)"
2319    #ignore temp2
2320    #set temp2_over 60
2321    #set temp2_hyst 50
2322
2323    # PWRTMP connector on P4S333, for external sensor
2324    label temp3 "Power Temp"
2325    #ignore temp3
2326    #set temp3_over 45
2327    #set temp3_hyst 40
2328
2329
2330    # Used for Athlon diode, ignore for P4S333
2331    label temp4 "CPU Temp (AMD)"
2332    #set temp4_over 60
2333    #set temp4_hyst 50
2334    #ignore temp4
2335
2336    label fan1 "CPU Fan"
2337    #set fan1_div 4
2338    #set fan1_min 2000
2339
2340    label fan2 "Chassis Fan"
2341    #set fan2_div 2
2342    #set fan2_min 4000
2343
2344    label fan3 "Power Fan"
2345    #set fan3_div 2
2346    #set fan3_min 4000
2347
2348#
2349# Sample configuration for the Intel S845WD1-E
2350# courtesy of Marcus Schopen
2351#
2352chip "lm85c-*" "adm1027-*" "adt7463-*" "lm85-*" "lm85b-*"
2353
2354# Voltage inputs
2355   label in0   "V1.5"      # AGP on Intel S845WD1-E
2356   label in1   "VCore"
2357   label in2   "V3.3"
2358   label in3   "V5"
2359   label in4   "V12"
2360
2361# Temperature inputs
2362   label temp1  "CPU Temp"
2363   label temp2  "Board Temp"
2364   label temp3  "Remote Temp"
2365
2366# Fan inputs
2367   label fan1   "CPU_Fan"
2368#   label fan2   "Fan2"
2369#   label fan3   "Fan3"
2370#   label fan4   "Fan4"
2371
2372# PWM Outputs
2373   label pwm1   "CPU_PWM"
2374   label pwm2   "Fan2_PWM"
2375   label pwm3   "Fan3_PWM"
2376
2377# Voltage scaling is done on-chip.  No 'compute' directive
2378# should be necessary.  If in0 has external scaling set
2379# it here.
2380
2381#   compute in0  @ * 2.5,   @ / 2.5
2382
2383# Adjust fans speeds for actual pulses per rev
2384#   compute fan1  @ * 2,  @ / 2    # 1 pulse per rev
2385#   set fan1_ppr  1                # ADM1027 or ADT7463
2386#   compute fan2  @ / 2,  @ * 2    # 4 pulse per rev
2387#   set fan2_ppr  4                # ADM1027 or ADT7463
2388
2389# Ignore fans you (or your motherboard) don't have
2390#   ignore fan2
2391#   ignore fan3
2392#   ignore fan4
2393
2394# Set VRM version
2395# adjust this if your vid is wrong; see doc/vid
2396#   set vrm  9.1   # Pentium 4
2397
2398# Set voltage limits
2399#   set in0_min  1.5 * 0.95
2400#   set in0_max  1.5 * 1.05
2401#   set in1_min  vid * 0.95
2402#   set in1_max  vid * 1.05
2403#   set in2_min  3.3 * 0.95
2404#   set in2_max  3.3 * 1.05
2405#   set in3_min  5.0 * 0.95
2406#   set in3_max  5.0 * 1.05
2407#   set in4_min   12 * 0.95
2408#   set in4_max   12 * 1.05
2409
2410# Set Fan limits
2411#   set fan1_min 4000
2412
2413# Set Temp Limits
2414#   set temp1_min 10
2415#   set temp1_max 50
2416#   set temp2_min 10
2417#   set temp2_max 35
2418#   set temp3_min 10
2419#   set temp3_max 35
2420
2421chip "pc87366-*"
2422
2423# Voltage inputs
2424
2425# Set VRM version (default 9.0)
2426#   set vrm     9.0
2427
2428   label in7   "Vsb"
2429   label in8   "Vdd"
2430   label in9   "Vbat"
2431   label in10  "AVdd"
2432
2433   compute in7   @*2, @/2
2434   compute in8   @*2, @/2
2435   compute in10  @*2, @/2
2436
2437# These are the operating conditions as recommended by National
2438# Semiconductor
2439   set in7_min   3.0
2440   set in7_max   3.6
2441   set in8_min   3.0
2442   set in8_max   3.6
2443#   set in9_min   2.4
2444#   set in9_max   3.6
2445   set in10_min  3.0
2446   set in10_max  3.6
2447
2448# Temperature inputs
2449
2450   label temp1       "CPU0 Temp"
2451   label temp1_crit  "CPU0 Crit"
2452   label temp2       "CPU1 Temp"
2453   label temp2_crit  "CPU1 Crit"
2454   label temp3       "S-IO Temp"
2455   label temp3_crit  "S-IO Crit"
2456
2457#   set temp1_min    0
2458#   set temp1_max   70
2459#   set temp1_crit  85
2460#   set temp2_min    0
2461#   set temp2_max   70
2462#   set temp2_crit  85
2463#   set temp3_min    0
2464#   set temp3_max   70
2465#   set temp3_crit  85
2466
2467# Thermistors
2468# On some systems, thermistors are used instead of thermal diodes.
2469# Note that these are the same pins used differently, so you really
2470# can't have them all on a given system.
2471#   ignore temp1
2472#   ignore temp2
2473   ignore temp4
2474   ignore temp5
2475   ignore temp6
2476
2477# 3435 is the thermistor beta.
2478# This assumes that the thermistor forms a resistor divider with a resistor
2479# equal to its nominal value at 25 degres Celsius. If not, change the values.
2480# We also assume that you have a working in10 (which is forcibly enabled by
2481# default). If not, use 3.3 instead, but you lose accuracy.
2482
2483   compute temp4  3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \
2484                  in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
2485   compute temp5  3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \
2486                  in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
2487   compute temp6  3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \
2488                  in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
2489
2490#   set temp4_min    0
2491#   set temp4_max   70
2492#   set temp4_crit  85
2493#   set temp5_min    0
2494#   set temp5_max   70
2495#   set temp5_crit  85
2496#   set temp6_min    0
2497#   set temp6_max   70
2498#   set temp6_crit  85
2499
2500# Fan inputs
2501
2502# Ignore fans you don't have
2503#   ignore fan2
2504#   ignore fan3
2505
2506#   set fan1_min 2000
2507#   set fan2_min 2000
2508#   set fan3_min 2000
2509
2510
2511chip "adm1030-*"
2512
2513   label temp1 "SYS Temp"
2514   label temp2 "CPU Temp"
2515   label temp1_crit "SYS Crit"
2516   label temp2_crit "CPU Crit"
2517
2518#   set temp1_max  60
2519#   set temp2_max  70
2520#   set temp1_crit 85
2521#   set temp2_crit 85
2522
2523   label fan1 "CPU Fan"
2524
2525#   set fan1_min 2000
2526
2527
2528chip "adm1031-*"
2529
2530   label temp1 "SYS Temp"
2531   label temp2 "CPU Temp"
2532   label temp3 "AUX Temp"
2533   label temp1_crit "SYS Crit"
2534   label temp2_crit "CPU Crit"
2535   label temp3_crit "AUX Crit"
2536
2537#   set temp1_max  60
2538#   set temp2_max  70
2539#   set temp3_max  70
2540#   set temp1_crit 85
2541#   set temp2_crit 85
2542#   set temp3_crit 85
2543
2544   label fan1 "CPU Fan"
2545   label fan2 "Case Fan"
2546
2547#   set fan1_min 2000
2548#   set fan2_min 2000
2549
2550
2551chip "w83l785ts-*"
2552
2553   label temp1 "CPU Diode"
2554
2555chip "lm92-*"
2556
2557   label temp "CPU Temp"
2558
2559# Change limits as you see fit
2560#   set temp_low 14
2561#   set temp_high 60
2562#   set temp_crit 72
2563# Hysteresis is computed from critical limit for Linux 2.6,
2564# and from high limit for Linux 2.4. That might change in the future.
2565# Whatever, the same relative hysteresis is used for all of low, high
2566# and critical limits.
2567#   set temp_hyst 70 # Linux 2.6
2568#   set temp_hyst 58 # Linux 2.4
2569
2570
2571# Winbond W83627EHF configuration originally contributed by Leon Moonen
2572# This is for an Asus P5P800, voltages for A8V-E SE.
2573chip "w83627ehf-*"
2574
2575    label in0 "VCore"
2576    label in2 "AVCC"
2577    label in3 "3VCC"
2578    label in7 "VSB"
2579    label in8 "VBAT"
2580
2581
2582# +12V is in1 and +5V is in6 as recommended by datasheet
2583    compute in1 @*(1+(56/10)),  @/(1+(56/10))
2584    compute in6 @*(1+(22/10)),  @/(1+(22/10))
2585#    set in1_min   12.0*0.9
2586#    set in1_max   12.0*1.1
2587#    set in6_min   5.0*0.95
2588#    set in6_max   5.0*1.05
2589
2590# Set the 3.3V
2591#    set in2_min   3.3*0.95
2592#    set in2_max   3.3*1.05
2593#    set in3_min   3.3*0.95
2594#    set in3_max   3.3*1.05
2595#    set in7_min   3.3*0.95
2596#    set in7_max   3.3*1.05
2597#    set in8_min   3.3*0.95
2598#    set in8_max   3.3*1.05
2599
2600# Fans
2601   label fan1      "Case Fan"
2602   label fan2      "CPU Fan"
2603   label fan3      "Aux Fan"
2604#  ignore fan3
2605#  ignore fan4
2606#  set fan1_min    1200
2607#  set fan2_min    1700
2608
2609# Temperatures
2610   label temp1     "Sys Temp"
2611   label temp2     "CPU Temp"
2612   label temp3     "AUX Temp"
2613   
2614#  ignore temp3
2615#  set temp1_over  45
2616#  set temp1_hyst  40
2617#  set temp2_over  45
2618#  set temp2_hyst  40
2619
2620
2621# Fintek F71805F/FG configuration
2622# This is the recommended wiring and resistor values from the F71805F/FG
2623# datasheet. Your motherboard manufacturer may or may not have followed
2624# these.
2625chip "f71805f-*"
2626# Voltages
2627   label in0 "+3.3V"
2628   label in1 "Vtt1.2V"
2629   label in2 "Vram"
2630   label in3 "Vchip"
2631   label in4 "+5V"
2632   label in5 "+12V"
2633   label in6 "Vcc1.5V"
2634   label in7 "Vcore"
2635   label in8 "5VSB"
2636
2637   # in0 is scaled internally
2638   compute in2  @*(1+100/100), @/(1+100/100)
2639   compute in3  @*(1+100/47),  @/(1+100/47)
2640   compute in4  @*(1+200/47),  @/(1+200/47)
2641   compute in5  @*(1+200/20),  @/(1+200/20)
2642   compute in8  @*(1+200/47),  @/(1+200/47)
2643
2644   # in0 is the chip's own VCC.
2645   set in0_min  3.0
2646   set in0_max  3.6
2647
2648   #set in1_min  1.2 * 0.95
2649   #set in1_max  1.2 * 1.05
2650   #set in2_min  2.5 * 0.95
2651   #set in2_max  2.6 * 1.05
2652   #set in3_min  3.3 * 0.95
2653   #set in3_max  3.3 * 1.05
2654   #set in4_min  5.0 * 0.95
2655   #set in4_max  5.0 * 1.05
2656   #set in5_min 12.0 * 0.95
2657   #set in5_max 12.0 * 1.05
2658   #set in6_min  1.5 * 0.95
2659   #set in6_max  1.5 * 1.05
2660   # in7 nominal value depends on the CPU model
2661   #set in7_min  1.4 * 0.95
2662   #set in7_max  1.4 * 1.05
2663   #set in8_min  5.0 * 0.95
2664   #set in8_max  5.0 * 1.05
2665
2666# Fans
2667   label fan1 "CPU Fan"
2668   label fan2 "Sys Fan"
2669   label fan3 "Aux Fan"
2670
2671   #set fan1_min 2100
2672   #set fan2_min 1400
2673   #set fan3_min 1400
2674
2675# Temperatures
2676   label temp1 "CPU Temp"
2677   label temp2 "Sys Temp"
2678   label temp3 "Aux Temp"
2679
2680   #set temp1_max   60
2681   #set temp1_hyst  58
2682   #set temp2_max   50
2683   #set temp2_hyst  48
2684   #set temp3_max   50
2685   #set temp3_hyst  48
2686
2687
2688# Abit Uguru sensor part configuration.
2689# The Abit Uguru is relativly straight forward to configure.
2690# label statements:
2691# The voltage (in) temp and fan sensors are usualy in the same order as listed
2692# in the BIOS, but not always!
2693# compute statements:
2694# The temp and fan sensors don't need any compute statements. Most voltage
2695# inputs are directly connected to the IC and thus don't need an compute line
2696# because the 0-3494 mV voltage given by the kernel driver is correct. The sen-
2697# sors for higher voltages however are connect through a divider and measure
2698# ranges of: 0-4361mV, 0-6248mV or 0-14510mV. Thus the measured voltages must
2699# be multiplied by resp. 1.248, 1.788 or 4.153. 3.3 volt sources use the 1.248
2700# mutiplier, 5 volt the 1.788 and 12 volt the 4.153.
2701# set statements:
2702# The Abit BIOS sets reasonable treshholds and allows changing them, thus
2703# set statements may be ommited. The abituguru kernel driver does support
2704# them if you want to add them.
2705#
2706# The configuration below is for the Kv8Pro and AV8 this is the default as this
2707# driver is developed and tested on a Kv8Pro.
2708# Configurations for many other Abit boards can be found at:
2709# http://www.lm-sensors.org/trac/wiki/Configurations/Abit
2710# If your motherboard isn't listed there and you create a configuration for it
2711# please add it there.
2712
2713chip "abituguru-*"
2714
2715   label in0 "CPU Core Voltage"
2716   label in1 "DDR Voltage"
2717   label in2 "DDR VTT Voltage"
2718   label in3 "NB Voltage"
2719   label in4 "SB Voltage"
2720   label in5 "HyperTransport Voltage"
2721   label in6 "AGP VDDQ Voltage"
2722   label in7 "ATX +5V"
2723   compute in7 @*1.788 , @/1.788
2724   label in8 "ATX +3.3V"
2725   compute in8 @*1.248 , @/1.248
2726   label in9 "Standby Voltage (+5V)"
2727   compute in9 @*1.788 , @/1.788
2728   label in10 "3VDual Voltage"
2729   compute in10 @*1.248 , @/1.248
2730
2731   label temp1 "CPU Temperature"
2732   label temp2 "SYS Temperature"
2733   label temp3 "PWM Temperature"
2734   ignore temp4
2735   ignore temp5
2736   ignore temp6
2737   ignore temp7
2738
2739   label fan1 "CPU FAN Speed"
2740   label fan2 "NB FAN Speed"
2741   label fan3 "SYS FAN Speed"
2742   label fan4 "AUX1 FAN Speed"
2743   label fan5 "AUX2 FAN Speed"
2744   ignore fan6
Note: See TracBrowser for help on using the browser.