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

Revision 2545, 62.2 KB (checked in by khali, 11 years ago)

Support pc87366 thermistor inputs.

  • 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.00
149#       in5  -12.0    210      60.4   +3.00
150#       in6   -5.0     90.9    60.4   +3.00
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#
159# SET LINES
160# ---------
161# Set statements set things like limits. Complete expressions can be
162# used. Not everything can sensibly be set: setting 'in0', for example,
163# is impossible! These settings are put through the compute translations;
164# so if we specify '12.8' for in6, '3.2' will actually be written!
165#
166# Important note: In the 'sensors' program, these only take effect
167# after running 'sensors -s'!!!
168#
169# Here are some examples:
170#
171#       set in0_max vid*1.05
172#       set in0_min vid*0.95
173#       set temp1_over 40
174#       set temp1_hyst 37
175#
176# Think of tempx_over as 'alarm set' and tempx_hyst as 'alarm clear'
177# thresholds. In most cases the 'over' value should be higher than
178# the 'hyst' value by several degrees.
179#
180#
181# IGNORE LINES
182# ------------
183# Ignore statements tell certain features are not wanted. User programs can
184# still read them if they really want, though; this is just an advisory
185# marking. 'in0' would also invalidate 'in0_max' and 'in0_min'.
186# 'ignore' does not disable anything in the actual sensor chip; it
187# simply advises the user program to not access that data.
188#
189#       ignore in0
190#
191#
192# STATEMENT ORDER
193# ---------------
194# Statements can go in any order, EXCEPT that some statements depend
195# on others. Dependencies could be either in the library or the driver.
196# A 'compute' statement must go before a 'set' statement
197# for the same feature or else the 'set' won't be computed correctly.
198# This is a library dependency.
199# A 'set fan1_div' statement must go before a 'set fan1_min' statement,
200# because the driver uses the divisor in calculating the minimum.
201# Also, one should set vrm prior to using vid in any formula.
202#
203#
204# BUS LINES
205# ---------
206# There is one other feature: the 'bus' statement. An example is below.
207#
208#       bus "i2c-0" "SMBus PIIX4 adapter at e800" "Non-I2C SMBus adapter"
209#
210# If we refer from now on to 'i2c-0' in 'chip' lines, this will run-time
211# be matched to this bus. So even if the PIIX4 is called 'i2c-5' at that
212# moment, because five other adapters were detected first, 'i2c-0' in
213# the config file would always only match this physical bus. In the above
214# config file, this feature is not needed; but the next lines would
215# only affect the LM75 chips on the PIIX4 adapter:
216#
217#       chip "lm75-i2c-0-*"
218#
219# You should really use the output of /proc/bus/chips to generate bus lines,
220# because one mistyped characted will inhibit the match. Wildcards are not
221# yet supported; spaces at the end are ignored, though.
222#
223#
224# BEEPS
225# -----
226# Some chips support alarms with beep warnings. When an alarm is triggered
227# you can be warned by a beeping signal through your computer speaker. It
228# is possible to enable beeps for all alarms on a chip using the following
229# line:
230#
231#       set beep_enable 1
232#
233# or disable them using:
234#
235#       set beep_enable 0
236#
237##########################################################################
238#### Here begins the real configuration file
239
240
241chip "lm78-*" "lm78-j-*" "lm79-*" "w83781d-*"
242
243# These are as advised in the LM78 and LM79 data sheets, and used on almost
244# any mainboard we have seen.
245
246    label in0 "VCore 1"
247    label in1 "VCore 2"
248    label in2 "+3.3V"
249    label in3 "+5V"
250    label in4 "+12V"
251    label in5 "-12V"
252    label in6 "-5V"
253
254# For positive voltages (in3, in4), two resistors are used, with the following
255# formula (R1,R2: resistor values, Vs: read voltage, Vin: pin voltage)
256#   R1 = R2 * (Vs/Vin - 1)
257# For negative voltages (in5, in6) two resistors are used, with the following
258# formula (Rin,Rf: resistor values, Vs: read voltage, Vin: pin voltage)
259#   Rin = (Vs * Rf) / Vin
260#
261# Here are the official LM78 and LM79 data sheet values.
262#       Vs     R1,Rin   R2,Rf    Vin
263# in3   +5.0      6.8    10     +2.98
264# in4  +12.0     30      10     +3.00
265# in5  -12.0    240      60     +3.00
266# in6   -5.0    100      60     +3.00
267#
268# These would lead to these declarations:
269# compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
270# compute in4 ((30/10)+1)*@  ,  @/((30/10)+1)
271# compute in5 -(240/60)*@    ,  -@/(240/60)
272# compute in6 -(100/60)*@    ,  -@/(100/60)
273#
274# On almost any mainboard we have seen, the Winbond compute values lead to
275# much better results, though.
276#
277#       Vs     R1,Rin   R2,Rf    Vin
278# in4  +12.0     28      10     +3.00
279# in5  -12.0    210      60.4   +3.00
280# in6   -5.0     90.9    60.4   +3.00
281#
282# These leads to these declarations:
283
284    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
285    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
286    compute in5 -(210/60.4)*@  ,  -@/(210/60.4)
287    compute in6 -(90.9/60.4)*@ ,  -@/(90.9/60.4)
288
289# Here, we assume the VID readings are valid, and we use a max. 5% deviation
290
291    set in0_min vid*0.95
292    set in0_max vid*1.05
293    set in1_min vid*0.95
294    set in1_max vid*1.05
295    set in2_min 3.3 * 0.95
296    set in2_max 3.3 * 1.05
297    set in3_min 5.0 * 0.95
298    set in3_max 5.0 * 1.05
299    set in4_min 12 * 0.95
300    set in4_max 12 * 1.05
301    set in5_max -12 * 0.95
302    set in5_min -12 * 1.05
303    set in6_max -5 * 0.95
304    set in6_min -5 * 1.05
305
306# Examples for lm78, lm78j, lm79 temperature limits
307#    set temp_over 40
308#    set temp_hyst 37
309
310# Examples for w83781d temperature limits
311#    set temp1_over 40
312#    set temp1_hyst 37
313#    set temp2_over 52
314#    set temp2_hyst 47
315#    set temp3_over 52
316#    set temp3_hyst 47
317
318# Ignore fans you don't actually have
319#    ignore fan1
320#    ignore fan2
321#    ignore fan3
322
323# In case a lm78 is used together with a lm75, the lm78 temp sensor will
324# generally show the M/B temperature while the lm75 temp sensor will show
325# the CPU temperature.
326#    label temp "M/B Temp"
327
328# Uncomment the following line to enable beeps for all alarms on this chip
329#    set beep_enable 1
330
331
332chip "lm75-*"
333
334# Most boards don't need scaling. Following is
335# for the Asus TX97-E. If it doesn't work for you, feel free to complain.
336#   compute temp @*2.0, @/2.0
337
338# Examples for temperature limits
339#    set temp_over 70   
340#    set temp_hyst 65   
341
342# In case a lm75 is used together with a lm78, the lm78 temp sensor will
343# generally show the M/B temperature while the lm75 temp sensor will show
344# the CPU temperature.
345#    label temp "CPU Temp"
346
347
348chip "sis5595-*"
349
350    label in0 "VCore 1"
351    label in1 "VCore 2"
352    label in2 "+3.3V"
353    label in3 "+5V"
354    label in4 "+12V"
355
356    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
357    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
358
359    set in0_min 2.0 * 0.95
360    set in0_max 2.0 * 1.05
361    set in1_min 2.0 * 0.95
362    set in1_max 2.0 * 1.05
363    set in2_min 3.3 * 0.95
364    set in2_max 3.3 * 1.05
365    set in3_min 5.0 * 0.95
366    set in3_max 5.0 * 1.05
367    set in4_min 12 * 0.95
368    set in4_max 12 * 1.05
369
370#
371# SiS5595 temperature calculation
372# The driver currently includes a calculation due to the wide
373# variation in thermistor types on SiS5595 motherboards.
374# The driver currently has a calculation of t = (.83x + 52.12).
375# One user reports the correct formula of t = (.345x - 12).
376# So you want to put a compute line in sensors.conf that has
377# the inverse of the driver formula, and put your formula on top of it.
378# The inverse of the driver formula is x = (1.20t - 62.77)
379# So the final formula is newt = (.345(1.20t - 62.77)) - 12).
380# Put this in the sensors.conf file as
381# compute temp ((.345 * ((1.20 * @) - 62.77)) - 12), ...
382# where ... is the inverse function I leave to you.
383#
384# Look in your 'Vendor.ini' file to see which one is present
385# on your motherboard. Look for the line like:
386#       [Temp1]
387#            ThermistorType     = NTC-10KC15-1608-1P
388# Fix up a 'compute' line to match your thermistor type.
389# Warning. You still don't have enough information to do this.
390#            ThermistorType     = NTC-10KC15-1608-1P (10K at 25C; Beta = 3435)
391#   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
392#            ThermistorType     = NTC-103KC15-1608-1P  (??)
393#   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
394#            ThermistorType     = NTC-103AT-2 (10K at 25C; Beta = 3435)
395#   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
396#            ThermistorType     = NTC-103JT   (10K at 25C; Beta = 3435)
397#   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
398
399# examples for sis5595 temperature limits;
400# for sis5595, temp_hyst is really the low limit, not a hysteresis value
401#    set temp_over 40
402#    set temp_hyst 37
403
404
405chip "w83782d-*" "w83627hf-*"
406
407# Same as above for w83781d except that in5 and in6 are computed differently.
408# Rather than an internal inverting op amp, the 82d/83s use standard positive
409# inputs and the negative voltages are level shifted by a 3.6V reference.
410# The math is convoluted, so we hope that your motherboard
411# uses the recommended resistor values.
412
413    label in0 "VCore 1"
414    label in1 "VCore 2"
415    label in2 "+3.3V"
416    label in3 "+5V"
417    label in4 "+12V"
418    label in5 "-12V"
419    label in6 "-5V"
420    label in7 "V5SB"
421    label in8 "VBat"
422
423# Abit BP6 motherboard has a few differences. VCore1 and VCore2 are the core
424# voltages of the two processors. Vtt is memory bus termination resistors
425# voltage.
426#    label in1 "Vtt"
427#    label in8 "VCore2"
428
429    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
430    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
431    compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
432    compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
433    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
434
435# adjust this if your vid is wrong; see doc/vid
436#   set vrm 9.0
437
438# set limits to  5% for the critical voltages
439# set limits to 10% for the non-critical voltages
440# set limits to 20% for the battery voltage
441
442    set in0_min vid*0.95
443    set in0_max vid*1.05
444    set in1_min vid*0.95
445    set in1_max vid*1.05
446    set in2_min 3.3 * 0.95
447    set in2_max 3.3 * 1.05
448    set in3_min 5.0 * 0.95
449    set in3_max 5.0 * 1.05
450    set in4_min 12 * 0.90
451    set in4_max 12 * 1.10
452    set in5_max -12 * 0.90
453    set in5_min -12 * 1.10
454    set in6_max -5 * 0.95
455    set in6_min -5 * 1.05
456    set in7_min 5 * 0.95
457    set in7_max 5 * 1.05
458    set in8_min 3.0 * 0.80
459    set in8_max 3.0 * 1.20
460
461# set up sensor types (thermistor is default)
462# 1 = PII/Celeron Diode; 2 = 3904 transistor;
463# 3435 = thermistor with Beta = 3435
464# If temperature changes very little, try 1 or 2.
465#   set sensor1 1
466#   set sensor2 2
467#   set sensor3 3435
468
469# examples for temperature limits
470#    set temp1_over 40
471#    set temp1_hyst 37
472#    set temp2_over 52
473#    set temp2_hyst 47
474#    set temp3_over 52
475#    set temp3_hyst 47
476
477
478chip "w83783s-*"
479
480# Same as above for w83781d except that in5 and in6 are computed differently.
481# Rather than an internal inverting op amp, the 82d/83s use standard positive
482# inputs and the negative voltages are level shifted by a 3.6V reference.
483# The math is convoluted, so we hope that your motherboard
484# uses the recommended resistor values.
485
486    label in0 "VCore 1"
487    label in2 "+3.3V"
488    label in3 "+5V"
489    label in4 "+12V"
490    label in5 "-12V"
491    label in6 "-5V"
492
493    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
494    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
495    compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
496    compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
497
498# adjust this if your vid is wrong; see doc/vid
499#   set vrm 9.0
500
501# set limits to  5% for the critical voltages
502# set limits to 10% for the non-critical voltages
503# set limits to 20% for the battery voltage
504
505    set in0_min vid*0.95
506    set in0_max vid*1.05
507    set in2_min 3.3 * 0.95
508    set in2_max 3.3 * 1.05
509    set in3_min 5.0 * 0.95
510    set in3_max 5.0 * 1.05
511    set in4_min 12 * 0.90
512    set in4_max 12 * 1.10
513    set in5_max -12 * 0.90
514    set in5_min -12 * 1.10
515    set in6_max -5 * 0.95
516    set in6_min -5 * 1.05
517
518# set up sensor types (thermistor is default)
519# 1 = PII/Celeron Diode; 2 = 3904 transistor;
520# 3435 = thermistor with Beta = 3435
521# If temperature changes very little, try 1 or 2.
522#   set sensor1 1
523#   set sensor2 2
524
525# examples for temperature limits
526#    set temp1_over 40
527#    set temp1_hyst 37
528#    set temp2_over 52
529#    set temp2_hyst 47
530
531
532chip "w83697hf-*"
533
534# Same as above for w83781d except that in5 and in6 are computed differently.
535# Rather than an internal inverting op amp, the 82d/83s use standard positive
536# inputs and the negative voltages are level shifted by a 3.6V reference.
537# The math is convoluted, so we hope that your motherboard
538# uses the recommended resistor values.
539
540# no in1 on this chip.
541
542    label in0 "VCore"
543    label in2 "+3.3V"
544    label in3 "+5V"
545    label in4 "+12V"
546    label in5 "-12V"
547    label in6 "-5V"
548    label in7 "V5SB"
549    label in8 "VBat"
550
551# Tyan Trinity S2495 KT400 has a few differences. Thanks to Eric Schumann
552# for proving this information. Same is true for Epox 8K3A and 8KHA+.
553# Thanks to Thomas Schorpp for additional feedback.
554#    label in2 "VAgp"
555#    label in5 "+3.3V" # aka. Vio
556#    label in6 "Vdimm"
557#    label in7 "VBat"
558#    label in8 "V5SB"
559#
560# You'll also want to comment out the in5 and in6 compute lines right below,
561# and rename compute in7 to compute in8.
562
563    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
564    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
565    compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
566    compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
567    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
568
569# 697HF does not have VID inputs so you MUST set your core
570# voltage limits below. Currently set for 1.8V core.
571#               vvv
572
573    set in0_min 1.8 * 0.95
574    set in0_max 1.8 * 1.05
575
576    set in2_min 3.3 * 0.95
577    set in2_max 3.3 * 1.05
578    set in3_min 5.0 * 0.95
579    set in3_max 5.0 * 1.05
580    set in4_min 12 * 0.90
581    set in4_max 12 * 1.10
582    set in5_max -12 * 0.90
583    set in5_min -12 * 1.10
584    set in6_max -5 * 0.95
585    set in6_min -5 * 1.05
586    set in7_min 5 * 0.95
587    set in7_max 5 * 1.05
588    set in8_min 3.0 * 0.80
589    set in8_max 3.0 * 1.20
590
591# And for Tyan Trinity S2495 KT400 and Epox 8K3A and 8KHA+:
592#    set in2_min 1.5 * 0.95
593#    set in2_max 1.5 * 1.05
594#    set in5_min 3.3 * 0.95
595#    set in5_max 3.3 * 1.05
596#    set in6_min 2.5 * 0.95 # 2.6 on Epox?
597#    set in6_max 2.5 * 1.05 # 2.6 on Epox?
598#    set in7_min 3.0 * 0.90
599#    set in7_max 3.0 * 1.10
600#    set in8_min 5 * 0.90
601#    set in8_max 5 * 1.10
602
603# set up sensor types (thermistor is default)
604# 1 = PII/Celeron Diode; 2 = 3904 transistor;
605# 3435 = thermistor with Beta = 3435
606# If temperature changes very little, try 1 or 2.
607#   set sensor1 1
608#   set sensor2 2
609#   set sensor3 3435
610
611# examples for temperature limits
612#    set temp1_over 40
613#    set temp1_hyst 37
614#    set temp2_over 52
615#    set temp2_hyst 47
616
617
618chip "w83627thf-*" "w83637hf-*"
619
620# Rather than an internal inverting op amp, the 627thf uses standard positive
621# inputs and the negative voltages are level shifted by a 3.6V reference
622# (same as 82d/83s).
623# The math is convoluted, so we hope that your motherboard
624# uses the recommended resistor values.
625# Note that in1 (+12V) is the usual in4, and in4 (-12V) is the usual in5.
626# Data sheet is obviously wrong for in4, the usual formula should work.
627# No in5 nor in6.
628
629    label in0 "VCore"
630    label in1 "+12V"
631    label in2 "+3.3V"
632    label in3 "+5V"
633    label in4 "-12V"
634    label in7 "V5SB"
635    label in8 "VBat"
636
637# Mori Hiroyuki reported to need this (P4P800)
638#   compute in0 @/2, @*2
639
640    compute in1 ((28/10)+1)*@, @/((28/10)+1)
641    compute in3 ((34/51)+1)*@, @/((34/51)+1)
642    compute in4 (5.14*@)-14.91, (@+14.91)/5.14
643    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
644
645# adjust this if your vid is wrong; see doc/vid
646#   set vrm 9.0
647
648# set limits to  5% for the critical voltages
649# set limits to 10% for the non-critical voltages
650# set limits to 20% for the battery voltage
651# if your vid is wrong, you'll need to adjust in0_min and in0_max
652
653    set in0_min vid * 0.95
654    set in0_max vid * 1.05
655    set in1_min 12 * 0.90
656    set in1_max 12 * 1.10
657    set in2_min 3.3 * 0.95
658    set in2_max 3.3 * 1.05
659    set in3_min 5.0 * 0.95
660    set in3_max 5.0 * 1.05
661    set in4_min -12 * 0.90
662    set in4_max -12 * 1.10
663    set in7_min 5 * 0.95
664    set in7_max 5 * 1.05
665    set in8_min 3.0 * 0.80
666    set in8_max 3.0 * 1.20
667
668# set up sensor types (thermistor is default)
669# 1 = PII/Celeron Diode; 2 = 3904 transistor;
670# 3435 = thermistor with Beta = 3435
671# If temperature changes very little, try 1 or 2.
672#   set sensor1 1
673#   set sensor2 2
674#   set sensor3 3435
675
676    label temp1 "M/B Temp"
677    label temp2 "CPU Temp"
678#   ignore temp3
679
680# examples for temperature limits
681#    set temp1_over 40
682#    set temp1_hyst 37
683#    set temp2_over 52
684#    set temp2_hyst 47
685#    set temp3_over 52
686#    set temp3_hyst 47
687
688#   ignore fan1
689    label fan2 "CPU Fan"
690#   ignore fan3
691
692
693chip "as99127f-*"
694
695# Asus won't release a datasheet so this is guesswork.
696# Thanks to Guntram Blohm, Jack, Ed Harrison, Artur Gawryszczak,
697# Victor G. Marimon and others for their feedback.
698
699# Dual power plane
700    label in0 "VCore 1"
701    label in1 "VCore 2"
702# Single power plane (A7V133, A7M266)
703#   label in0 "VCore"
704#   ignore in1
705
706    label in2 "+3.3V"
707    label in3 "+5V"
708    label in4 "+12V"
709# These last two may not make sense on all motherboards.
710    label in5 "-12V"
711    label in6 "-5V"
712
713    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
714    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
715# AS99127F rev.1 (same as w83781d)
716    compute in5 -(240/60.4)*@ ,  -@/(240/60.4)
717    compute in6 -(90.9/60.4)*@ ,  -@/(90.9/60.4)
718# AS99127F rev.2 (same as w83782d)
719#   compute in5 (5.14 * @) - 14.91 , (@ + 14.91) / 5.14
720#   compute in6 (3.14 * @) -  7.71 , (@ +  7.71) / 3.14
721
722# Depending on your motherboard, you have to choose between three formulae
723# for temp2. Quoting Artur Gawryszczak:
724# "I guess, that the formula "temp2 (@*30/43)+25, (@-25)*43/30" is correct
725# for those Asus motherboards, which get CPU temperature from internal
726# thermal diode (Pentium Coppermine, and above), and "temp2 @*2.0, @/2.0"
727# is correct for Athlon/Duron boards, which use a thermistor in the
728# socket."
729# The third formula was found and reported by Victor G. Marimon.
730# Asus CUV4X, Asus A7V8X
731#   compute temp2 (@*30/43)+25, (@-25)*43/30
732# Asus A7V133, Asus A7M266
733    compute temp2 @*2.0, @/2.0
734# Asus CUSL2, Asus CUV266-DLS
735#   compute temp2 (@*60/43)+25, (@-25)*43/60
736
737# See comments above if temp3 looks bad. What works for temp2 is likely
738# to work for temp3.
739    compute temp3 @*2.0, @/2.0
740
741# Most Asus boards have temperatures settled like that:
742    label temp1 "M/B Temp"
743    label temp2 "CPU Temp"
744# However, some A7N8X boards (Deluxe rev.2, -X) have them swapped:
745#   label temp1 "CPU Temp"
746#   label temp2 "M/B Temp"
747# If you know other boards where they are swapped, let us know and
748# we'll update the list.
749
750# adjust this if your vid is wrong; see doc/vid
751#   set vrm 9.0
752
753# set limits to  5% for the critical voltages
754# set limits to 10% for the non-critical voltages
755# set limits to 20% for the battery voltage
756
757    set in0_min vid*0.95
758    set in0_max vid*1.05
759    set in1_min vid*0.95
760    set in1_max vid*1.05
761    set in2_min 3.3 * 0.95
762    set in2_max 3.3 * 1.05
763    set in3_min 5.0 * 0.95
764    set in3_max 5.0 * 1.05
765    set in4_min 12 * 0.90
766    set in4_max 12 * 1.10
767    set in5_max -12 * 0.90
768    set in5_min -12 * 1.10
769    set in6_max -5 * 0.95
770    set in6_min -5 * 1.05
771
772# examples for temperature limits
773#    set temp1_over 40
774#    set temp1_hyst 37
775#    set temp2_over 52
776#    set temp2_hyst 47
777#    set temp3_over 52
778#    set temp3_hyst 47
779
780# The A7N8X-X board is known to need this:
781# (reported by Roberto Sebastiano <robs@multiplayer.it>)
782#    compute fan1  @/2,  2*@
783
784
785chip "gl518sm-*"
786
787# IMPORTANT: in0, in1, and in2 values (+5, +3, and +12) CANNOT be read
788#            unless you use the slow 'iterate' method. Limits will still
789#            work even when iterate=0. See ../doc/chips/gl518sm.
790#
791# Factors and labels taken from GL518SM datasheet, they seem to give
792# reasonable values with EISCA connected Fan78
793
794  label vdd "+5V"
795  label vin1 "+3.3V"
796  label vin2 "+12V"
797  label vin3 "Vcore"
798
799# vin2 depends on external resistors (4,7k and 15k assumed here)
800# vin1 and vin3 require no scaling
801
802  compute vin2 (197/47)*@  ,  @/(197/47)
803
804  set vdd_min 4.8
805  set vdd_max 5.2
806  set vin1_min 3.20
807  set vin1_max 3.40
808  set vin2_min 11.0
809  set vin2_max 13.0
810  set vin3_min 2.10
811  set vin3_max 2.30
812  set fan1_off 0
813  set fan2_min 0
814# set iterate 2
815
816
817chip "gl520sm-*"
818
819# Factors and labels taken from GL520SM datasheet
820
821# The GL520SM has two application modes. In mode 1 it has two thermistor
822# inputs, in mode 2 it has only one and an extra (negative) voltage input.
823# The mode is supposed to be set properly by your BIOS so you should not
824# need to change it. You can force it below if really needed though.
825# Note that this means that you have either temp2 or vin4 but never both
826# at the same time.
827
828# set two_temps 1
829
830  label vdd "+5V"
831  label vin1 "+3.3V"
832  label vin2 "+12V"
833  label vin3 "Vcore"
834  label vin4 "-12V"
835
836# vin1 and vin3 require no scaling
837# vin2 depends on external resistors (4,7k and 15k assumed)
838
839# vin4 = ((R1+R2)/R2)*@ - (R1/R2)*vdd
840#
841#       -12 --| R1 |---t---| R2 |-- +5
842#                      |
843#                    vin4
844#
845
846  compute vin2 (197/47)*@  ,  @/(197/47)
847  compute vin4 (5*@)-(4*vdd) , (@+4*vdd)/5
848
849  set vdd_min 4.8
850  set vdd_max 5.2
851  set vin1_min 3.20
852  set vin1_max 3.40
853  set vin2_min 11.0
854  set vin2_max 13.0
855  set vin3_min 2.10
856  set vin3_max 2.30
857
858
859chip "lm80-*"
860
861# The values below should be correct if you own a qdi BX (brilliant1)
862# mainboard. If not, please contact us, so we can figure out better readings.
863# Many thanks go to Peter T. Breuer <ptb@it.uc3m.es> for helping us figure
864# out how to handle the LM80.
865
866# For positive voltages (in0..in4), two resistors are used, with the following
867# formula (R1,R2: resistor values, Vs: read voltage, Vin: pin voltage)
868#   R1 = R2 * (Vs/Vin - 1)
869# For negative voltages (in5, in6) two resistors are used, with the following
870# formula (R3,R4: resistor values, Vs: read voltage, Vin: pin voltage,
871# V5: +5V)
872#   R3 = R4 * (Vs - Vin) / (Vin - V5)
873
874# Here are the official LM80 data sheet values.
875#       Vs      R1,R3   R2,R4    Vin
876#       +2.5V    23.7    75     +1.9
877#       +3.3V    22.1    30     +1.9
878#       +5.0     24      14.7   +1.9
879#      +12.0    160      30.1   +1.9
880#      -12.0    160      35.7   +1.9
881#       -5.0     36      16.2   +1.9
882
883# Now curiously enough, VCore is connected with (unknown) resistors, which
884# translate a +2.8V to +1.9V. So we use that in the computations below.
885
886    label in0 "+5V"
887    label in1 "VTT"
888    label in2 "+3.3V"
889    label in3 "+Vcore"
890    label in4 "+12V"
891    label in5 "-12V"
892    label in6 "-5V"
893
894    compute in0 (24/14.7 + 1) * @ ,       @ / (24/14.7 + 1)
895    compute in2 (22.1/30 + 1) * @ ,       @ / (22.1/30 + 1)
896    compute in3 (2.8/1.9) * @,            @ * 1.9/2.8
897    compute in4 (160/30.1 + 1) * @,       @ / (160/30.1 + 1)
898    compute in5 (160/35.7)*(@ - in0) + @, (@ + in0 * 160/35.7)/ (1 + 160/35.7)
899    compute in6 (36/16.2)*(@ - in0) + @,  (@ + in0 * 36/16.2) / (1 + 36/16.2)
900
901    set in0_min 5 * 0.95
902    set in0_max 5 * 1.05
903# What is your VTT? It is probably not this value...
904    set in1_min 2*0.95
905    set in1_max 2*1.05
906    set in2_min 3.3 * 0.95
907    set in2_max 3.3 * 1.05
908# What is your VCore? It is probably not this value...
909    set in3_min 1.9 * 0.95
910    set in3_max 1.9 * 1.05
911    set in4_min 12 * 0.95
912    set in4_max 12 * 1.05
913    set in5_min -12 * 1.05
914    set in5_max -12 * 0.95
915    set in6_min -5 * 1.05
916    set in6_max -5 * 0.95
917
918# examples for lm80 temperature limits
919# WARNING - nonstandard names and functions for the lm80!!!
920# All 4 of these limits apply to the single temperature sensor.
921# "hot" is like the standard alarm for most chips.
922# "os" is the threshold for the overtemperature shutdown output.
923# "os" may or may not do anything on your motherboard but it should
924#  be set higher than the "hot" thresholds.
925# Note that the /proc file 'temp" also has five entries instead of
926# the usual three.
927#    set temp_hot_hyst 45
928#    set temp_hot_max  52
929#    set temp_os_hyst  57
930#    set temp_os_max   62
931
932
933chip "maxilife-cg-*" "maxilife-co-*" "maxilife-as-*"
934
935   label fan1  "HDD Fan"
936   label fan2  "PCI Fan"
937   label fan3  "CPU Fan"
938   ignore fan4
939
940   label temp2 "PCI Temp"
941   label temp4 "HDD Temp"
942   label temp5 "CPU Temp"
943   ignore temp6
944
945   label vid1  "V+12"
946   ignore vid5
947
948# vid1 need to be scaled by 6.337 other voltages
949# require no scaling
950
951   compute vid1 6.337*@ , @/6.337
952
953
954chip "maxilife-cg-*"
955
956   ignore temp1
957   label temp3  "BX Temp"
958
959   label vid2   "Vcpu1"
960   label vid3   "Vcpu2"
961   ignore vid4
962
963
964chip "maxilife-co-*"
965
966   label temp1  "CPU 1 Temp"
967   label temp3  "CPU 2 Temp"
968
969   label vid2   "Vcpu1"
970   label vid3   "Vcpu2"
971   label vid4   "VcacheL2"
972
973
974chip "maxilife-as-*"
975
976   ignore temp1
977   ignore temp3
978
979   label vid2   "Vcpu"
980   ignore vid3
981   ignore vid4
982
983
984chip "maxilife-nba-*"
985
986   label fan1  "CPU Fan"
987   label fan2  "PCI Fan"
988   label fan3  "HDD Fan"
989   label fan4  "Heat Sink Fan"
990
991   label temp1  "CPU 1 Temp"
992   label temp2  "CPU 2 Temp"
993   label temp3  "PCI/Ambient Temp"
994   label temp4  "HDD Temp"
995   label temp5  "Motherboard Temp"
996   label temp6  "CPU Reference Temp"
997
998   label vid1  "V+12"
999   label vid2  "Vcpu1"
1000   label vid3  "Vcpu2"
1001   label vid4  "VcacheL2"
1002   label vid5  "V-12"
1003
1004
1005chip "via686a-*"
1006
1007# VIA is very specific about the voltage sensor inputs, and our labels
1008# reflect what they say.  Unfortunately, they are not at all specific about
1009# how to convert any of the register values to real units.  Fortunately,
1010# Jonathan Yew <j.teh@iname.com> and Alex van Kaam <darkside@chello.nl>
1011# came through with some data for temp conversion and formulae for voltage
1012# conversion. However, the conversions should be regarded as our best guess-
1013# YMMV.
1014
1015# On the Tyan S1598, the 2.5V sensor reads 0 and is not displayed in the BIOS.
1016# Linas Vepstas <linas@linas.org> reports that this sensor shows nothing of
1017# interest on the Abit KA7 (Athlon), and is also not displayed in the BIOS.
1018# Likewise, Johannes Drechsel-Burkhard <jdb@chello.at> reports that this
1019# sensor is unavailable in the BIOS of his MSI K7T Pro (Thunderbird).  So,
1020# if you have one of these boards you may want to uncomment the 'ignore 2.5V'
1021# line below.
1022
1023    label "2.0V" "CPU core"
1024    label "2.5V" "+2.5V"
1025    #ignore "2.5V"
1026    label "3.3V" "I/O"
1027    label "5.0V" "+5V"
1028    label "12V" "+12V"
1029
1030    label fan1  "CPU Fan"
1031    label fan2  "P/S Fan"
1032
1033# VIA suggests that temp3 is an internal temp sensor for the 686a.  However,
1034# on the Tyan S1598 as well as the Abit KA7 (Athalon), the absolute values
1035# of the readings from that sensor are not valid.  The readings do seem to
1036# correlate with temp changes, but the conversion factor may be quite
1037# different from temp1 & temp2 (as noted above, VIA has not provided
1038# conversion info).  So, you may wish to 'ignore temp3'.
1039
1040# Johannes Drechsel-Burkhard <jdb@chello.at> notes that on his MSI K7T Pro,
1041# temp1 is the CPU temp and temp2 is the SYS temp. Hugo van der Merwe notes
1042# the same for his Gigabyte GA-7DXC, and Olivier Martin for his Gigabyte
1043# GA-7ZM.
1044
1045    label temp1 "SYS Temp"
1046    label temp2 "CPU Temp"
1047    label temp3 "SBr Temp"
1048    #ignore temp3
1049
1050# Set your CPU core limits here.  For the other voltage sensors, the
1051# built-in defaults should be fine.
1052
1053    set in0_min 2.0
1054    set in0_max 2.5
1055
1056# Set your temp limits here.  Remember, 'tempX_over' is the temp at which an
1057# alarm is triggered, and 'tempX_hyst' is the temp at which an alarm turns off.
1058# Setting tempX_hyst to a few degrees below the corresponding tempX_over
1059# prevents an oscillation between alarm on and off states.  This kind of
1060# oscillation is known as hyteresis, thus the name.  (You typically get the
1061# most serious and troublesome hysteresis when a sensor triggers something to
1062# reduce the temp, thus creating a negative feedback loop.  Even without that,
1063# we would still get some oscillation when the temp hovers around the limit
1064# due to noise.)
1065
1066    set temp1_hyst 40
1067    set temp1_over 45
1068    set temp2_hyst 55
1069    set temp2_over 60
1070    set temp3_hyst 60
1071    set temp3_over 65
1072
1073# You could set your fan limits too, but the defaults should be fine.
1074
1075    #set fan1_min 5000
1076    #set fan2_min 5000
1077
1078
1079chip "mtp008-*"
1080
1081# The values below should be correct if you own a Tyan S1834D motherboard.
1082# If not, please contact us, so we can figure out better readings.
1083# FOR TYAN S2510 SEE END OF THIS SECTION.
1084
1085# For positive voltages outside the 0..4.09V range (in2..in4), two resistors
1086# are used, with the following formula (R1,R2: resistor values, Vs: read
1087# voltage, Vin: pin voltage)
1088#   Vin = Vs * (R2 / (R1 + R2))
1089# For negative voltages (in5) two resistors are used, with the following
1090# formula (R3,R4: resistor values, Vs: read voltage, Vin: pin voltage)
1091#   Vin = ((4.096 - Vs) * (R3 / (R3 + R4))) + Vs
1092
1093# Here are the official MTP008 data sheet values:
1094#       Vs      R1,R3   R2,R4    Vin
1095#      +12.0    28000   10000   +3.16
1096#      -12.0   232000   56000   +0.96
1097#       -5.0   120000   56000   +1.20
1098
1099    label in0 "VCore1"
1100    label in1 "+3.3V"
1101    label in2 "+12V"
1102    label in3 "Vcore2"
1103    ignore in4
1104    label in5 "-12V"
1105    label in6 "Vtt"
1106
1107    label fan1 "CPU1 Fan"
1108    label fan2 "CPU2 Fan"
1109    label fan3 "fan3"
1110
1111    label temp1 "CPU1 Temp"
1112    label temp2 "CPU2 Temp"
1113    ignore temp3
1114
1115    compute in2 @ * 38 / 10,            @ * 10 / 38
1116    compute in5 (@ * 36 - 118.61) / 7,  (118.61 + 7 * @) / 36
1117
1118# examples for temperature limits
1119#    set temp1_over 40
1120#    set temp1_hyst 37
1121#    set temp2_over 52
1122#    set temp2_hyst 47
1123#    set temp3_over 52
1124#    set temp3_hyst 47
1125
1126# End of standard mtp008 configuration
1127
1128# TYAN S2510 INFORMATION
1129# This motherboard has two mtp008's which are hooked up differently,
1130# so they must be configured separately.
1131# For this motherboard, COMMENT OUT the above mtp008 section and
1132# UNCOMMENT the following two sections.
1133#
1134#chip "mtp008-i2c-*-2c"
1135#    label in0 "VCore1"
1136#    set in0_min 1.60
1137#    set in0_max 1.80
1138#    label in1 "+3.3V"
1139#    label in2 "+12V"
1140#    label in3 "Vcore2"
1141#    set in3_min 1.60
1142#    set in3_max 1.80
1143#    ignore in4
1144#    label in5 "-12V"
1145#    label in6 "Vtt"
1146#    label fan1 "CPU1 Fan"
1147#    label fan2 "CPU2 Fan"
1148#    label fan3 "fan3"
1149#    label temp1 "CPU1 Temp"
1150#    label temp2 "CPU2 Temp"
1151#    ignore temp3
1152#    compute in2 @ * 38 / 10,           @ * 10 / 38
1153#    compute in5 (@ * 36 - 118.61) / 7, (118.61 + 7 * @) / 36
1154#
1155#chip "mtp008-i2c-*-2e"
1156#    ignore in0
1157#    label in1 "+3.3V"
1158#    ignore in2
1159#    label in3 "+5V"
1160#    set in3_min 4.50
1161#    set in3_max 5.50
1162#    ignore in4
1163#    label in5 "+3.3V"
1164#    ignore in6
1165#    label fan1 "fan4"
1166#    label fan2 "fan5"
1167#    label fan3 "fan6"
1168#    ignore temp1
1169#    label temp2 "MB Temp"
1170#    set temp2_over 52
1171#    set temp2_hyst 47
1172#    ignore temp3
1173
1174chip "adm1025-*" "ne1619-*"
1175
1176# The ADM1025 has integrated scaling resistors, rather
1177# than external resistors common to most sensor devices.
1178# These apply to the 6 voltage inputs in0-in5 (+2.5V, VCore,
1179# +3.3V, +5V, +12V, VCC). As the scaling is fixed inside
1180# the chip for these inputs, it is fairly certain that the
1181# motherboard connections match these labels, and that the
1182# driver computations are correct. Therefore they do not need to
1183# be overridden here.
1184
1185    label in0 "+2.5V"
1186    label in1 "VCore"
1187    label in2 "+3.3V"
1188    label in3 "+5V"
1189    label in4 "+12V"
1190    label in5 "VCC"
1191
1192# Tolerate a 5% deviance for CPU power-supply
1193    set in1_min vid * 0.95
1194    set in1_max vid * 1.05
1195# Tolerate a 10% deviance for other voltages
1196    set in0_min 2.5 * 0.90
1197    set in0_max 2.5 * 1.10
1198    set in2_min 3.3 * 0.90
1199    set in2_max 3.3 * 1.10
1200    set in3_min 5.0 * 0.90
1201    set in3_max 5.0 * 1.10
1202    set in4_min 12 * 0.90
1203    set in4_max 12 * 1.10
1204    set in5_min 3.3 * 0.90
1205    set in5_max 3.3 * 1.10
1206
1207# Depending on how your chipset is hardwired, you may or may not have
1208# +12V readings (will show as 0.0V if you don't have it).
1209#   ignore in4
1210
1211# VCC is the power-supply voltage of the ADM1025 chipset, generally
1212# redundant with +3.3V so you may want to hide it.
1213#   ignore in5
1214
1215# Adjust this if your vid is wrong; see doc/vid
1216    set vrm 9.0
1217
1218# Temperatures
1219    label temp1 "CPU Temp"
1220    label temp2 "M/B Temp"
1221    set temp1_low 10
1222    set temp1_high 60
1223    set temp2_low 10
1224    set temp2_high 45
1225
1226
1227chip "lm87-*"
1228#
1229# The LM87 has integrated scaling resistors, rather
1230# than external resistors common to most sensor devices.
1231# These apply to the first 6 voltage inputs in0-in5
1232# (+2.5, Vccp1, +3.3, +5, 12, +Vccp2). As the scaling is fixed inside
1233# the chip for these inputs, it is fairly certain that the
1234# motherboard connections match these labels, and that the
1235# driver computations are correct. Therefore they do not need to
1236# be overridden here.
1237#
1238# Note: AIN1 (-12?), AIN2 (-5?) and CPU2_temp require changing
1239# #defines in the driver and recompiling!!!
1240#
1241# This chip has non-standard entries in lib/chips.c so
1242# the feature names are quite different from other chips.
1243# For this chip, libsensors anticipates the correct labeling.
1244# This is great if it's correct but makes it a little more
1245# difficult if you want to change it.
1246#
1247# This may not have been a good idea, so it may be changed in the future.
1248# Here is an entry with everything commented out so you can
1249# uncomment the appropriate line if you want to change it.
1250#
1251# Warning - feature names starting with a number must be enclosed
1252# with double quotes.
1253#
1254# It is unlikely you will need to use the following 6 lines (see above)
1255#   label "2.5V" "xxx"
1256#   label Vccp1 "xxx"
1257#   label "3.3V" "xxx"
1258#   label "5V" "xxx"
1259#   label "12V" "xxx"
1260#   label Vccp2 "xxx"
1261
1262#   label fan1 "xxx"
1263#   label fan2 "xxx"
1264#   label temp1 "xxx"
1265#   label CPU_Temp "xxx"
1266#   label CPU2_Temp "xxx"
1267#
1268#   set AmbTemp_min xxx
1269#   set Vccp1_min xxx
1270#   set "3.3V_min" xxx
1271#   set "5V_min" xxx
1272#   set "12V_min" xxx
1273#   set Vccp2_min xxx
1274#
1275#   set AmbTemp_max xxx
1276#   set Vccp1_max xxx
1277#   set "3.3V_max" xxx
1278#   set "5V_max" xxx
1279#   set "12V_max" xxx
1280#   set Vccp2_max xxx
1281#
1282#   set fan1_div xxx
1283#   set fan2_div xxx
1284#   set fan1_min xxx
1285#   set fan2_min xxx
1286#   set temp1_min xxx
1287#   set temp1_max xxx
1288#   set temp2_min xxx
1289#   set temp2_max xxx
1290#   set temp3_min xxx
1291#   set temp3_max xxx
1292
1293# It is unlikely you will need to use the following 6 lines (see above)
1294#   compute "2.5V" xxx
1295#   compute Vccp1 xxx
1296#   compute "3.3V" xxx
1297#   compute "5V" xxx
1298#   compute "12V" xxx
1299#   compute Vccp2 xxx
1300
1301#   compute temp1 xxx
1302#   compute CPU_Temp xxx
1303#   compute CPU2_Temp xxx
1304
1305# LM87 AIN1 and AIN2 Section
1306# As described above, the driver must be recompiled to use either or
1307# both of these. -12 and -5 may be reversed on your board, this is
1308# just a guess, the datasheet gives no guidance.
1309#   label AIN1 "-12V"
1310#   label AIN2 "-5V"
1311#   set AIN1_min -12 * 0.95
1312#   set AIN2_min -5 * 0.95
1313#   set AIN1_max -12 * 1.05
1314#   set AIN2_max -5 * 0.95
1315#   compute AIN1 (7.50 * @) - 21.45  ,  (@ + 21.45) / 7.50
1316#   compute AIN2 (4.05 * @) - 10.07  ,  (@ + 10.07) / 4.05
1317
1318chip "adm9240-*" "ds1780-*" "lm81-*"
1319#
1320# These chips have non-standard entries in lib/chips.c so
1321# the feature names are quite different from other chips.
1322# For these chips, libsensors anticipates the correct labeling.
1323# This is great if it's correct but makes it a little more
1324# difficult if you want to change it.
1325#
1326# This may not have been a good idea, so it may be changed in the future.
1327# Here is an entry with everything commented out so you can
1328# uncomment the appropriate line if you want to change it.
1329#
1330# Warning - feature names starting with a number must be enclosed
1331# with double quotes.
1332#
1333#   label "2.5V" "xxx"
1334#   label Vccp1 "xxx"
1335#   label "3.3V" "xxx"
1336#   label "5V" "xxx"
1337#   label "12V" "xxx"
1338#   label Vccp2 "xxx"
1339#   label fan1 "xxx"
1340#   label fan2 "xxx"
1341#   label temp "xxx"
1342#
1343#   set Vccp1_min xxx
1344#   set "2.5V_min" xxx
1345#   set "3.3V_min" xxx
1346#   set "5V_min" xxx
1347#   set "12V_min" xxx
1348#   set Vccp2_min xxx
1349#
1350#   set Vccp1_max xxx
1351#   set "2.5V_max" xxx
1352#   set "3.3V_max" xxx
1353#   set "5V_max" xxx
1354#   set "12V_max" xxx
1355#   set Vccp2_max xxx
1356#
1357#   set fan1_div xxx
1358#   set fan2_div xxx
1359#   set fan1_min xxx
1360#   set fan2_min xxx
1361#   set temp1_hyst xxx
1362#   set temp1_over xxx
1363
1364#   compute "2.5V" xxx
1365#   compute Vccp1 xxx
1366#   compute "3.3V" xxx
1367#   compute "5V" xxx
1368#   compute "12V" xxx
1369#   compute Vccp2 xxx
1370#   compute temp xxx
1371
1372chip "adm1024-*"
1373#
1374# These settings work for me, adjust for your system
1375#
1376    label fan1 "CPU1 fan"
1377    label fan2 "CPU2 fan"
1378    label temp "SYS Temp"
1379    label temp1 "CPU2 Temp"
1380    label temp2 "CPU1 Temp"
1381    ignore "2.5V" # This register is also used for temp2
1382    ignore "Vccp1"
1383    ignore "Vccp2"
1384
1385
1386chip "it87-*"
1387
1388# The values below have been tested on Asus CUSI, CUM motherboards.
1389
1390# Voltage monitors as advised in the It8705 data sheet
1391
1392    label in0 "VCore 1"
1393    label in1 "VCore 2"
1394    label in2 "+3.3V"
1395    label in3 "+5V"
1396    label in4 "+12V"
1397    label in5 "-12V"
1398    label in6 "-5V"
1399    label in7 "Stdby"
1400    label in8 "VBat"
1401
1402    set in0_min 1.5 * 0.95
1403    set in0_max 1.5 * 1.05
1404    set in1_min 2.4
1405    set in1_max 2.6
1406    set in2_min 3.3 * 0.95
1407    set in2_max 3.3 * 1.05
1408    set in3_min 5.0 * 0.95
1409    set in3_max 5.0 * 1.05
1410    set in4_min 12 * 0.95
1411    set in4_max 12 * 1.05
1412    set in5_max -12 * 0.95
1413    set in5_min -12 * 1.05
1414    set in6_max -5 * 0.95
1415    set in6_min -5 * 1.05
1416    set in7_min 5 * 0.95
1417    set in7_max 5 * 1.05
1418    #the chip does not support in8 min/max
1419
1420    # vid is not monitored by IT8705F
1421    # and is not supported by driver at this time
1422    ignore  vid
1423
1424# Incubus Saturnus reports that the IT87 chip on Asus A7V8X-X seems
1425# to report the VCORE voltage approximately 0.05V higher than the board's
1426# BIOS does. Although it doesn't make much sense physically, uncommenting
1427# the next line should bring the readings in line with the BIOS' ones in
1428# this case.
1429# compute in0 -0.05+@ , @+0.05
1430
1431# If 3.3V reads 2X too high (Soyo Dragon and Asus A7V8X-X, for example),
1432# comment out following line.
1433    compute in2   2*@ , @/2
1434#
1435    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1436    compute in4 ((30/10) +1)*@  , @/((30/10) +1)
1437# For this family of chips the negative voltage equation is different from
1438# the lm78.  The chip uses two external resistor for scaling but one is
1439# tied to a positive reference voltage.  See ITE8705/12 datasheet (SIS950
1440# data sheet is wrong)
1441# Vs = (1 + Rin/Rf) * Vin - (Rin/Rf) * Vref.
1442# Vref = 4.096 volts, Vin is voltage measured, Vs is actual voltage.
1443
1444# The next two are negative voltages (-12 and -5).
1445# The following formulas must be used. Unfortunately the datasheet
1446# does not give recommendations for Rin, Rf, but we can back into
1447# them based on a nominal +2V input to the chip, together with a 4.096V Vref.
1448# Formula:
1449#    actual V = (Vmeasured * (1 + Rin/Rf)) - (Vref * (Rin/Rf))
1450#    For -12V input use Rin/Rf = 6.68
1451#    For -5V input use Rin/Rf = 3.33
1452# Then you can convert the forumula to a standard form like:
1453    compute in5 (7.67 * @) - 27.36  ,  (@ + 27.36) / 7.67
1454    compute in6 (4.33 * @) - 13.64  ,  (@ + 13.64) / 4.33
1455#
1456# this much simpler version is reported to work for a
1457# Elite Group K7S5A board
1458#
1459#   compute in5 -(36/10)*@, -@/(36/10)
1460#   compute in6 -(56/10)*@, -@/(56/10)
1461#
1462    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1463
1464# Temperature
1465#
1466# Important - if your temperature readings are completely whacky
1467# you probably need to change the sensor type.
1468# Adujst and uncomment the appropriate lines below.
1469# The old method (modprobe it87 temp_type=0xXX) is no longer supported.
1470#
1471# 2 = thermistor; 3 = thermal diode; 0 = unused
1472#   set sensor1 3
1473#   set sensor2 3
1474#   set sensor3 3
1475# If a given sensor isn't used, you will probably want to ignore it
1476# (see ignore statement right below).
1477
1478    label temp1       "M/B Temp"
1479    set   temp1_over  40
1480    set   temp1_low   15
1481    label temp2       "CPU Temp"
1482    set   temp2_over  45
1483    set   temp2_low   15
1484#   ignore temp3
1485    label temp3       "Temp3"
1486    set   temp3_over  45
1487    set   temp3_low   15
1488
1489# The A7V8X-X has temperatures inverted, and needs a conversion for
1490# CPU temp. Thanks to Preben Randhol for the formula.
1491#   label temp1       "CPU Temp"
1492#   label temp2       "M/B Temp"
1493#   compute temp1     (-15.096+1.4893*@), (@+15.096)/1.4893
1494
1495# The A7V600 also has temperatures inverted, and needs a different
1496# conversion for CPU temp. Thanks to Dariusz Jaszkowski for the formula.
1497#   label temp1       "CPU Temp"
1498#   label temp2       "M/B Temp"
1499#   compute temp1     (@+128)/3, (3*@-128)
1500
1501# Fans
1502    set fan1_min 0
1503    set fan2_min 3000
1504#   ignore fan3
1505    set fan3_min 3000
1506
1507# The following is for the Inside Technologies 786LCD which uses either a
1508# IT8705F or a SIS950 for monitoring with the SIS630.
1509# You will need to load the it87 module as follows to select the correct
1510# temperature sensor type.
1511# modprobe it87 temp_type=0x31
1512# The sensors-detect program reports lm78 and a sis5595 and lists the it87 as
1513# a misdetect.  Don't do the modprobe for the lm78 or sis5595 as suggested.
1514#
1515# delete or comment out above it87 section and uncomment the following.
1516#chip "it87-*"
1517#    label in0 "VCore 1"
1518#    label in1 "VCore 2"
1519#    label in2 "+3.3V"
1520#    label in3 "+5V"
1521#    label in4 "+12V"
1522#    label in5 "3.3 Stdby"
1523#    label in6 "-12V"
1524#    label in7 "Stdby"
1525#    label in8 "VBat"
1526    # in0 will depend on your processor VID value, set to voltage specified in
1527    # bios setup screen
1528#    set in0_min 1.7 * 0.95
1529#    set in0_max 1.7 * 1.05
1530#    set in1_min 2.4
1531#    set in1_max 2.6
1532#    set in2_min 3.3 * 0.95
1533#    set in2_max 3.3 * 1.05
1534#    set in3_min 5.0 * 0.95
1535#    set in3_max 5.0 * 1.05
1536    # +- 12V are very poor tolerance on this board. Verified with voltmeter
1537#    set in4_min 12 * 0.90
1538#    set in4_max 12 * 1.10
1539#    set in5_min 3.3 * 0.95
1540#    set in5_max 3.3 * 1.05
1541#    set in6_max -12 * 0.90
1542#    set in6_min -12 * 1.10
1543#    set in7_min 5 * 0.95
1544#    set in7_max 5 * 1.05
1545    # vid not monitored by IT8705F
1546#    ignore  vid
1547
1548#    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1549#    compute in4 ((30/10) +1)*@  , @/((30/10) +1)
1550#    compute in6 (1+232/56)*@ - 4.096*232/56, (@ + 4.096*232/56)/(1+232/56)
1551#    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1552    # Temperature
1553#    label temp1       "CPU Temp"
1554#    ignore temp2
1555#    ignore temp3
1556    # Fans
1557#    set fan1_min 3000
1558#    ignore fan2
1559#    ignore fan3
1560
1561
1562chip "fscpos-*"
1563# Fujitsu-Siemens Poseidon chip
1564
1565# Temperature
1566
1567    label temp1       "Temp1/CPU"
1568    label temp2       "Temp2/MB"
1569    label temp3       "Temp2/AUX"
1570
1571# Fans
1572
1573    label  fan1       "Fan1"
1574    ignore  fan2
1575    ignore  fan3
1576
1577# Voltage
1578
1579    label volt12      "+12V"
1580    label volt5       "+5V"
1581    label voltbatt    "+3.3V"
1582
1583
1584chip "fscscy-*"
1585# Fujitsu-Siemens Scylla chip
1586
1587# Temperature
1588
1589    label temp1       "Temp1/CPU0"
1590    label temp2       "Temp2/CPU1"
1591    label temp3       "Temp3/MB"
1592    label temp4       "Temp4/AUX"
1593
1594# Fans
1595
1596    label  fan1       "Fan1/CPU0"
1597    label  fan2       "Fan2/CPU0"
1598    label  fan3       "Fan3"
1599    label  fan4       "Fan4"
1600    label  fan5       "Fan5"
1601    label  fan6       "Fan6"
1602
1603# Voltage
1604
1605    label volt12      "+12V"
1606    label volt5       "+5V"
1607    label voltbatt    "+3.3V"
1608
1609
1610chip "fscher-*"
1611# Fujitsu-Siemens Hermes chip
1612
1613# Temperature
1614    label temp1       "Temp1/CPU"
1615    label temp2       "Temp2/MB"
1616    label temp3       "Temp3/AUX"
1617
1618# Fans
1619    label fan1        "Fan1/PS"
1620    label fan2        "Fan2/CPU"
1621    label fan3        "Fan3/AUX"
1622
1623# Voltage
1624    label in0         "+12V"
1625    label in1         "+5V"
1626    label in2         "Battery"
1627
1628# Compute Voltages using mainboard dependant MRO-values
1629# (see doc/chips/fscher)
1630#                           M    R             O               O                  M    R
1631    compute in0       (@ * (49 * 33) / 255) + (0 / 100), (@ - (0 / 100)) * 255 / (49 * 33)
1632    compute in1       (@ * (20 * 33) / 255) + (0 / 100), (@ - (0 / 100)) * 255 / (20 * 33)
1633    compute in2       (@ * (10 * 33) / 255) + (0 / 100), (@ - (0 / 100)) * 255 / (10 * 33)
1634
1635# Read documentation before enabling pwm settings (see doc/chips/fscher)
1636# WARNING: IMPROPER VALUES MAY DAMAGE YOUR SYSTEM DUE TO OVERHEATING!
1637
1638# Allow fans to turn off
1639#    set pwm1          0
1640#    set pwm2          0
1641#    set pwm3          0
1642
1643# Min cooling
1644#    set pwm1          2
1645#    set pwm2          1
1646#    set pwm3          1
1647
1648# Max cooling
1649#    set pwm1          255
1650#    set pwm2          255
1651#    set pwm3          255
1652
1653
1654chip "pcf8591-*"
1655#
1656#    values for the Philips PCF8591 chip
1657#
1658# Analog inputs
1659
1660   ignore ain_conf
1661# Since Linux 2.6, input configuration is set as module parameter,
1662# so the line below is for older kernels only.
1663#  set    ain_conf    0
1664
1665# You may discard ch2 and ch3 if you don't use them (depends on the input
1666# configuration)
1667#  ignore ch2
1668#  ignore ch3
1669
1670   label  ch0         "Chan. 0"
1671   label  ch1         "Chan. 1"
1672   label  ch2         "Chan. 2"
1673   label  ch3         "Chan. 3"
1674
1675# The driver assumes Vref = 2.56V and Agnd = 0V. If it doesn't match
1676# your hardware, you have to use compute lines. The example below is
1677# correct for Vref = 5.0V and Agnd = 0V.
1678#  compute ch0 (@ * 500 / 256), (@ * 256 / 500)
1679#  compute ch1 (@ * 500 / 256), (@ * 256 / 500)
1680#  compute ch2 (@ * 500 / 256), (@ * 256 / 500)
1681#  compute ch3 (@ * 500 / 256), (@ * 256 / 500)
1682
1683# Analog output
1684
1685   ignore aout_enable
1686   set    aout_enable 1
1687   label  aout        "Output"
1688   set    aout        0
1689
1690chip "adm1021-*" "adm1023-*" "max1617-*" "max1617a-*" "thmc10-*" "lm84-*" "gl523sm-*" "mc1066-*"
1691
1692   label temp           "Board"
1693   label remote_temp    "CPU"
1694#   set temp_low                40
1695#   set temp_over               70
1696#   set remote_temp_low         40
1697#   set remote_temp_over        70
1698
1699chip "lm83-*"
1700
1701   label temp1 "M/B Temp"
1702   label temp2 "D1 Temp"
1703   label temp3 "CPU Temp"
1704   label temp4 "D3 Temp"
1705
1706# ignore D1 and/or D3 readings if not used
1707#   ignore temp2
1708#   ignore temp4
1709
1710# change high limits to fit your needs
1711#   set temp1_high 55
1712#   set temp2_high 60
1713#   set temp3_high 65
1714#   set temp4_high 60
1715
1716# change critical limit to fit your needs
1717# only one limit for all four temperatures
1718# should be higher than each of the high limits above
1719#   set tcrit 85
1720
1721chip "lm90-*" "adm1032-*"
1722
1723   label temp1 "M/B Temp"
1724   label temp2 "CPU Temp"
1725   label tcrit1 "M/B Crit"
1726   label tcrit2 "CPU Crit"
1727
1728# change high and low limits to fit your needs
1729#   set temp1_low  10
1730#   set temp1_high 55
1731#   set temp2_low  10
1732#   set temp2_high 66
1733
1734# change critical limits to fit your needs
1735# should be higher than the corresponding high limit above
1736#   set tcrit1 75
1737#   set tcrit2 85
1738
1739# change the hysteresis values (to critical limits) to fit your needs
1740# note #1: hyst2 will be automatically set with the same delta
1741# note #2: the internal register, which stores a single, relative value
1742# for both channels, cannot hold values greater than 31, so the delta
1743# between critical temperatures and respective absolute hysteresis can
1744# never exceed this value
1745#   set hyst1 70
1746
1747chip "lm99-*"
1748
1749   label temp1 "G/C Temp"
1750   label temp2 "GPU Temp"
1751   label tcrit1 "G/C Crit"
1752   label tcrit2 "GPU Crit"
1753
1754# note #1: only the LM99 needs this; for a LM89, comment the compute line
1755# out
1756# note #2: there is no way for us to differenciate between a LM89 and a
1757# LM99; you have to know what you have; LM99 are frequently found on
1758# graphics cards, most notably nVidia ones
1759   compute temp2 @+16, @-16
1760
1761# change high and low limits to fit your needs
1762#   set temp1_low  10
1763#   set temp1_high 90
1764#   set temp2_low  10
1765#   set temp2_high 100
1766
1767# change critical limits to fit your needs
1768# should be higher than the corresponding high limit above
1769#   set tcrit1 100
1770#   set tcrit2 110
1771
1772# change the hysteresis values (to critical limits) to fit your needs
1773# note #1: hyst2 will be automatically set with the same delta
1774# note #2: the internal register, which stores a single, relative value
1775# for both channels, cannot hold values greater than 31, so the delta
1776# between critical temperatures and respective absolute hysteresis can
1777# never exceed this value
1778#   set hyst1 105
1779
1780chip "vt1211-*" "vt8231-*"
1781#
1782# temp1 and in6 are not implemented in vt1211 / vt8231
1783#
1784#                                                       1 for temp, 0 for volt.
1785#       Sensor          Voltage Mode    Temp Mode       config bit
1786#       --------        ------------    ---------       --------------
1787#       Reading 1                       temp3
1788#       UCH1/Reading2   in0             temp2           0x04 (4)
1789#       UCH2            in1             temp4           0x08 (8)
1790#       UCH3            in2             temp5           0x10 (16)
1791#       UCH4            in3             temp6           0x20 (32)
1792#       UCH5            in4             temp7           0x40 (64)
1793#       3.3V            in5
1794#
1795# set uch1-2 to temp mode, uch3-5 to voltage mode
1796#
1797    set config 12
1798    ignore in0
1799    ignore in1
1800    ignore temp5
1801    ignore temp6
1802    ignore temp7
1803
1804# IMPORTANT: If you get "ERROR: Can't get TEMPX data!" from "sensors",
1805# where X is 2, 4, 5, 6 or 7, although you have this UCH set to
1806# temperature, this generally means that this UCH isn't (physically)
1807# used for temperature, so you should add an ignore statement for tempX
1808# and change the "config" value to reflect the fact that this UCH is
1809# probably used for voltage.
1810
1811#   label in0 "unused"
1812#   label in1 "unused"
1813    label in2 "VCore1"
1814    label in3 "+5V"
1815    label in4 "+12V"
1816    label in5 "+3.3V"
1817
1818    label temp2 "MB1 Temp"
1819    label temp3 "Proc Temp"
1820    label temp4 "MB2 Temp"
1821#
1822#   All voltage calculations have the form
1823#       ((@ * 100) - 3) / (K * 95.8), (@ * K * 0.958) + .03
1824#   where K = R2 / (R1 + R2).
1825#   Use the following K values based on input voltage.
1826#   This of course assumes the mobo has the resistors
1827#   recommended by Via in the datasheet.
1828#       Voltage                 K
1829#       VCore                   1.0
1830#       2.5                     0.8333
1831#       3.3 (in5 internal)      0.6296
1832#       3.5 (3.3V ext.)         0.5952
1833#       5.0                     0.4167
1834#       12.0                    0.1754
1835#
1836#   compute in0 ((@ * 100) - 3) / (0.5952 * 95.8), (@ * 0.5952 * 0.958) + .03
1837#   compute in1 ((@ * 100) - 3) / (0.8333 * 95.8), (@ * 0.8333 * 0.958) + .03
1838    compute in2 ((@ * 100) - 3) / (0.5952 * 95.8), (@ * 0.5952 * 0.958) + .03
1839    compute in3 ((@ * 100) - 3) / (0.4167 * 95.8), (@ * 0.4167 * 0.958) + .03
1840    compute in4 ((@ * 100) - 3) / (0.1754 * 95.8), (@ * 0.1754 * 0.958) + .03
1841    compute in5 ((@ * 100) - 3) / (0.6296 * 95.8), (@ * 0.6296 * 0.958) + .03
1842
1843    set vrm 9.1
1844#   set in0_min 2.5 * 0.95
1845#   set in0_max 2.5 * 1.05
1846#   set in1_min 2.5 * 0.95
1847#   set in1_max 2.5 * 1.05
1848    set in2_min vid * 0.97
1849    set in2_max vid * 1.03
1850    set in3_min 5.0 * 0.95
1851    set in3_max 5.0 * 1.05
1852    set in4_min 12.0 * 0.90
1853    set in4_max 12.0 * 1.10
1854    set in5_min 3.3 * 0.95
1855    set in5_max 3.3 * 1.05
1856
1857    compute temp3  (@ - 65) / 0.9686,  (@ * 0.9686) + 65
1858#
1859# thermistor calculations.
1860# 3435 is the thermistor beta.
1861# '^' is the e**x operator; '`' is the ln(x) operator
1862# (valid in library version 1.4.0 / lm_sensors 2.7.1 or higher)
1863# This assumes that the thermistor forms a resistor divider with a resistor
1864# equal to its nominal value @ 25C. If not, the math gets even harder.
1865#
1866    compute temp2  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
1867                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
1868    compute temp4  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
1869                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
1870    compute temp5  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
1871                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
1872    compute temp6  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
1873                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
1874    compute temp7  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
1875                   253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
1876
1877    set temp2_hyst 40
1878    set temp2_over 45
1879    set temp3_hyst 60
1880    set temp3_over 65
1881    set temp4_hyst 40
1882    set temp4_over 45
1883
1884    set fan1_min 3000
1885    set fan2_min 3000
1886
1887chip "bmc-*"
1888#
1889# You should not need compute lines here, the driver will
1890# do all the conversions.
1891# For label lines, copy from syslog/dmesg when the bmcsensors
1892# module is inserted.
1893#
1894# for example:
1895# label temp1 "Ambient Temp"
1896
1897
1898
1899#
1900chip "smsc47m1-*"
1901
1902    set fan1_min 3000
1903    set fan2_min 3000
1904
1905#
1906# This example was tested vs. Asus P4S333
1907#
1908chip "asb100-*"
1909    set vrm 9.0
1910
1911    label in0 "VCore 1"
1912    set in0_min vid * 0.95
1913    set in0_max vid * 1.05
1914
1915    label in1 "VCore 2"
1916    ignore in1
1917    set in1_min vid * 0.95
1918    set in1_max vid * 1.05
1919
1920    label in2 "+3.3V"
1921    set in2_min 3.3 * 0.95
1922    set in2_max 3.3 * 1.05
1923
1924    label in3 "+5V"
1925    compute in3 1.68 * @ ,  @ / 1.68
1926    set in3_min 5.0 * 0.95
1927    set in3_max 5.0 * 1.05
1928
1929    label in4 "+12V"
1930    compute in4 3.8 * @ , @ / 3.8
1931    set in4_min 12  * 0.90
1932    set in4_max 12  * 1.10
1933
1934    label in5 "-12V (reserved)"
1935    #ignore in5
1936    compute in5 -@ * 3.97 ,  -@ / 3.97
1937    set in5_max -12 * 0.90
1938    set in5_min -12 * 1.10
1939
1940    label in6 "-5V (reserved)"
1941    #ignore in6
1942    compute in6 -@ * 1.666 , -@ / 1.666
1943    set in6_max -5  * 0.95
1944    set in6_min -5  * 1.05
1945
1946    label temp1 "M/B Temp"
1947    set temp1_over 45
1948    set temp1_hyst 40
1949
1950    label temp2 "CPU Temp (Intel)"
1951    #ignore temp2
1952    set temp2_over 60
1953    set temp2_hyst 50
1954
1955    # PWRTMP connector on P4S333, for external sensor
1956    label temp3 "Power Temp"
1957    #ignore temp3
1958    set temp3_over 45
1959    set temp3_hyst 40
1960
1961
1962    # Used for Athlon diode, ignore for P4S333
1963    label temp4 "CPU Temp (AMD)"
1964    set temp4_over 60
1965    set temp4_hyst 50
1966    #ignore temp4
1967
1968    label fan1 "CPU Fan"
1969    set fan1_div 4
1970    set fan1_min 2000
1971
1972    label fan2 "Chassis Fan"
1973    set fan2_div 2
1974    set fan2_min 4000
1975
1976    label fan3 "Power Fan"
1977    set fan3_div 2
1978    set fan3_min 4000
1979
1980#
1981# Sample configuration for the Intel S845WD1-E
1982# courtesy of Marcus Schopen
1983#
1984chip "lm85c-*" "adm1027-*" "adt7463-*" "lm85-*" "lm85b-*"
1985
1986   set temp1_max 50
1987
1988# Voltage inputs
1989   label in0   "V1.5"      # AGP on Intel S845WD1-E
1990   label in1   "VCore"
1991   label in2   "V3.3"
1992   label in3   "V5"
1993   label in4   "V12"
1994
1995# Temperature inputs
1996   label temp1  "CPU"
1997   label temp2  "Board"
1998   label temp3  "Remote"
1999
2000# Fan inputs
2001   label fan1   "CPU_Fan"
2002#   label fan2   "Fan2"
2003#   label fan3   "Fan3"
2004#   label fan4   "Fan4"
2005
2006# PWM Outputs
2007   label pwm1   "CPU_PWM"
2008   label pwm2   "Fan2_PWM"
2009   label pwm3   "Fan3_PWM"
2010
2011# Voltage scaling is done on-chip.  No 'compute' directive
2012# should be necessary.  If in0 has external scaling set
2013# it here.
2014
2015#   compute in0  @ * 2.5,   @ / 2.5
2016
2017# Adjust fans speeds for actual pulses per rev
2018#   compute fan1  @ * 2,  @ / 2    # 1 pulse per rev
2019#   set fan1_ppr  1                # ADM1027 or ADT7463
2020#   compute fan2  @ / 2,  @ * 2    # 4 pulse per rev
2021#   set fan2_ppr  4                # ADM1027 or ADT7463
2022
2023   ignore fan2
2024   ignore fan3
2025   ignore fan4
2026
2027# Set VRM version
2028   set vrm  9.1   # Pentium 4
2029
2030# Set voltage limits
2031   set in0_min  1.5 * 0.95
2032   set in0_max  1.5 * 1.05
2033   set in1_min  vid * 0.95
2034   set in1_max  vid * 1.05
2035   set in2_min  3.3 * 0.95
2036   set in2_max  3.3 * 1.05
2037   set in3_min  5.0 * 0.95
2038   set in3_max  5.0 * 1.05
2039   set in4_min   12 * 0.95
2040   set in4_max   12 * 1.05
2041
2042# Set Fan limits
2043   set fan1_min 4000
2044
2045# Set Temp Limits
2046   set temp1_min 10
2047   set temp1_max 50
2048   set temp2_min 10
2049   set temp2_max 35
2050   set temp3_min 10
2051   set temp3_max 35
2052
2053chip "pc87366-*"
2054
2055# Voltage inputs
2056
2057   label in7   "Vsb"
2058   label in8   "Vdd"
2059   label in9   "Vbat"
2060   label in10  "AVdd"
2061
2062   compute in7   @*2, @/2
2063   compute in8   @*2, @/2
2064   compute in10  @*2, @/2
2065
2066# These are the operating conditions as recommended by National
2067# Semiconductor
2068   set in7_min   3.0
2069   set in7_max   3.6
2070   set in8_min   3.0
2071   set in8_max   3.6
2072   set in9_min   2.4
2073   set in9_max   3.6
2074   set in10_min  3.0
2075   set in10_max  3.6
2076
2077# Temperature inputs
2078
2079   label temp1       "CPU0 Temp"
2080   label temp1_crit  "CPU0 Crit"
2081   label temp2       "CPU1 Temp"
2082   label temp2_crit  "CPU1 Crit"
2083   label temp3       "S-IO Temp"
2084   label temp3_crit  "S-IO Crit"
2085
2086# On some systems, thermistors are used instead of these thermal diodes
2087#   ignore temp1
2088#   ignore temp2
2089
2090   set temp1_min    0
2091   set temp1_max   70
2092   set temp1_crit  85
2093   set temp2_min    0
2094   set temp2_max   70
2095   set temp2_crit  85
2096   set temp3_min    0
2097   set temp3_max   70
2098   set temp3_crit  85
2099
2100# Thermistors
2101# 3435 is the thermistor beta.
2102# This assumes that the thermistor forms a resistor divider with a resistor
2103# equal to its nominal value at 25 degres Celcius. If not, change the values.
2104# We also assume that you have a working in10 (which is forcibly enabled by
2105# default). If not, use 3.3 instead, but you lose accuracy.
2106
2107   compute temp4  3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \
2108                  in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
2109   compute temp5  3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \
2110                  in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
2111   compute temp6  3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \
2112                  in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
2113
2114   set temp4_min    0
2115   set temp4_max   70
2116   set temp4_crit  85
2117   set temp5_min    0
2118   set temp5_max   70
2119   set temp5_crit  85
2120   set temp6_min    0
2121   set temp6_max   70
2122   set temp6_crit  85
2123
2124# Fan inputs
2125
2126# Ignore fans you don't have
2127#   ignore fan2
2128#   ignore fan3
2129
2130   set fan1_min 2000
2131   set fan2_min 2000
2132   set fan3_min 2000
Note: See TracBrowser for help on using the browser.