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

Revision 1270, 36.7 KB (checked in by mds, 13 years ago)

add entries for it87 in8 and temp3

  • 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# BUS LINES
189# ---------
190# There is one other feature: the 'bus' statement. An example is below.
191#
192#       bus "i2c-0" "SMBus PIIX4 adapter at e800" "Non-I2C SMBus adapter"
193#
194# If we refer from now on to 'i2c-0' in 'chip' lines, this will run-time
195# be matched to this bus. So even if the PIIX4 is called 'i2c-5' at that
196# moment, because five other adapters were detected first, 'i2c-0' in
197# the config file would always only match this physical bus. In the above
198# config file, this feature is not needed; but the next lines would
199# only affect the LM75 chips on the PIIX4 adapter:
200#
201#       chip "lm75-i2c-0-*"
202#
203# You should really use the output of /proc/bus/chips to generate bus lines,
204# because one mistyped characted will inhibit the match. Wildcards are not
205# yet supported; spaces at the end are ignored, though.
206#
207#
208##########################################################################
209#### Here begins the real configuration file
210
211
212chip "lm78-*" "lm78-j-*" "lm79-*" "w83781d-*"
213
214# These are as advised in the LM78 and LM79 data sheets, and used on almost
215# any mainboard we have seen.
216
217    label in0 "VCore 1"
218    label in1 "VCore 2"
219    label in2 "+3.3V"
220    label in3 "+5V"
221    label in4 "+12V"
222    label in5 "-12V"
223    label in6 "-5V"
224
225# For positive voltages (in3, in4), two resistors are used, with the following
226# formula (R1,R2: resistor values, Vs: read voltage, Vin: pin voltage)
227#   R1 = R2 * (Vs/Vin - 1)
228# For negative voltages (in5, in6) two resistors are used, with the following
229# formula (Rin,Rf: resistor values, Vs: read voltage, Vin: pin voltage)
230#   Rin = (Vs * Rf) / Vin
231#
232# Here are the official LM78 and LM79 data sheet values.
233#       Vs     R1,Rin   R2,Rf    Vin
234# in3   +5.0      6.8    10     +2.98
235# in4  +12.0     30      10     +3.00
236# in5  -12.0    240      60     +3.00
237# in6   -5.0    100      60     +3.00
238#
239# These would lead to these declarations:
240# compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
241# compute in4 ((30/10)+1)*@  ,  @/((30/10)+1)
242# compute in5 -(240/60)*@    ,  -@/(240/60)
243# compute in6 -(100/60)*@    ,  -@/(100/60)
244#
245# On almost any mainboard we have seen, the Winbond compute values lead to
246# much better results, though.
247#
248#       Vs     R1,Rin   R2,Rf    Vin
249# in4  +12.0     28      10     +3.00
250# in5  -12.0    210      60.4   +3.00
251# in6   -5.0     90.9    60.4   +3.00
252#
253# These leads to these declarations:
254
255    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
256    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
257    compute in5 -(210/60.4)*@  ,  -@/(210/60.4)
258    compute in6 -(90.9/60.4)*@ ,  -@/(90.9/60.4)
259
260# Here, we assume the VID readings are valid, and we use a max. 5% deviation
261
262    set in0_min vid*0.95
263    set in0_max vid*1.05
264    set in1_min vid*0.95
265    set in1_max vid*1.05
266    set in2_min 3.3 * 0.95
267    set in2_max 3.3 * 1.05
268    set in3_min 5.0 * 0.95
269    set in3_max 5.0 * 1.05
270    set in4_min 12 * 0.95
271    set in4_max 12 * 1.05
272    set in5_min -12 * 0.95
273    set in5_max -12 * 1.05
274    set in6_min -5 * 0.95
275    set in6_max -5 * 1.05
276
277# examples for lm78, lm78j, lm79 temperature limits;
278#    set temp_over 40   
279#    set temp_hyst 37   
280
281# examples for w83781d temperature limits
282#    set temp1_over 40 
283#    set temp1_hyst 37 
284#    set temp2_over 52 
285#    set temp2_hyst 47 
286#    set temp3_over 52 
287#    set temp3_hyst 47 
288
289
290chip "sis5595-*"
291
292    label in0 "VCore 1"
293    label in1 "VCore 2"
294    label in2 "+3.3V"
295    label in3 "+5V"
296    label in4 "+12V"
297
298    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
299    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
300
301    set in0_min 2.0 * 0.95
302    set in0_max 2.0 * 1.05
303    set in1_min 2.0 * 0.95
304    set in1_max 2.0 * 1.05
305    set in2_min 3.3 * 0.95
306    set in2_max 3.3 * 1.05
307    set in3_min 5.0 * 0.95
308    set in3_max 5.0 * 1.05
309    set in4_min 12 * 0.95
310    set in4_max 12 * 1.05
311
312#
313# SiS5595 temperature calculation
314# The driver currently includes a calculation due to the wide
315# variation in thermistor types on SiS5595 motherboards.
316# The driver currently has a calculation of t = (.83x + 52.12).
317# One user reports the correct formula of t = (.345x - 12).
318# So you want to put a compute line in sensors.conf that has
319# the inverse of the driver formula, and put your formula on top of it.
320# The inverse of the driver formula is x = (1.20t - 62.77)
321# So the final formula is newt = (.345(1.20t - 62.77)) - 12).
322# Put this in the sensors.conf file as
323# compute temp ((.345 * ((1.20 * @) - 62.77)) - 12), ...
324# where ... is the inverse function I leave to you.
325#
326# Look in your 'Vendor.ini' file to see which one is present
327# on your motherboard. Look for the line like:
328#       [Temp1]
329#            ThermistorType     = NTC-10KC15-1608-1P
330# Fix up a 'compute' line to match your thermistor type.
331# Warning. You still don't have enough information to do this.
332#            ThermistorType     = NTC-10KC15-1608-1P (10K at 25C; Beta = 3435)
333#   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
334#            ThermistorType     = NTC-103KC15-1608-1P  (??)
335#   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
336#            ThermistorType     = NTC-103AT-2 (10K at 25C; Beta = 3435)
337#   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
338#            ThermistorType     = NTC-103JT   (10K at 25C; Beta = 3435)
339#   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
340
341# examples for sis5595 temperature limits;
342# for sis5595, temp_hyst is really the low limit, not a hysteresis value
343#    set temp_over 40   
344#    set temp_hyst 37   
345
346chip "w83782d-*" "w83783s-*" "w83627hf-*"
347
348# Same as above for w83781d except that in5 and in6 are computed differently.
349# Rather than an internal inverting op amp, the 82d/83s use standard positive
350# inputs and the negative voltages are level shifted by a 3.6V reference.
351# The math is convoluted, so we hope that your motherboard
352# uses the recommended resistor values.
353
354    label in0 "VCore 1"
355    label in1 "VCore 2"
356    label in2 "+3.3V"
357    label in3 "+5V"
358    label in4 "+12V"
359    label in5 "-12V"
360    label in6 "-5V"
361    label in7 "V5SB"
362    label in8 "VBat"
363
364    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
365    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
366    compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
367    compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
368    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
369
370# set limits to  5% for the critical voltages
371# set limits to 10% for the non-critical voltages
372# set limits to 20% for the battery voltage
373
374    set in0_min vid*0.95
375    set in0_max vid*1.05
376    set in1_min vid*0.95
377    set in1_max vid*1.05
378    set in2_min 3.3 * 0.95
379    set in2_max 3.3 * 1.05
380    set in3_min 5.0 * 0.95
381    set in3_max 5.0 * 1.05
382    set in4_min 12 * 0.90
383    set in4_max 12 * 1.10
384    set in5_min -12 * 0.90
385    set in5_max -12 * 1.10
386    set in6_min -5 * 0.95
387    set in6_max -5 * 1.05
388    set in7_min 5 * 0.95
389    set in7_max 5 * 1.05
390    set in8_min 3.0 * 0.80
391    set in8_max 3.0 * 1.20
392
393# set up sensor types (thermistor is default)
394# 1 = PII/Celeron Diode; 2 = 3904 transistor;
395# 3435 = thermistor with Beta = 3435
396# If temperature changes very little, try 1 or 2.
397#   set sensor1 1
398#   set sensor2 2
399#   set sensor3 3435
400
401# examples for temperature limits
402#    set temp1_over 40 
403#    set temp1_hyst 37 
404#    set temp2_over 52 
405#    set temp2_hyst 47 
406#    set temp3_over 52 
407#    set temp3_hyst 47 
408
409
410chip "w83697hf-*"
411
412# Same as above for w83781d except that in5 and in6 are computed differently.
413# Rather than an internal inverting op amp, the 82d/83s use standard positive
414# inputs and the negative voltages are level shifted by a 3.6V reference.
415# The math is convoluted, so we hope that your motherboard
416# uses the recommended resistor values.
417
418# no in1 on this chip.
419
420    label in0 "VCore"
421    label in2 "+3.3V"
422    label in3 "+5V"
423    label in4 "+12V"
424    label in5 "-12V"
425    label in6 "-5V"
426    label in7 "V5SB"
427    label in8 "VBat"
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# 697HF does not have VID inputs so you MUST set your core
436# voltage limits below. Currently set for 1.8V core.
437#               vvv
438
439    set in0_min 1.8 * 0.95
440    set in0_max 1.8 * 1.05
441
442    set in2_min 3.3 * 0.95
443    set in2_max 3.3 * 1.05
444    set in3_min 5.0 * 0.95
445    set in3_max 5.0 * 1.05
446    set in4_min 12 * 0.90
447    set in4_max 12 * 1.10
448    set in5_min -12 * 0.90
449    set in5_max -12 * 1.10
450    set in6_min -5 * 0.95
451    set in6_max -5 * 1.05
452    set in7_min 5 * 0.95
453    set in7_max 5 * 1.05
454    set in8_min 3.0 * 0.80
455    set in8_max 3.0 * 1.20
456
457# set up sensor types (thermistor is default)
458# 1 = PII/Celeron Diode; 2 = 3904 transistor;
459# 3435 = thermistor with Beta = 3435
460# If temperature changes very little, try 1 or 2.
461#   set sensor1 1
462#   set sensor2 2
463#   set sensor3 3435
464
465# examples for temperature limits
466#    set temp1_over 40 
467#    set temp1_hyst 37 
468#    set temp2_over 52 
469#    set temp2_hyst 47 
470#    set temp3_over 52 
471#    set temp3_hyst 47 
472
473
474chip "as99127f-*"
475
476# Same as above for w83782d except that in5 and in6 negative voltages
477# are computed as in the w83781d.
478# Asus won't release a datasheet so this is guesswork.
479# New in5 and temp2 calculations courtesy Guntram Blohm.
480
481    label in0 "VCore 1"
482    label in1 "VCore 2"
483    label in2 "+3.3V"
484    label in3 "+5V"
485    label in4 "+12V"
486    label in5 "-12V"
487    label in6 "-5V"
488
489    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
490    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
491    compute in5 -(240/60.4)*@ ,  -@/(240/60.4)
492    compute in6 -(90.9/60.4)*@ ,  -@/(90.9/60.4)
493
494    compute temp2 (@*30/43)+25, (@-25)*43/30
495
496# set limits to  5% for the critical voltages
497# set limits to 10% for the non-critical voltages
498# set limits to 20% for the battery voltage
499
500    set in0_min vid*0.95
501    set in0_max vid*1.05
502    set in1_min vid*0.95
503    set in1_max vid*1.05
504    set in2_min 3.3 * 0.95
505    set in2_max 3.3 * 1.05
506    set in3_min 5.0 * 0.95
507    set in3_max 5.0 * 1.05
508    set in4_min 12 * 0.90
509    set in4_max 12 * 1.10
510    set in5_min -12 * 0.90
511    set in5_max -12 * 1.10
512    set in6_min -5 * 0.95
513    set in6_max -5 * 1.05
514
515# examples for temperature limits
516#    set temp1_over 40 
517#    set temp1_hyst 37 
518#    set temp2_over 52 
519#    set temp2_hyst 47 
520#    set temp3_over 52 
521#    set temp3_hyst 47 
522
523
524chip "gl518sm-*"
525
526# Factors and labels taken from GL518SM datasheet, they seem to give
527# reasonable values with EISCA connected Fan78
528
529  label vdd "+5V"
530  label vin1 "+3.3V"
531  label vin2 "+12V"
532  label vin3 "Vcore"
533
534# vin2 depends on external resistors (4,7k and 15k assumed here)
535# vin1 and vin3 require no scaling
536
537  compute vin2 (197/47)*@  ,  @/(197/47)
538
539  set vdd_min 4.8
540  set vdd_max 5.2
541  set vin1_min 3.20
542  set vin1_max 3.40
543  set vin2_min 11.0
544  set vin2_max 13.0
545  set vin3_min 2.10
546  set vin3_max 2.30
547  set fan1_off 0
548  set fan2_min 0
549  set iterate 0
550
551
552chip "gl520sm-*"
553
554# Factors and labels taken from GL520SM datasheet
555
556  label vdd "+5V"
557  label vin1 "+3.3V"
558  label vin2 "+12V"
559  label vin3 "Vcore"
560  label vin4 "-12V"
561
562# vin1 and vin3 require no scaling
563# vin2 depends on external resistors (4,7k and 15k assumed)
564 
565# vin4 = ((R1+R2)/R2)*@ - (R1/R2)*vdd
566#
567#       -12 --| R1 |---t---| R2 |-- +5
568#                      |
569#                    vin4
570#
571
572  compute vin2 (197/47)*@  ,  @/(197/47)
573  compute vin4 (5*@)-(4*vdd) , (@+4*vdd)/5
574
575  set vdd_min 4.8
576  set vdd_max 5.2
577  set vin1_min 3.20
578  set vin1_max 3.40
579  set vin2_min 11.0
580  set vin2_max 13.0
581  set vin3_min 2.10
582  set vin3_max 2.30
583  set two_temps 1
584
585
586chip "lm80-*"
587   
588# The values below should be correct if you own a qdi BX (brilliant1)
589# mainboard. If not, please contact us, so we can figure out better readings.
590# Many thanks go to Peter T. Breuer <ptb@it.uc3m.es> for helping us figure
591# out how to handle the LM80.
592
593# For positive voltages (in0..in4), two resistors are used, with the following
594# formula (R1,R2: resistor values, Vs: read voltage, Vin: pin voltage)
595#   R1 = R2 * (Vs/Vin - 1)
596# For negative voltages (in5, in6) two resistors are used, with the following
597# formula (R3,R4: resistor values, Vs: read voltage, Vin: pin voltage,
598# V5: +5V)
599#   R3 = R4 * (Vs - Vin) / (Vin - V5)
600
601# Here are the official LM78 and LM79 data sheet values.
602#       Vs      R1,R3   R2,R4    Vin
603#       +2.5V    23.7    75     +1.9
604#       +3.3V    22.1    30     +1.9
605#       +5.0     24      14.7   +1.9
606#      +12.0    160      30.1   +1.9
607#      -12.0    160      35.7   +1.9
608#       -5.0     36      16.2   +1.9
609
610# Now curiously enough, VCore is connected with (unknown) resistors, which
611# translate a +2.8V to +1.9V. So we use that in the computations below.
612
613    label in0 "+5V"
614    label in1 "VTT"
615    label in2 "+3.3V"
616    label in3 "+Vcore"
617    label in4 "+12V"
618    label in5 "-12V"
619    label in6 "-5V"
620
621    compute in0 (24/14.7 + 1) * @ ,       @ / (24/14.7 + 1)
622    compute in2 (22.1/30 + 1) * @ ,       @ / (22.1/30 + 1)
623    compute in3 (2.8/1.9) * @,            @ * 1.9/2.8
624    compute in4 (160/30.1 + 1) * @,       @ / (160/30.1 + 1)
625    compute in5 (160/35.7)*(@ - in0) + @, (@ + in0 * 160/35.7)/ (1 + 160/35.7)
626    compute in6 (36/16.2)*(@ - in0) + @,  (@ + in0 * 36/16.2) / (1 + 36/16.2)
627
628    set in0_min 5 * 0.95
629    set in0_max 5 * 0.95
630# What is your VTT? It is probably not this value...
631    set in1_min 2*0.95
632    set in1_max 2*1.05
633    set in2_min 3.3 * 0.95
634    set in2_max 3.3 * 1.05
635# What is your VCore? It is probably not this value...
636    set in3_min 1.9 * 0.95
637    set in3_max 1.9 * 1.05
638    set in4_min 12 * 0.95
639    set in4_max 12 * 1.05
640    set in5_min -12 * 1.05
641    set in5_max -12 * 0.95
642    set in6_min -5 * 1.05
643    set in6_max -5 * 0.95
644
645# examples for lm80 temperature limits
646# WARNING - nonstandard names and functions for the lm80!!!
647# All 4 of these limits apply to the single temperature sensor.
648# "hot" is like the standard alarm for most chips.
649# "os" is the threshold for the overtemperature shutdown output.
650# "os" may or may not do anything on your motherboard but it should
651#  be set higher than the "hot" thresholds.
652# Note that the /proc file 'temp" also has five entries instead of
653# the usual three.
654#    set temp_hot_hyst 45
655#    set temp_hot_max  52       
656#    set temp_os_hyst  57       
657#    set temp_os_max   62       
658
659
660chip "maxilife-cg-*" "maxilife-co-*" "maxilife-as-*"
661
662   label fan1  "HDD Fan"
663   label fan2  "PCI Fan"
664   label fan3  "CPU Fan"
665   ignore fan4
666   
667   label temp2 "PCI Temp"
668   label temp4 "HDD Temp"
669   label temp5 "CPU Temp"
670   ignore temp6
671
672   label vid1  "V+12"
673   ignore vid5
674
675# vid1 need to be scaled by 6.337 other voltages
676# require no scaling
677
678   compute vid1 6.337*@ , @/6.337
679
680
681chip "maxilife-cg-*"
682
683   ignore temp1
684   label temp3  "BX Temp"
685   
686   label vid2   "Vcpu1"
687   label vid3   "Vcpu2"
688   ignore vid4
689
690
691chip "maxilife-co-*"
692
693   label temp1  "CPU 1 Temp"
694   label temp3  "CPU 2 Temp"
695   
696   label vid2   "Vcpu1"
697   label vid3   "Vcpu2"
698   label vid4   "VcacheL2"
699
700
701chip "maxilife-as-*"
702
703   ignore temp1
704   ignore temp3
705
706   label vid2   "Vcpu"
707   ignore vid3
708   ignore vid4
709
710
711chip "maxilife-nba-*"
712
713   label fan1  "CPU Fan"
714   label fan2  "PCI Fan"
715   label fan3  "HDD Fan"
716   label fan4  "Heat Sink Fan"
717
718   label temp1  "CPU 1 Temp"
719   label temp2  "CPU 2 Temp"
720   label temp3  "PCI/Ambient Temp"
721   label temp4  "HDD Temp"
722   label temp5  "Motherboard Temp"
723   label temp6  "CPU Reference Temp"
724
725   label vid1  "V+12"
726   label vid2  "Vcpu1"
727   label vid3  "Vcpu2"
728   label vid4  "VcacheL2"
729   label vid5  "V-12"
730
731
732chip "via686a-*"
733
734# VIA is very specific about the voltage sensor inputs, and our labels
735# reflect what they say.  Unfortunately, they are not at all specific about
736# how to convert any of the register values to real units.  Fortunately,
737# Jonathan Yew <j.teh@iname.com> and Alex van Kaam <darkside@chello.nl>
738# came through with some data for temp conversion and formulae for voltage
739# conversion. However, the conversions should be regarded as our best guess-
740# YMMV.
741
742# On the Tyan S1598, the 2.5V sensor reads 0 and is not displayed in the BIOS.
743# Linas Vepstas <linas@linas.org> reports that this sensor shows nothing of
744# interest on the Abit KA7 (Athlon), and is also not displayed in the BIOS.
745# Likewise, Johannes Drechsel-Burkhard <jdb@chello.at> reports that this
746# sensor is unavailable in the BIOS of his MSI K7T Pro (Thunderbird).  So,
747# if you have one of these boards you may want to uncomment the 'ignore 2.5V'
748# line below.
749
750    label "2.0V" "CPU core"
751    label "2.5V" "+2.5V"
752    #ignore "2.5V"
753    label "3.3V" "I/O"
754    label "5.0V" "+5V"
755    label "12V" "+12V"
756
757    label fan1  "CPU Fan"
758    label fan2  "P/S Fan"
759
760# VIA suggests that temp3 is an internal temp sensor for the 686a.  However,
761# on the Tyan S1598 as well as the Abit KA7 (Athalon), the absolute values
762# of the readings from that sensor are not valid.  The readings do seem to
763# correlate with temp changes, but the conversion factor may be quite
764# different from temp1 & temp2 (as noted above, VIA has not provided
765# conversion info).  So, you may wish to 'ignore temp3'.
766
767# Johannes Drechsel-Burkhard <jdb@chello.at> notes that on his MSI K7T Pro,
768# temp1 is the CPU temp and temp2 is the SYS temp. 
769
770    label temp1 "SYS Temp"
771    label temp2 "CPU Temp"
772    label temp3 "SBr Temp"
773    #ignore temp3
774
775# Set your CPU core limits here.  For the other voltage sensors, the
776# built-in defaults should be fine.
777
778    set in0_min 2.0
779    set in0_max 2.5
780
781# Set your temp limits here.  Remember, 'tempX_over' is the temp at which an
782# alarm is triggered, and 'tempX_hyst' is the temp at which an alarm turns off.
783# Setting tempX_hyst to a few degrees below the corresponding tempX_over
784# prevents an oscillation between alarm on and off states.  This kind of
785# oscillation is known as hyteresis, thus the name.  (You typically get the
786# most serious and troublesome hysteresis when a sensor triggers something to
787# reduce the temp, thus creating a negative feedback loop.  Even without that,
788# we would still get some oscillation when the temp hovers around the limit
789# due to noise.)   
790
791    set temp1_hyst 40
792    set temp1_over 45
793    set temp2_hyst 55
794    set temp2_over 60
795    set temp3_hyst 60
796    set temp3_over 65
797
798# You could set your fan limits too, but the defaults should be fine.
799
800    #set fan1_min 5000
801    #set fan2_min 5000
802
803# For at least one Tyan S1598, the following corrections make the sensors
804# readings more in-line with the BIOS readings on boot.  Try these, and
805# adjust as necessary.
806
807  #compute "2.0V" 1.02*@ ,  @/1.02
808  #compute "3.3V" 1.02*@  ,  @/1.02
809  #compute "5.0V" 1.009*@  ,  @/1.009
810  #compute "12V" 1.04*@ ,  @/1.04
811
812
813chip "mtp008-*"
814   
815# The values below should be correct if you own a Tyan S1834D motherboard.
816# If not, please contact us, so we can figure out better readings.
817# FOR TYAN S2510 SEE END OF THIS SECTION.
818
819# For positive voltages outside the 0..4.09V range (in2..in4), two resistors
820# are used, with the following formula (R1,R2: resistor values, Vs: read
821# voltage, Vin: pin voltage)
822#   Vin = Vs * (R2 / (R1 + R2))
823# For negative voltages (in5) two resistors are used, with the following
824# formula (R3,R4: resistor values, Vs: read voltage, Vin: pin voltage)
825#   Vin = ((4.096 - Vs) * (R3 / (R3 + R4))) + Vs
826
827# Here are the official MTP008 data sheet values:
828#       Vs      R1,R3   R2,R4    Vin
829#      +12.0    28000   10000   +3.16
830#      -12.0   232000   56000   +0.96
831#       -5.0   120000   56000   +1.20
832
833    label in0 "VCore1"
834    label in1 "+3.3V"
835    label in2 "+12V"
836    label in3 "Vcore2"
837    ignore in4
838    label in5 "-12V"
839    label in6 "Vtt"
840
841    label fan1 "CPU1 Fan"
842    label fan2 "CPU2 Fan"
843    label fan3 "fan3"
844
845    label temp1 "CPU1 Temp"
846    label temp2 "CPU2 Temp"
847    ignore temp3
848
849    compute in2 @ * 38 / 10,            @ * 10 / 38
850    compute in5 (@ * 36 - 118.61) / 7,  (118.61 + 7 * @) / 36
851
852# examples for temperature limits
853#    set temp1_over 40 
854#    set temp1_hyst 37 
855#    set temp2_over 52 
856#    set temp2_hyst 47 
857#    set temp3_over 52 
858#    set temp3_hyst 47 
859
860# End of standard mtp008 configuration
861
862# TYAN S2510 INFORMATION
863# This motherboard has two mtp008's which are hooked up differently,
864# so they must be configured separately.
865# For this motherboard, COMMENT OUT the above mtp008 section and
866# UNCOMMENT the following two sections.
867#
868#chip "mtp008-i2c-*-2c"
869#    label in0 "VCore1"
870#    set in0_min 1.60
871#    set in0_max 1.80
872#    label in1 "+3.3V"
873#    label in2 "+12V"
874#    label in3 "Vcore2"
875#    set in3_min 1.60
876#    set in3_max 1.80
877#    ignore in4
878#    label in5 "-12V"
879#    label in6 "Vtt"
880#    label fan1 "CPU1 Fan"
881#    label fan2 "CPU2 Fan"
882#    label fan3 "fan3"
883#    label temp1 "CPU1 Temp"
884#    label temp2 "CPU2 Temp"
885#    ignore temp3
886#    compute in2 @ * 38 / 10,           @ * 10 / 38
887#    compute in5 (@ * 36 - 118.61) / 7, (118.61 + 7 * @) / 36
888#
889#chip "mtp008-i2c-*-2e"
890#    ignore in0
891#    label in1 "+3.3V"
892#    ignore in2
893#    label in3 "+5V"
894#    set in3_min 4.50
895#    set in3_max 5.50
896#    ignore in4
897#    label in5 "+3.3V"
898#    ignore in6
899#    label fan1 "fan4"
900#    label fan2 "fan5"
901#    label fan3 "fan6"
902#    ignore temp1
903#    label temp2 "MB Temp"
904#    set temp2_over 52 
905#    set temp2_hyst 47 
906#    ignore temp3
907
908chip "adm1025-*"
909
910# These are as advised in the data sheet
911
912    label in0 "+2.5V"
913    label in1 "VCCP"
914    label in2 "+3.3V"
915    label in3 "+5V"
916    label in4 "+12V"
917    label in5 "VCC"
918
919    label temp1 "SYS Temp"
920    label temp2 "CPU Temp"
921
922chip "lm87-*"
923#
924# This chip has non-standard entries in lib/chips.c so
925# the feature names are quite different from other chips.
926# For this chip, libsensors anticipates the correct labeling.
927# This is great if it's correct but makes it a little more
928# difficult if you want to change it.
929#
930# This may not have been a good idea, so it may be changed in the future.
931# Here is an entry with everything commented out so you can
932# uncomment the appropriate line if you want to change it.
933#
934# Warning - feature names starting with a number must be enclosed
935# with double quotes.
936#
937#   label "2.5V" "xxx"
938#   label Vccp1 "xxx"
939#   label "3.3V" "xxx"
940#   label "5V" "xxx"
941#   label "12V" "xxx"
942#   label Vccp2 "xxx"
943#   label AIN1 "xxx"
944#   label AIN2 "xxx"
945#   label fan1 "xxx"
946#   label fan2 "xxx"
947#   label temp1 "xxx"
948#   label CPU_Temp "xxx"
949#   label CPU2_Temp "xxx"
950#
951#   set AmbTemp_min xxx
952#   set Vccp1_min xxx
953#   set "3.3V_min" xxx
954#   set "5V_min" xxx
955#   set "12V_min" xxx
956#   set Vccp2_min xxx
957#   set AIN1_min xxx
958#   set AIN2_min xxx
959#
960#   set AmbTemp_max xxx
961#   set Vccp1_max xxx
962#   set "3.3V_max" xxx
963#   set "5V_max" xxx
964#   set "12V_max" xxx
965#   set Vccp2_max xxx
966#   set AIN1_max xxx
967#   set AIN2_max xxx
968#
969#   set fan1_min xxx
970#   set fan2_min xxx
971#   set temp1_min xxx
972#   set temp1_max xxx
973#   set temp2_min xxx
974#   set temp2_max xxx
975#   set temp3_min xxx
976#   set temp3_max xxx
977#   set fan1_div xxx
978#   set fan2_div xxx
979
980#   compute "2.5V" xxx
981#   compute Vccp1 xxx
982#   compute "3.3V" xxx
983#   compute "5V" xxx
984#   compute "12V" xxx
985#   compute Vccp2 xxx
986#   compute AIN1 xxx
987#   compute AIN2 xxx
988#   compute temp1 xxx
989#   compute CPU_Temp xxx
990#   compute CPU2_Temp xxx
991
992
993chip "adm9240-*" "ds1780-*" "lm81-*"
994#
995# These chips have non-standard entries in lib/chips.c so
996# the feature names are quite different from other chips.
997# For these chips, libsensors anticipates the correct labeling.
998# This is great if it's correct but makes it a little more
999# difficult if you want to change it.
1000#
1001# This may not have been a good idea, so it may be changed in the future.
1002# Here is an entry with everything commented out so you can
1003# uncomment the appropriate line if you want to change it.
1004#
1005# Warning - feature names starting with a number must be enclosed
1006# with double quotes.
1007#
1008#   label "2.5V" "xxx"
1009#   label Vccp1 "xxx"
1010#   label "3.3V" "xxx"
1011#   label "5V" "xxx"
1012#   label "12V" "xxx"
1013#   label Vccp2 "xxx"
1014#   label fan1 "xxx"
1015#   label fan2 "xxx"
1016#   label temp "xxx"
1017#
1018#   set Vccp1_min xxx
1019#   set "2.5V_min" xxx
1020#   set "3.3V_min" xxx
1021#   set "5V_min" xxx
1022#   set "12V_min" xxx
1023#   set Vccp2_min xxx
1024#
1025#   set Vccp1_max xxx
1026#   set "2.5V_max" xxx
1027#   set "3.3V_max" xxx
1028#   set "5V_max" xxx
1029#   set "12V_max" xxx
1030#   set Vccp2_max xxx
1031#
1032#   set fan1_min xxx
1033#   set fan2_min xxx
1034#   set temp1_hyst xxx
1035#   set temp1_over xxx
1036#   set fan1_div xxx
1037#   set fan2_div xxx
1038
1039#   compute "2.5V" xxx
1040#   compute Vccp1 xxx
1041#   compute "3.3V" xxx
1042#   compute "5V" xxx
1043#   compute "12V" xxx
1044#   compute Vccp2 xxx
1045#   compute temp xxx
1046
1047chip "adm1024-*"
1048#
1049# These settings work for me, adjust for your system
1050#
1051    label fan1 "CPU1 fan"
1052    label fan2 "CPU2 fan"
1053    label temp "SYS Temp"
1054    label temp1 "CPU2 Temp"
1055    label temp2 "CPU1 Temp"
1056    ignore "2.5V" # This register is also used for temp2
1057    ignore "Vccp1"
1058    ignore "Vccp2"
1059
1060
1061chip "it87-*"
1062
1063# The values below have been tested on Asus CUSI, CUM motherboards.
1064
1065# Voltage monitors as advised in the It8705 data sheet
1066
1067    label in0 "VCore 1"
1068    label in1 "VCore 2"
1069    label in2 "+3.3V"
1070    label in3 "+5V"
1071    label in4 "+12V"
1072    label in5 "-12V"
1073    label in6 "-5V"
1074    label in7 "Stdby"
1075    label in8 "VBat"
1076
1077    set in0_min 1.5 * 0.95
1078    set in0_max 1.5 * 1.05
1079    set in1_min 2.4
1080    set in1_max 2.6
1081    set in2_min 3.3 * 0.95
1082    set in2_max 3.3 * 1.05
1083    set in3_min 5.0 * 0.95
1084    set in3_max 5.0 * 1.05
1085    set in4_min 12 * 0.95
1086    set in4_max 12 * 1.05
1087    set in5_min -12 * 0.95
1088    set in5_max -12 * 1.05
1089    set in6_min -5 * 0.95
1090    set in6_max -5 * 1.05
1091    set in7_min 5 * 0.95
1092    set in7_max 5 * 1.05
1093    set in8_min 3.0 * 0.80
1094    set in8_max 3.0 * 1.20
1095
1096    # vid is not monitored by IT8705F
1097    # and is not supported by driver at this time
1098    ignore  vid
1099
1100# For this family of chips the negative voltage equation is different from
1101# the lm78.  The chip uses two external resistor for scaling but one is
1102# tied to a positive reference voltage.  See ITE8705/12 datasheet (SIS950
1103# data sheet is wrong)
1104# Vs = (1 + Rin/Rf) * Vin - (Rin/Rf) * Vref.
1105# Vref = 4.096 volts, Vin is voltage measured, Vs is actual voltage.
1106    compute in2 (1 + 1)*@ ,       @/(1 + 1)
1107    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1108    compute in4 ((30/10) +1)*@  , @/((30/10) +1)
1109# The next two are negative voltages (-12 and -5).
1110# The following formulas must be used. Unfortunately the datasheet
1111# does not give recommendations for Rin, Rf, but we can back into
1112# them based on a nominal +2V input to the chip, together with a 4.096V Vref.
1113# Formula:
1114#    actual V = (Vmeasured * (1 + Rin/Rf)) - (Vref * (Rin/Rf))
1115#    For -12V input use Rin/Rf = 6.68
1116#    For -5V input use Rin/Rf = 3.33
1117# Then you can convert the forumula to a standard form like:
1118    compute in5 (7.67 * @) - 27.36  ,  (@ + 27.36) / 7.67
1119    compute in6 (4.33 * @) - 13.64  ,  (@ + 13.64) / 4.33
1120#
1121    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1122
1123# Temperature
1124
1125    label temp1       "Temp1/MB"
1126    set   temp1_over  40
1127    set   temp1_hyst  20
1128
1129    label temp2       "Temp2/CPU"
1130    set   temp2_over  45
1131    set   temp2_hyst  25
1132
1133#   ignore temp3
1134    label temp3       "Temp3"
1135    set   temp3_over  45
1136    set   temp3_hyst  25
1137
1138# Fans
1139
1140    set fan1_min 0
1141    set fan2_min 3000
1142    ignore fan3
1143
1144# The following is for the Inside Technologies 786LCD which uses either a
1145# IT8705F or a SIS950 for monitoring with the SIS630.
1146# You will need to load the it87 module as follows to select the correct
1147# temperature sensor type.
1148# modprobe it87 temp_type=0x31
1149# The sensors-detect program reports lm78 and a sis5595 and lists the it87 as
1150# a misdetect.  Don't do the modprobe for the lm78 or sis5595 as suggested.
1151#
1152# delete or comment out above it87 section and uncomment the following.
1153#chip "it87-*"
1154#    label in0 "VCore 1"
1155#    label in1 "VCore 2"
1156#    label in2 "+3.3V"
1157#    label in3 "+5V"
1158#    label in4 "+12V"
1159#    label in5 "3.3 Stdby"
1160#    label in6 "-12V"
1161#    label in7 "Stdby"
1162#    label in8 "VBat"
1163    # in0 will depend on your processor VID value, set to voltage specified in
1164    # bios setup screen
1165#    set in0_min 1.7 * 0.95
1166#    set in0_max 1.7 * 1.05
1167#    set in1_min 2.4
1168#    set in1_max 2.6
1169#    set in2_min 3.3 * 0.95
1170#    set in2_max 3.3 * 1.05
1171#    set in3_min 5.0 * 0.95
1172#    set in3_max 5.0 * 1.05
1173    # +- 12V are very poor tolerance on this board. Verified with voltmeter
1174#    set in4_min 12 * 0.90
1175#    set in4_max 12 * 1.10
1176#    set in5_min 3.3 * 0.95
1177#    set in5_max 3.3 * 1.05
1178#    set in6_max -12 * 0.90
1179#    set in6_min -12 * 1.10
1180#    set in7_min 5 * 0.95
1181#    set in7_max 5 * 1.05
1182    # vid not monitored by IT8705F
1183#    ignore  vid
1184
1185#    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1186#    compute in4 ((30/10) +1)*@  , @/((30/10) +1)
1187#    compute in6 (1+232/56)*@ - 4.096*232/56, (@ + 4.096*232/56)/(1+232/56)
1188#    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
1189    # Temperature
1190#    label temp1       "CPU Temp"
1191#    ignore temp2
1192#    ignore temp3
1193    # Fans
1194#    set fan1_min 3000
1195#    ignore fan2
1196#    ignore fan3
1197
1198chip "fscpos-*"
1199
1200#
1201#    values for the fujitsu siemens poseidon chip
1202#
1203# Temperature
1204
1205    label temp1       "Temp1/CPU"
1206    label temp2       "Temp2/MB"
1207    label temp3       "Temp2/AUX"
1208
1209# Fans
1210
1211    label  fan1       "Fan1"
1212    ignore  fan2     
1213    ignore  fan3   
1214
1215# Voltage
1216 
1217    label volt12      "+12V"
1218    label volt5       "+5V"
1219    label voltbatt    "+3.3V"
1220
1221chip "fscscy-*"
1222
1223#
1224#    values for the fujitsu siemens Scylla chip
1225#
1226# Temperature
1227
1228    label temp1       "Temp1/CPU0"
1229    label temp2       "Temp2/CPU1"
1230    label temp3       "Temp3/MB"
1231    label temp4       "Temp4/AUX"
1232
1233# Fans
1234
1235    label  fan1       "Fan1/CPU0"
1236    label  fan2       "Fan2/CPU0"
1237    label  fan3       "Fan3"
1238    label  fan4       "Fan4"
1239    label  fan5       "Fan5"
1240    label  fan6       "Fan6"
1241
1242# Voltage
1243
1244    label volt12      "+12V"
1245    label volt5       "+5V"
1246    label voltbatt    "+3.3V"
1247
1248
1249chip "pcf8591-*"
1250#
1251#    values for the Philips PCF8574 chip
1252#
1253# Analog inputs
1254
1255   ignore ain_conf
1256   set    ain_conf    0
1257   label  ch0         "Chan. 0"
1258   label  ch1         "Chan. 1"
1259   label  ch2         "Chan. 2"
1260   label  ch3         "Chan. 3"
1261
1262# Analog output
1263
1264   ignore aout_enable
1265   set    aout_enable 1
1266   label  aout        "Output"
1267   set    aout        0
1268
Note: See TracBrowser for help on using the browser.