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

Revision 1588, 43.2 KB (checked in by khali, 11 years ago)

Add section for lm75 in sensors.conf.eg

Complete the lm78 section in sensors.conf.eg

  • 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# Like for the label statement, there are logical groups here. They are
97# sometimes a bit different, though. For example, fan1_div is in the
98# logical label group of fan1 (it gets the same label if none is declared
99# for it), but it is not in the compute group of fan1 (as it uses a
100# completely different system of values).
101#
102#
103# VOLTAGE COMPUTATION DETAILS
104# ---------------------------
105# Most voltage sensors in sensor chips have a range of 0 to 4.096 Volts.
106# This is generally sufficient for the 3.3 and CPU (2.5V, for example)
107# supply voltages, so the sensor chip reading is the actual voltage.
108#
109# Other supply voltages must be scaled with an external resistor network.
110# The chip driver generally reports the 'raw' value 0 - 4.09 V, and the
111# userspace application must convert this raw value to an actual voltage.
112# The 'compute' lines provide this facility.
113#
114# Unfortunately the resistor values vary among motherboard types.
115# Therefore you may have to adjust the computations in this file
116# to match your motherboard.
117#
118# For positive voltages (in3, in4), two resistors are used, with the following
119# formula (R1,R2: resistor values, Vs: read voltage, Vin: pin voltage)
120#       R1 = R2 * (Vs/Vin - 1)
121# For negative voltages (in5, in6) two resistors are used, with the following
122# formula (Rin,Rf: resistor values, Vs: read voltage, Vin: pin voltage)
123#       Rin = (Vs * Rf) / Vin
124#
125# Note: Some chips use a different formula, see it87 section for example.
126#
127# Here are the official LM78 and LM79 data sheet values.
128#             Vs     R1,Rin   R2,Rf    Vin
129#       in3   +5.0      6.8    10     +2.98
130#       in4  +12.0     30      10     +3.00
131#       in5  -12.0    240      60     +3.00
132#       in6   -5.0    100      60     +3.00
133#
134# These would lead to these declarations:
135#       compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
136#       compute in4 ((30/10)+1)*@  ,  @/((30/10)+1)
137#       compute in5 -(240/60)*@    ,  -@/(240/60)
138#       compute in6 -(100/60)*@    ,  -@/(100/60)
139#
140# On almost any mainboard we have seen, the Winbond compute values lead to
141# much better results, though.
142#
143#             Vs     R1,Rin   R2,Rf    Vin
144#       in4  +12.0     28      10     +3.00
145#       in5  -12.0    210      60.4   +3.00
146#       in6   -5.0     90.9    60.4   +3.00
147#
148# These leads to these declarations:
149#       compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
150#       compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
151#       compute in5 -(210/60.4)*@  ,  -@/(210/60.4)
152#       compute in6 -(90.9/60.4)*@ ,  -@/(90.9/60.4)
153#
154#
155# SET LINES
156# ---------
157# Set statements set things like limits. Complete expressions can be
158# used. Not everything can sensibly be set: setting 'in0', for example,
159# is impossible! These settings are put through the compute translations;
160# so if we specify '12.8' for in6, '3.2' will actually be written!
161#
162# Important note: In the 'sensors' program, these only take effect
163# after running 'sensors -s'!!!
164#
165# Here are some examples:
166#
167#       set in0_max vid*1.05
168#       set in0_min vid*0.95
169#       set temp1_over 40
170#       set temp1_hyst 37
171#
172# Think of tempx_over as 'alarm set' and tempx_hyst as 'alarm clear'
173# thresholds. In most cases the 'over' value should be higher than
174# the 'hyst' value by several degrees.
175#
176#
177# IGNORE LINES
178# ------------
179# Ignore statements tell certain features are not wanted. User programs can
180# still read them if they really want, though; this is just an advisory
181# marking. 'in0' would also invalidate 'in0_max' and 'in0_min'.
182# 'ignore' does not disable anything in the actual sensor chip; it
183# simply advises the user program to not access that data.
184#
185#       ignore in0
186#
187#
188# STATEMENT ORDER
189# ---------------
190# Statements can go in any order, EXCEPT that some statements depend
191# on others. Dependencies could be either in the library or the driver.
192# A 'compute' statement must go before a 'set' statement
193# for the same feature or else the 'set' won't be computed correctly.
194# This is a library dependency.
195# A 'set fan1_div' statement must go before a 'set fan1_min' statement,
196# because the driver uses the divisor in calculating the minimum.
197#
198#
199# BUS LINES
200# ---------
201# There is one other feature: the 'bus' statement. An example is below.
202#
203#       bus "i2c-0" "SMBus PIIX4 adapter at e800" "Non-I2C SMBus adapter"
204#
205# If we refer from now on to 'i2c-0' in 'chip' lines, this will run-time
206# be matched to this bus. So even if the PIIX4 is called 'i2c-5' at that
207# moment, because five other adapters were detected first, 'i2c-0' in
208# the config file would always only match this physical bus. In the above
209# config file, this feature is not needed; but the next lines would
210# only affect the LM75 chips on the PIIX4 adapter:
211#
212#       chip "lm75-i2c-0-*"
213#
214# You should really use the output of /proc/bus/chips to generate bus lines,
215# because one mistyped characted will inhibit the match. Wildcards are not
216# yet supported; spaces at the end are ignored, though.
217#
218#
219##########################################################################
220#### Here begins the real configuration file
221
222
223chip "lm78-*" "lm78-j-*" "lm79-*" "w83781d-*"
224
225# These are as advised in the LM78 and LM79 data sheets, and used on almost
226# any mainboard we have seen.
227
228    label in0 "VCore 1"
229    label in1 "VCore 2"
230    label in2 "+3.3V"
231    label in3 "+5V"
232    label in4 "+12V"
233    label in5 "-12V"
234    label in6 "-5V"
235
236# For positive voltages (in3, in4), two resistors are used, with the following
237# formula (R1,R2: resistor values, Vs: read voltage, Vin: pin voltage)
238#   R1 = R2 * (Vs/Vin - 1)
239# For negative voltages (in5, in6) two resistors are used, with the following
240# formula (Rin,Rf: resistor values, Vs: read voltage, Vin: pin voltage)
241#   Rin = (Vs * Rf) / Vin
242#
243# Here are the official LM78 and LM79 data sheet values.
244#       Vs     R1,Rin   R2,Rf    Vin
245# in3   +5.0      6.8    10     +2.98
246# in4  +12.0     30      10     +3.00
247# in5  -12.0    240      60     +3.00
248# in6   -5.0    100      60     +3.00
249#
250# These would lead to these declarations:
251# compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
252# compute in4 ((30/10)+1)*@  ,  @/((30/10)+1)
253# compute in5 -(240/60)*@    ,  -@/(240/60)
254# compute in6 -(100/60)*@    ,  -@/(100/60)
255#
256# On almost any mainboard we have seen, the Winbond compute values lead to
257# much better results, though.
258#
259#       Vs     R1,Rin   R2,Rf    Vin
260# in4  +12.0     28      10     +3.00
261# in5  -12.0    210      60.4   +3.00
262# in6   -5.0     90.9    60.4   +3.00
263#
264# These leads to these declarations:
265
266    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
267    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
268    compute in5 -(210/60.4)*@  ,  -@/(210/60.4)
269    compute in6 -(90.9/60.4)*@ ,  -@/(90.9/60.4)
270
271# Here, we assume the VID readings are valid, and we use a max. 5% deviation
272
273    set in0_min vid*0.95
274    set in0_max vid*1.05
275    set in1_min vid*0.95
276    set in1_max vid*1.05
277    set in2_min 3.3 * 0.95
278    set in2_max 3.3 * 1.05
279    set in3_min 5.0 * 0.95
280    set in3_max 5.0 * 1.05
281    set in4_min 12 * 0.95
282    set in4_max 12 * 1.05
283    set in5_max -12 * 0.95
284    set in5_min -12 * 1.05
285    set in6_max -5 * 0.95
286    set in6_min -5 * 1.05
287
288# Examples for lm78, lm78j, lm79 temperature limits
289#    set temp_over 40
290#    set temp_hyst 37
291
292# Examples for w83781d temperature limits
293#    set temp1_over 40
294#    set temp1_hyst 37
295#    set temp2_over 52
296#    set temp2_hyst 47
297#    set temp3_over 52
298#    set temp3_hyst 47
299
300# Ignore fans you don't actually have
301#    ignore fan1
302#    ignore fan2
303#    ignore fan3
304
305# In case a lm78 is used together with a lm75, the lm78 temp sensor will
306# generally show the M/B temperature while the lm75 temp sensor will show
307# the CPU temperature.
308#    label temp "M/B Temp"
309
310
311chip "lm75-*"
312
313# For the Asus TX97-E. If it doesn't work for you, feel free to complain.
314    compute temp @*2.0, @/2.0
315
316# Examples for temperature limits
317#    set temp_over 70   
318#    set temp_hyst 65   
319
320# In case a lm75 is used together with a lm78, the lm78 temp sensor will
321# generally show the M/B temperature while the lm75 temp sensor will show
322# the CPU temperature.
323#    label temp "CPU Temp"
324
325
326chip "sis5595-*"
327
328    label in0 "VCore 1"
329    label in1 "VCore 2"
330    label in2 "+3.3V"
331    label in3 "+5V"
332    label in4 "+12V"
333
334    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
335    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
336
337    set in0_min 2.0 * 0.95
338    set in0_max 2.0 * 1.05
339    set in1_min 2.0 * 0.95
340    set in1_max 2.0 * 1.05
341    set in2_min 3.3 * 0.95
342    set in2_max 3.3 * 1.05
343    set in3_min 5.0 * 0.95
344    set in3_max 5.0 * 1.05
345    set in4_min 12 * 0.95
346    set in4_max 12 * 1.05
347
348#
349# SiS5595 temperature calculation
350# The driver currently includes a calculation due to the wide
351# variation in thermistor types on SiS5595 motherboards.
352# The driver currently has a calculation of t = (.83x + 52.12).
353# One user reports the correct formula of t = (.345x - 12).
354# So you want to put a compute line in sensors.conf that has
355# the inverse of the driver formula, and put your formula on top of it.
356# The inverse of the driver formula is x = (1.20t - 62.77)
357# So the final formula is newt = (.345(1.20t - 62.77)) - 12).
358# Put this in the sensors.conf file as
359# compute temp ((.345 * ((1.20 * @) - 62.77)) - 12), ...
360# where ... is the inverse function I leave to you.
361#
362# Look in your 'Vendor.ini' file to see which one is present
363# on your motherboard. Look for the line like:
364#       [Temp1]
365#            ThermistorType     = NTC-10KC15-1608-1P
366# Fix up a 'compute' line to match your thermistor type.
367# Warning. You still don't have enough information to do this.
368#            ThermistorType     = NTC-10KC15-1608-1P (10K at 25C; Beta = 3435)
369#   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
370#            ThermistorType     = NTC-103KC15-1608-1P  (??)
371#   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
372#            ThermistorType     = NTC-103AT-2 (10K at 25C; Beta = 3435)
373#   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
374#            ThermistorType     = NTC-103JT   (10K at 25C; Beta = 3435)
375#   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
376
377# examples for sis5595 temperature limits;
378# for sis5595, temp_hyst is really the low limit, not a hysteresis value
379#    set temp_over 40
380#    set temp_hyst 37
381
382chip "w83782d-*" "w83783s-*" "w83627hf-*"
383
384# Same as above for w83781d except that in5 and in6 are computed differently.
385# Rather than an internal inverting op amp, the 82d/83s use standard positive
386# inputs and the negative voltages are level shifted by a 3.6V reference.
387# The math is convoluted, so we hope that your motherboard
388# uses the recommended resistor values.
389
390    label in0 "VCore 1"
391    label in1 "VCore 2"
392    label in2 "+3.3V"
393    label in3 "+5V"
394    label in4 "+12V"
395    label in5 "-12V"
396    label in6 "-5V"
397    label in7 "V5SB"
398    label in8 "VBat"
399
400    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
401    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
402    compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
403    compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
404    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
405
406# adjust this if your vid is wrong; see doc/vid
407#   set vrm 9.0
408
409# set limits to  5% for the critical voltages
410# set limits to 10% for the non-critical voltages
411# set limits to 20% for the battery voltage
412
413    set in0_min vid*0.95
414    set in0_max vid*1.05
415    set in1_min vid*0.95
416    set in1_max vid*1.05
417    set in2_min 3.3 * 0.95
418    set in2_max 3.3 * 1.05
419    set in3_min 5.0 * 0.95
420    set in3_max 5.0 * 1.05
421    set in4_min 12 * 0.90
422    set in4_max 12 * 1.10
423    set in5_max -12 * 0.90
424    set in5_min -12 * 1.10
425    set in6_max -5 * 0.95
426    set in6_min -5 * 1.05
427    set in7_min 5 * 0.95
428    set in7_max 5 * 1.05
429    set in8_min 3.0 * 0.80
430    set in8_max 3.0 * 1.20
431
432# set up sensor types (thermistor is default)
433# 1 = PII/Celeron Diode; 2 = 3904 transistor;
434# 3435 = thermistor with Beta = 3435
435# If temperature changes very little, try 1 or 2.
436#   set sensor1 1
437#   set sensor2 2
438#   set sensor3 3435
439
440# examples for temperature limits
441#    set temp1_over 40
442#    set temp1_hyst 37
443#    set temp2_over 52
444#    set temp2_hyst 47
445#    set temp3_over 52
446#    set temp3_hyst 47
447
448
449chip "w83697hf-*"
450
451# Same as above for w83781d except that in5 and in6 are computed differently.
452# Rather than an internal inverting op amp, the 82d/83s use standard positive
453# inputs and the negative voltages are level shifted by a 3.6V reference.
454# The math is convoluted, so we hope that your motherboard
455# uses the recommended resistor values.
456
457# no in1 on this chip.
458
459    label in0 "VCore"
460    label in2 "+3.3V"
461    label in3 "+5V"
462    label in4 "+12V"
463    label in5 "-12V"
464    label in6 "-5V"
465    label in7 "V5SB"
466    label in8 "VBat"
467
468    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
469    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
470    compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
471    compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
472    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
473
474# 697HF does not have VID inputs so you MUST set your core
475# voltage limits below. Currently set for 1.8V core.
476#               vvv
477
478    set in0_min 1.8 * 0.95
479    set in0_max 1.8 * 1.05
480
481    set in2_min 3.3 * 0.95
482    set in2_max 3.3 * 1.05
483    set in3_min 5.0 * 0.95
484    set in3_max 5.0 * 1.05
485    set in4_min 12 * 0.90
486    set in4_max 12 * 1.10
487    set in5_max -12 * 0.90
488    set in5_min -12 * 1.10
489    set in6_max -5 * 0.95
490    set in6_min -5 * 1.05
491    set in7_min 5 * 0.95
492    set in7_max 5 * 1.05
493    set in8_min 3.0 * 0.80
494    set in8_max 3.0 * 1.20
495
496# set up sensor types (thermistor is default)
497# 1 = PII/Celeron Diode; 2 = 3904 transistor;
498# 3435 = thermistor with Beta = 3435
499# If temperature changes very little, try 1 or 2.
500#   set sensor1 1
501#   set sensor2 2
502#   set sensor3 3435
503
504# examples for temperature limits
505#    set temp1_over 40
506#    set temp1_hyst 37
507#    set temp2_over 52
508#    set temp2_hyst 47
509#    set temp3_over 52
510#    set temp3_hyst 47
511
512
513chip "as99127f-*"
514
515# Same as above for w83782d except that in5 and in6 negative voltages
516# are computed as in the w83781d.
517# Asus won't release a datasheet so this is guesswork.
518# New in5 and temp2 calculations courtesy Guntram Blohm.
519
520    label in0 "VCore 1"
521    label in1 "VCore 2"
522    label in2 "+3.3V"
523    label in3 "+5V"
524    label in4 "+12V"
525    label in5 "-12V"
526    label in6 "-5V"
527
528    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
529    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
530    compute in5 -(240/60.4)*@ ,  -@/(240/60.4)
531    compute in6 -(90.9/60.4)*@ ,  -@/(90.9/60.4)
532
533# for at least Asus A7V133/133-C
534    compute temp2 @*2.0, @/2.0
535    compute temp3 @*2.0, @/2.0
536# does anyone know a board for which the following is correct?
537#   compute temp2 (@*30/43)+25, (@-25)*43/30
538
539# adjust this if your vid is wrong; see doc/vid
540#   set vrm 9.0
541
542# set limits to  5% for the critical voltages
543# set limits to 10% for the non-critical voltages
544# set limits to 20% for the battery voltage
545
546    set in0_min vid*0.95
547    set in0_max vid*1.05
548    set in1_min vid*0.95
549    set in1_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# examples for temperature limits
562#    set temp1_over 40
563#    set temp1_hyst 37
564#    set temp2_over 52
565#    set temp2_hyst 47
566#    set temp3_over 52
567#    set temp3_hyst 47
568
569
570chip "gl518sm-*"
571
572# IMPORTANT: in0, in1, and in2 values (+5, +3, and +12) CANNOT be read
573#            unless you use the slow 'iterate' method. Limits will still
574#            work even when iterate=0. See ../doc/chips/gl518sm.
575#
576# Factors and labels taken from GL518SM datasheet, they seem to give
577# reasonable values with EISCA connected Fan78
578
579  label vdd "+5V"
580  label vin1 "+3.3V"
581  label vin2 "+12V"
582  label vin3 "Vcore"
583
584# vin2 depends on external resistors (4,7k and 15k assumed here)
585# vin1 and vin3 require no scaling
586
587  compute vin2 (197/47)*@  ,  @/(197/47)
588
589  set vdd_min 4.8
590  set vdd_max 5.2
591  set vin1_min 3.20
592  set vin1_max 3.40
593  set vin2_min 11.0
594  set vin2_max 13.0
595  set vin3_min 2.10
596  set vin3_max 2.30
597  set fan1_off 0
598  set fan2_min 0
599  set iterate 0
600
601
602chip "gl520sm-*"
603
604# Factors and labels taken from GL520SM datasheet
605
606  label vdd "+5V"
607  label vin1 "+3.3V"
608  label vin2 "+12V"
609  label vin3 "Vcore"
610  label vin4 "-12V"
611
612# vin1 and vin3 require no scaling
613# vin2 depends on external resistors (4,7k and 15k assumed)
614
615# vin4 = ((R1+R2)/R2)*@ - (R1/R2)*vdd
616#
617#       -12 --| R1 |---t---| R2 |-- +5
618#                      |
619#                    vin4
620#
621
622  compute vin2 (197/47)*@  ,  @/(197/47)
623  compute vin4 (5*@)-(4*vdd) , (@+4*vdd)/5
624
625  set vdd_min 4.8
626  set vdd_max 5.2
627  set vin1_min 3.20
628  set vin1_max 3.40
629  set vin2_min 11.0
630  set vin2_max 13.0
631  set vin3_min 2.10
632  set vin3_max 2.30
633  set two_temps 1
634
635
636chip "lm80-*"
637
638# The values below should be correct if you own a qdi BX (brilliant1)
639# mainboard. If not, please contact us, so we can figure out better readings.
640# Many thanks go to Peter T. Breuer <ptb@it.uc3m.es> for helping us figure
641# out how to handle the LM80.
642
643# For positive voltages (in0..in4), two resistors are used, with the following
644# formula (R1,R2: resistor values, Vs: read voltage, Vin: pin voltage)
645#   R1 = R2 * (Vs/Vin - 1)
646# For negative voltages (in5, in6) two resistors are used, with the following
647# formula (R3,R4: resistor values, Vs: read voltage, Vin: pin voltage,
648# V5: +5V)
649#   R3 = R4 * (Vs - Vin) / (Vin - V5)
650
651# Here are the official LM78 and LM79 data sheet values.
652#       Vs      R1,R3   R2,R4    Vin
653#       +2.5V    23.7    75     +1.9
654#       +3.3V    22.1    30     +1.9
655#       +5.0     24      14.7   +1.9
656#      +12.0    160      30.1   +1.9
657#      -12.0    160      35.7   +1.9
658#       -5.0     36      16.2   +1.9
659
660# Now curiously enough, VCore is connected with (unknown) resistors, which
661# translate a +2.8V to +1.9V. So we use that in the computations below.
662
663    label in0 "+5V"
664    label in1 "VTT"
665    label in2 "+3.3V"
666    label in3 "+Vcore"
667    label in4 "+12V"
668    label in5 "-12V"
669    label in6 "-5V"
670
671    compute in0 (24/14.7 + 1) * @ ,       @ / (24/14.7 + 1)
672    compute in2 (22.1/30 + 1) * @ ,       @ / (22.1/30 + 1)
673    compute in3 (2.8/1.9) * @,            @ * 1.9/2.8
674    compute in4 (160/30.1 + 1) * @,       @ / (160/30.1 + 1)
675    compute in5 (160/35.7)*(@ - in0) + @, (@ + in0 * 160/35.7)/ (1 + 160/35.7)
676    compute in6 (36/16.2)*(@ - in0) + @,  (@ + in0 * 36/16.2) / (1 + 36/16.2)
677
678    set in0_min 5 * 0.95
679    set in0_max 5 * 0.95
680# What is your VTT? It is probably not this value...
681    set in1_min 2*0.95
682    set in1_max 2*1.05
683    set in2_min 3.3 * 0.95
684    set in2_max 3.3 * 1.05
685# What is your VCore? It is probably not this value...
686    set in3_min 1.9 * 0.95
687    set in3_max 1.9 * 1.05
688    set in4_min 12 * 0.95
689    set in4_max 12 * 1.05
690    set in5_min -12 * 1.05
691    set in5_max -12 * 0.95
692    set in6_min -5 * 1.05
693    set in6_max -5 * 0.95
694
695# examples for lm80 temperature limits
696# WARNING - nonstandard names and functions for the lm80!!!
697# All 4 of these limits apply to the single temperature sensor.
698# "hot" is like the standard alarm for most chips.
699# "os" is the threshold for the overtemperature shutdown output.
700# "os" may or may not do anything on your motherboard but it should
701#  be set higher than the "hot" thresholds.
702# Note that the /proc file 'temp" also has five entries instead of
703# the usual three.
704#    set temp_hot_hyst 45
705#    set temp_hot_max  52
706#    set temp_os_hyst  57
707#    set temp_os_max   62
708
709
710chip "maxilife-cg-*" "maxilife-co-*" "maxilife-as-*"
711
712   label fan1  "HDD Fan"
713   label fan2  "PCI Fan"
714   label fan3  "CPU Fan"
715   ignore fan4
716
717   label temp2 "PCI Temp"
718   label temp4 "HDD Temp"
719   label temp5 "CPU Temp"
720   ignore temp6
721
722   label vid1  "V+12"
723   ignore vid5
724
725# vid1 need to be scaled by 6.337 other voltages
726# require no scaling
727
728   compute vid1 6.337*@ , @/6.337
729
730
731chip "maxilife-cg-*"
732
733   ignore temp1
734   label temp3  "BX Temp"
735
736   label vid2   "Vcpu1"
737   label vid3   "Vcpu2"
738   ignore vid4
739
740
741chip "maxilife-co-*"
742
743   label temp1  "CPU 1 Temp"
744   label temp3  "CPU 2 Temp"
745
746   label vid2   "Vcpu1"
747   label vid3   "Vcpu2"
748   label vid4   "VcacheL2"
749
750
751chip "maxilife-as-*"
752
753   ignore temp1
754   ignore temp3
755
756   label vid2   "Vcpu"
757   ignore vid3
758   ignore vid4
759
760
761chip "maxilife-nba-*"
762
763   label fan1  "CPU Fan"
764   label fan2  "PCI Fan"
765   label fan3  "HDD Fan"
766   label fan4  "Heat Sink Fan"
767
768   label temp1  "CPU 1 Temp"
769   label temp2  "CPU 2 Temp"
770   label temp3  "PCI/Ambient Temp"
771   label temp4  "HDD Temp"
772   label temp5  "Motherboard Temp"
773   label temp6  "CPU Reference Temp"
774
775   label vid1  "V+12"
776   label vid2  "Vcpu1"
777   label vid3  "Vcpu2"
778   label vid4  "VcacheL2"
779   label vid5  "V-12"
780
781
782chip "via686a-*"
783
784# VIA is very specific about the voltage sensor inputs, and our labels
785# reflect what they say.  Unfortunately, they are not at all specific about
786# how to convert any of the register values to real units.  Fortunately,
787# Jonathan Yew <j.teh@iname.com> and Alex van Kaam <darkside@chello.nl>
788# came through with some data for temp conversion and formulae for voltage
789# conversion. However, the conversions should be regarded as our best guess-
790# YMMV.
791
792# On the Tyan S1598, the 2.5V sensor reads 0 and is not displayed in the BIOS.
793# Linas Vepstas <linas@linas.org> reports that this sensor shows nothing of
794# interest on the Abit KA7 (Athlon), and is also not displayed in the BIOS.
795# Likewise, Johannes Drechsel-Burkhard <jdb@chello.at> reports that this
796# sensor is unavailable in the BIOS of his MSI K7T Pro (Thunderbird).  So,
797# if you have one of these boards you may want to uncomment the 'ignore 2.5V'
798# line below.
799
800    label "2.0V" "CPU core"
801    label "2.5V" "+2.5V"
802    #ignore "2.5V"
803    label "3.3V" "I/O"
804    label "5.0V" "+5V"
805    label "12V" "+12V"
806
807    label fan1  "CPU Fan"
808    label fan2  "P/S Fan"
809
810# VIA suggests that temp3 is an internal temp sensor for the 686a.  However,
811# on the Tyan S1598 as well as the Abit KA7 (Athalon), the absolute values
812# of the readings from that sensor are not valid.  The readings do seem to
813# correlate with temp changes, but the conversion factor may be quite
814# different from temp1 & temp2 (as noted above, VIA has not provided
815# conversion info).  So, you may wish to 'ignore temp3'.
816
817# Johannes Drechsel-Burkhard <jdb@chello.at> notes that on his MSI K7T Pro,
818# temp1 is the CPU temp and temp2 is the SYS temp.
819
820    label temp1 "SYS Temp"
821    label temp2 "CPU Temp"
822    label temp3 "SBr Temp"
823    #ignore temp3
824
825# Set your CPU core limits here.  For the other voltage sensors, the
826# built-in defaults should be fine.
827
828    set in0_min 2.0
829    set in0_max 2.5
830
831# Set your temp limits here.  Remember, 'tempX_over' is the temp at which an
832# alarm is triggered, and 'tempX_hyst' is the temp at which an alarm turns off.
833# Setting tempX_hyst to a few degrees below the corresponding tempX_over
834# prevents an oscillation between alarm on and off states.  This kind of
835# oscillation is known as hyteresis, thus the name.  (You typically get the
836# most serious and troublesome hysteresis when a sensor triggers something to
837# reduce the temp, thus creating a negative feedback loop.  Even without that,
838# we would still get some oscillation when the temp hovers around the limit
839# due to noise.)
840
841    set temp1_hyst 40
842    set temp1_over 45
843    set temp2_hyst 55
844    set temp2_over 60
845    set temp3_hyst 60
846    set temp3_over 65
847
848# You could set your fan limits too, but the defaults should be fine.
849
850    #set fan1_min 5000
851    #set fan2_min 5000
852
853# For at least one Tyan S1598, the following corrections make the sensors
854# readings more in-line with the BIOS readings on boot.  Try these, and
855# adjust as necessary.
856
857  #compute "2.0V" 1.02*@ ,  @/1.02
858  #compute "3.3V" 1.02*@  ,  @/1.02
859  #compute "5.0V" 1.009*@  ,  @/1.009
860  #compute "12V" 1.04*@ ,  @/1.04
861
862
863chip "mtp008-*"
864
865# The values below should be correct if you own a Tyan S1834D motherboard.
866# If not, please contact us, so we can figure out better readings.
867# FOR TYAN S2510 SEE END OF THIS SECTION.
868
869# For positive voltages outside the 0..4.09V range (in2..in4), two resistors
870# are used, with the following formula (R1,R2: resistor values, Vs: read
871# voltage, Vin: pin voltage)
872#   Vin = Vs * (R2 / (R1 + R2))
873# For negative voltages (in5) two resistors are used, with the following
874# formula (R3,R4: resistor values, Vs: read voltage, Vin: pin voltage)
875#   Vin = ((4.096 - Vs) * (R3 / (R3 + R4))) + Vs
876
877# Here are the official MTP008 data sheet values:
878#       Vs      R1,R3   R2,R4    Vin
879#      +12.0    28000   10000   +3.16
880#      -12.0   232000   56000   +0.96
881#       -5.0   120000   56000   +1.20
882
883    label in0 "VCore1"
884    label in1 "+3.3V"
885    label in2 "+12V"
886    label in3 "Vcore2"
887    ignore in4
888    label in5 "-12V"
889    label in6 "Vtt"
890
891    label fan1 "CPU1 Fan"
892    label fan2 "CPU2 Fan"
893    label fan3 "fan3"
894
895    label temp1 "CPU1 Temp"
896    label temp2 "CPU2 Temp"
897    ignore temp3
898
899    compute in2 @ * 38 / 10,            @ * 10 / 38
900    compute in5 (@ * 36 - 118.61) / 7,  (118.61 + 7 * @) / 36
901
902# examples for temperature limits
903#    set temp1_over 40
904#    set temp1_hyst 37
905#    set temp2_over 52
906#    set temp2_hyst 47
907#    set temp3_over 52
908#    set temp3_hyst 47
909
910# End of standard mtp008 configuration
911
912# TYAN S2510 INFORMATION
913# This motherboard has two mtp008's which are hooked up differently,
914# so they must be configured separately.
915# For this motherboard, COMMENT OUT the above mtp008 section and
916# UNCOMMENT the following two sections.
917#
918#chip "mtp008-i2c-*-2c"
919#    label in0 "VCore1"
920#    set in0_min 1.60
921#    set in0_max 1.80
922#    label in1 "+3.3V"
923#    label in2 "+12V"
924#    label in3 "Vcore2"
925#    set in3_min 1.60
926#    set in3_max 1.80
927#    ignore in4
928#    label in5 "-12V"
929#    label in6 "Vtt"
930#    label fan1 "CPU1 Fan"
931#    label fan2 "CPU2 Fan"
932#    label fan3 "fan3"
933#    label temp1 "CPU1 Temp"
934#    label temp2 "CPU2 Temp"
935#    ignore temp3
936#    compute in2 @ * 38 / 10,           @ * 10 / 38
937#    compute in5 (@ * 36 - 118.61) / 7, (118.61 + 7 * @) / 36
938#
939#chip "mtp008-i2c-*-2e"
940#    ignore in0
941#    label in1 "+3.3V"
942#    ignore in2
943#    label in3 "+5V"
944#    set in3_min 4.50
945#    set in3_max 5.50
946#    ignore in4
947#    label in5 "+3.3V"
948#    ignore in6
949#    label fan1 "fan4"
950#    label fan2 "fan5"
951#    label fan3 "fan6"
952#    ignore temp1
953#    label temp2 "MB Temp"
954#    set temp2_over 52
955#    set temp2_hyst 47
956#    ignore temp3
957
958chip "adm1025-*"
959#
960# The ADM1025 has integrated scaling resistors, rather
961# than external resistors common to most sensor devices.
962# These apply to the first 6 voltage inputs in0-in5
963# (+2.5, VCore, +3.3, +5, 12, VCC). As the scaling is fixed inside
964# the chip for these inputs, it is fairly certain that the
965# motherboard connections match these labels, and that the
966# driver computations are correct. Therefore they do not need to
967# be overridden here.
968#
969    label in0 "+2.5V"
970    label in1 "VCore"
971    label in2 "+3.3V"
972    label in3 "+5V"
973    label in4 "+12V"
974    label in5 "VCC"
975
976    label temp1 "SYS Temp"
977    label temp2 "CPU Temp"
978
979# temp minimums should be renamed from _hyst to _min!!!
980
981# adjust this if your vid is wrong; see doc/vid
982    set vrm 9.0
983    set in1_min vid * 0.95
984    set in1_max vid * 1.05
985
986chip "lm87-*"
987#
988# The LM87 has integrated scaling resistors, rather
989# than external resistors common to most sensor devices.
990# These apply to the first 6 voltage inputs in0-in5
991# (+2.5, Vccp1, +3.3, +5, 12, +Vccp2). As the scaling is fixed inside
992# the chip for these inputs, it is fairly certain that the
993# motherboard connections match these labels, and that the
994# driver computations are correct. Therefore they do not need to
995# be overridden here.
996#
997# Note: AIN1 (-12?), AIN2 (-5?) and CPU2_temp require changing
998# #defines in the driver and recompiling!!!
999#
1000# This chip has non-standard entries in lib/chips.c so
1001# the feature names are quite different from other chips.
1002# For this chip, libsensors anticipates the correct labeling.
1003# This is great if it's correct but makes it a little more
1004# difficult if you want to change it.
1005#
1006# This may not have been a good idea, so it may be changed in the future.
1007# Here is an entry with everything commented out so you can
1008# uncomment the appropriate line if you want to change it.
1009#
1010# Warning - feature names starting with a number must be enclosed
1011# with double quotes.
1012#
1013# It is unlikely you will need to use the following 6 lines (see above)
1014#   label "2.5V" "xxx"
1015#   label Vccp1 "xxx"
1016#   label "3.3V" "xxx"
1017#   label "5V" "xxx"
1018#   label "12V" "xxx"
1019#   label Vccp2 "xxx"
1020
1021#   label fan1 "xxx"
1022#   label fan2 "xxx"
1023#   label temp1 "xxx"
1024#   label CPU_Temp "xxx"
1025#   label CPU2_Temp "xxx"
1026#
1027#   set AmbTemp_min xxx
1028#   set Vccp1_min xxx
1029#   set "3.3V_min" xxx
1030#   set "5V_min" xxx
1031#   set "12V_min" xxx
1032#   set Vccp2_min xxx
1033#
1034#   set AmbTemp_max xxx
1035#   set Vccp1_max xxx
1036#   set "3.3V_max" xxx
1037#   set "5V_max" xxx
1038#   set "12V_max" xxx
1039#   set Vccp2_max xxx
1040#
1041#   set fan1_div xxx
1042#   set fan2_div xxx
1043#   set fan1_min xxx
1044#   set fan2_min xxx
1045#   set temp1_min xxx
1046#   set temp1_max xxx
1047#   set temp2_min xxx
1048#   set temp2_max xxx
1049#   set temp3_min xxx
1050#   set temp3_max xxx
1051
1052# It is unlikely you will need to use the following 6 lines (see above)
1053#   compute "2.5V" xxx
1054#   compute Vccp1 xxx
1055#   compute "3.3V" xxx
1056#   compute "5V" xxx
1057#   compute "12V" xxx
1058#   compute Vccp2 xxx
1059
1060#   compute temp1 xxx
1061#   compute CPU_Temp xxx
1062#   compute CPU2_Temp xxx
1063
1064# LM87 AIN1 and AIN2 Section
1065# As described above, the driver must be recompiled to use either or
1066# both of these. -12 and -5 may be reversed on your board, this is
1067# just a guess, the datasheet gives no guidance.
1068#   label AIN1 "-12V"
1069#   label AIN2 "-5V"
1070#   set AIN1_min -12 * 0.95
1071#   set AIN2_min -5 * 0.95
1072#   set AIN1_max -12 * 1.05
1073#   set AIN2_max -5 * 0.95
1074#   compute AIN1 (7.50 * @) - 21.45  ,  (@ + 21.45) / 7.50
1075#   compute AIN2 (4.05 * @) - 10.07  ,  (@ + 10.07) / 4.05
1076
1077chip "adm9240-*" "ds1780-*" "lm81-*"
1078#
1079# These chips have non-standard entries in lib/chips.c so
1080# the feature names are quite different from other chips.
1081# For these chips, libsensors anticipates the correct labeling.
1082# This is great if it's correct but makes it a little more
1083# difficult if you want to change it.
1084#
1085# This may not have been a good idea, so it may be changed in the future.
1086# Here is an entry with everything commented out so you can
1087# uncomment the appropriate line if you want to change it.
1088#
1089# Warning - feature names starting with a number must be enclosed
1090# with double quotes.
1091#
1092#   label "2.5V" "xxx"
1093#   label Vccp1 "xxx"
1094#   label "3.3V" "xxx"
1095#   label "5V" "xxx"
1096#   label "12V" "xxx"
1097#   label Vccp2 "xxx"
1098#   label fan1 "xxx"
1099#   label fan2 "xxx"
1100#   label temp "xxx"
1101#
1102#   set Vccp1_min xxx
1103#   set "2.5V_min" xxx
1104#   set "3.3V_min" xxx
1105#   set "5V_min" xxx
1106#   set "12V_min" xxx
1107#   set Vccp2_min xxx
1108#
1109#   set Vccp1_max xxx
1110#   set "2.5V_max" xxx
1111#   set "3.3V_max" xxx
1112#   set "5V_max" xxx
1113#   set "12V_max" xxx
1114#   set Vccp2_max xxx
1115#
1116#   set fan1_div xxx
1117#   set fan2_div xxx
1118#   set fan1_min xxx
1119#   set fan2_min xxx
1120#   set temp1_hyst xxx
1121#   set temp1_over xxx
1122
1123#   compute "2.5V" xxx
1124#   compute Vccp1 xxx
1125#   compute "3.3V" xxx
1126#   compute "5V" xxx
1127#   compute "12V" xxx
1128#   compute Vccp2 xxx
1129#   compute temp xxx
1130
1131chip "adm1024-*"
1132#
1133# These settings work for me, adjust for your system
1134#
1135    label fan1 "CPU1 fan"
1136    label fan2 "CPU2 fan"
1137    label temp "SYS Temp"
1138    label temp1 "CPU2 Temp"
1139    label temp2 "CPU1 Temp"
1140    ignore "2.5V" # This register is also used for temp2
1141    ignore "Vccp1"
1142    ignore "Vccp2"
1143
1144
1145chip "it87-*" "it8705-*" "it8712-*"
1146
1147# The values below have been tested on Asus CUSI, CUM motherboards.
1148
1149# Voltage monitors as advised in the It8705 data sheet
1150
1151    label in0 "VCore 1"
1152    label in1 "VCore 2"
1153    label in2 "+3.3V"
1154    label in3 "+5V"
1155    label in4 "+12V"
1156    label in5 "-12V"
1157    label in6 "-5V"
1158    label in7 "Stdby"
1159    label in8 "VBat"
1160
1161    set in0_min 1.5 * 0.95
1162    set in0_max 1.5 * 1.05
1163    set in1_min 2.4
1164    set in1_max 2.6
1165    set in2_min 3.3 * 0.95
1166    set in2_max 3.3 * 1.05
1167    set in3_min 5.0 * 0.95
1168    set in3_max 5.0 * 1.05
1169    set in4_min 12 * 0.95
1170    set in4_max 12 * 1.05
1171    set in5_max -12 * 0.95
1172    set in5_min -12 * 1.05
1173    set in6_max -5 * 0.95
1174    set in6_min -5 * 1.05
1175    set in7_min 5 * 0.95
1176    set in7_max 5 * 1.05
1177    #the chip does not support in8 min/max
1178
1179    # vid is not monitored by IT8705F
1180    # and is not supported by driver at this time
1181    ignore  vid
1182
1183# If 3.3V reads 2X too high (Soyo Dragon, for example),
1184# comment out following line.
1185    compute in2   2*@ , @/2
1186#
1187    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1188    compute in4 ((30/10) +1)*@  , @/((30/10) +1)
1189# For this family of chips the negative voltage equation is different from
1190# the lm78.  The chip uses two external resistor for scaling but one is
1191# tied to a positive reference voltage.  See ITE8705/12 datasheet (SIS950
1192# data sheet is wrong)
1193# Vs = (1 + Rin/Rf) * Vin - (Rin/Rf) * Vref.
1194# Vref = 4.096 volts, Vin is voltage measured, Vs is actual voltage.
1195
1196# The next two are negative voltages (-12 and -5).
1197# The following formulas must be used. Unfortunately the datasheet
1198# does not give recommendations for Rin, Rf, but we can back into
1199# them based on a nominal +2V input to the chip, together with a 4.096V Vref.
1200# Formula:
1201#    actual V = (Vmeasured * (1 + Rin/Rf)) - (Vref * (Rin/Rf))
1202#    For -12V input use Rin/Rf = 6.68
1203#    For -5V input use Rin/Rf = 3.33
1204# Then you can convert the forumula to a standard form like:
1205    compute in5 (7.67 * @) - 27.36  ,  (@ + 27.36) / 7.67
1206    compute in6 (4.33 * @) - 13.64  ,  (@ + 13.64) / 4.33
1207#
1208# this much simpler version is reported to work for a
1209# Eltite Group K7S5A board
1210#
1211#   compute in5 -(36/10)*@, -@/(36/10)
1212#   compute in6 -(56/10)*@, -@/(56/10)
1213#
1214    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1215
1216# Temperature
1217#
1218# Important - if your temperature readings are completely whacky
1219# you probably need to change the sensor type. This must be done
1220# with 'modprobe it87 temp_type=0xXX', you can't fix it in this file.
1221# See ../doc/chips/it87 for details and valid 'XX' values!!!
1222#
1223    label temp1       "Temp1/MB"
1224    set   temp1_over  40
1225    set   temp1_hyst  20
1226    label temp2       "Temp2/CPU"
1227    set   temp2_over  45
1228    set   temp2_hyst  25
1229#   ignore temp3
1230    label temp3       "Temp3"
1231    set   temp3_over  45
1232    set   temp3_hyst  25
1233
1234# Fans
1235    set fan1_min 0
1236    set fan2_min 3000
1237#   ignore fan3
1238    set fan3_min 3000
1239
1240# The following is for the Inside Technologies 786LCD which uses either a
1241# IT8705F or a SIS950 for monitoring with the SIS630.
1242# You will need to load the it87 module as follows to select the correct
1243# temperature sensor type.
1244# modprobe it87 temp_type=0x31
1245# The sensors-detect program reports lm78 and a sis5595 and lists the it87 as
1246# a misdetect.  Don't do the modprobe for the lm78 or sis5595 as suggested.
1247#
1248# delete or comment out above it87 section and uncomment the following.
1249#chip "it87-*"
1250#    label in0 "VCore 1"
1251#    label in1 "VCore 2"
1252#    label in2 "+3.3V"
1253#    label in3 "+5V"
1254#    label in4 "+12V"
1255#    label in5 "3.3 Stdby"
1256#    label in6 "-12V"
1257#    label in7 "Stdby"
1258#    label in8 "VBat"
1259    # in0 will depend on your processor VID value, set to voltage specified in
1260    # bios setup screen
1261#    set in0_min 1.7 * 0.95
1262#    set in0_max 1.7 * 1.05
1263#    set in1_min 2.4
1264#    set in1_max 2.6
1265#    set in2_min 3.3 * 0.95
1266#    set in2_max 3.3 * 1.05
1267#    set in3_min 5.0 * 0.95
1268#    set in3_max 5.0 * 1.05
1269    # +- 12V are very poor tolerance on this board. Verified with voltmeter
1270#    set in4_min 12 * 0.90
1271#    set in4_max 12 * 1.10
1272#    set in5_min 3.3 * 0.95
1273#    set in5_max 3.3 * 1.05
1274#    set in6_max -12 * 0.90
1275#    set in6_min -12 * 1.10
1276#    set in7_min 5 * 0.95
1277#    set in7_max 5 * 1.05
1278    # vid not monitored by IT8705F
1279#    ignore  vid
1280
1281#    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1282#    compute in4 ((30/10) +1)*@  , @/((30/10) +1)
1283#    compute in6 (1+232/56)*@ - 4.096*232/56, (@ + 4.096*232/56)/(1+232/56)
1284#    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1285    # Temperature
1286#    label temp1       "CPU Temp"
1287#    ignore temp2
1288#    ignore temp3
1289    # Fans
1290#    set fan1_min 3000
1291#    ignore fan2
1292#    ignore fan3
1293
1294chip "fscpos-*"
1295
1296#
1297#    values for the fujitsu siemens poseidon chip
1298#
1299# Temperature
1300
1301    label temp1       "Temp1/CPU"
1302    label temp2       "Temp2/MB"
1303    label temp3       "Temp2/AUX"
1304
1305# Fans
1306
1307    label  fan1       "Fan1"
1308    ignore  fan2
1309    ignore  fan3
1310
1311# Voltage
1312
1313    label volt12      "+12V"
1314    label volt5       "+5V"
1315    label voltbatt    "+3.3V"
1316
1317chip "fscscy-*"
1318
1319#
1320#    values for the fujitsu siemens Scylla chip
1321#
1322# Temperature
1323
1324    label temp1       "Temp1/CPU0"
1325    label temp2       "Temp2/CPU1"
1326    label temp3       "Temp3/MB"
1327    label temp4       "Temp4/AUX"
1328
1329# Fans
1330
1331    label  fan1       "Fan1/CPU0"
1332    label  fan2       "Fan2/CPU0"
1333    label  fan3       "Fan3"
1334    label  fan4       "Fan4"
1335    label  fan5       "Fan5"
1336    label  fan6       "Fan6"
1337
1338# Voltage
1339
1340    label volt12      "+12V"
1341    label volt5       "+5V"
1342    label voltbatt    "+3.3V"
1343
1344
1345chip "pcf8591-*"
1346#
1347#    values for the Philips PCF8591 chip
1348#
1349# Analog inputs
1350
1351   ignore ain_conf
1352   set    ain_conf    0
1353   label  ch0         "Chan. 0"
1354   label  ch1         "Chan. 1"
1355   label  ch2         "Chan. 2"
1356   label  ch3         "Chan. 3"
1357
1358# Analog output
1359
1360   ignore aout_enable
1361   set    aout_enable 1
1362   label  aout        "Output"
1363   set    aout        0
1364
1365chip "adm1021-*" "adm1023-*" "max1617-*" "max1617a-*" "thmc10-*" "lm84-*" "gl523sm-*" "mc1066-*"
1366
1367   label temp           "Board"
1368   label remote_temp    "CPU"
1369#   set temp_low                40
1370#   set temp_over               70
1371#   set remote_temp_low         40
1372#   set remote_temp_over        70
1373
1374chip "vt1211-*" "vt8231-*"
1375#
1376# temp1 and in6 are not implemented in vt1211 / vt8231
1377# temp4-7 (thermistor) cacluations unimplemented here - requires logarithms :(
1378#
1379#                                                       1 for temp, 0 for volt.
1380#       Sensor          Voltage Mode    Temp Mode       config bit
1381#       --------        ------------    ---------       --------------
1382#       Reading 1                       temp3
1383#       UCH1/Reading2   in0             temp2           0x04 (4)
1384#       UCH2            in1             temp4           0x08 (8)
1385#       UCH3            in2             temp5           0x10 (16)
1386#       UCH4            in3             temp6           0x20 (32)
1387#       UCH5            in4             temp7           0x40 (64)
1388#       3.3V            in5
1389#
1390# set uch1-2 to temp mode, uch3-5 to voltage mode
1391#
1392    ignore temp1
1393    ignore in6
1394    set config 12
1395    ignore in0
1396    ignore in1
1397    ignore temp5
1398    ignore temp6
1399    ignore temp7
1400#
1401#   label in0 "unused"
1402#   label in1 "unused"
1403    label in2 "VCore1"
1404    label in3 "+5V"
1405    label in4 "+12V"
1406    label in5 "+3.3V"
1407#   label in6 "VCore2"
1408
1409#   label temp1 "1211 Temp"
1410    label temp2 "MB1 Temp"
1411    label temp3 "Proc Temp"
1412    label temp4 "MB2 Temp"
1413#
1414#   All voltage calculations have the form
1415#       ((@ * 100) - 3) / (K * 95.8), (@ * K * 0.958) + .03
1416#   where K = R2 / (R1 + R2).
1417#   Use the following K values based on input voltage.
1418#   This of course assumes the mobo has the resistors
1419#   recommended by Via in the datasheet.
1420#       Voltage                 K
1421#       VCore                   1.0
1422#       2.5                     0.8333
1423#       3.3 (in5 internal)      0.6296
1424#       3.5 (3.3V ext.)         0.5952
1425#       5.0                     0.4167
1426#       12.0                    0.1754
1427#
1428#   compute in0 ((@ * 100) - 3) / (0.5952 * 95.8), (@ * 0.5952 * 0.958) + .03
1429#   compute in1 ((@ * 100) - 3) / (0.8333 * 95.8), (@ * 0.8333 * 0.958) + .03
1430    compute in2 ((@ * 100) - 3) / (0.5952 * 95.8), (@ * 0.5952 * 0.958) + .03
1431    compute in3 ((@ * 100) - 3) / (0.4167 * 95.8), (@ * 0.4167 * 0.958) + .03
1432    compute in4 ((@ * 100) - 3) / (0.1754 * 95.8), (@ * 0.1754 * 0.958) + .03
1433    compute in5 ((@ * 100) - 3) / (0.6296 * 95.8), (@ * 0.6296 * 0.958) + .03
1434#   compute in6 ((@ * 100) - 3) / (0.5952 * 95.8), (@ * 0.5952 * 0.958) + .03
1435
1436    set vrm 9.1
1437#   set in0_min 2.5 * 0.95
1438#   set in0_max 2.5 * 1.05
1439#   set in1_min 2.5 * 0.95
1440#   set in1_max 2.5 * 1.05
1441    set in2_min vid * 0.97
1442    set in2_max vid * 1.03
1443    set in3_min 5.0 * 0.95
1444    set in3_max 5.0 * 1.05
1445    set in4_min 12.0 * 0.90
1446    set in4_max 12.0 * 1.10
1447    set in5_min 3.3 * 0.95
1448    set in5_max 3.3 * 1.05
1449#   set in6_min 2.0 * 0.97
1450#   set in6_max 2.0 * 1.03
1451
1452#   compute temp1  (@ - 65) / 0.9686,  (@ * 0.9686) + 65
1453    compute temp3  (@ - 65) / 0.9686,  (@ * 0.9686) + 65
1454
1455#   set temp1_hyst 40
1456#   set temp1_over 45
1457    set temp2_hyst 55
1458    set temp2_over 60
1459    set temp3_hyst 60
1460    set temp3_over 65
1461    set temp4_hyst 60
1462    set temp4_over 65
1463
1464    set fan1_min 3000
1465    set fan2_min 3000
1466
1467chip "smsc47m1-*"
1468
1469    set fan1_min 3000
1470    set fan2_min 3000
Note: See TracBrowser for help on using the browser.