root/lm-sensors/branches/lm-sensors-3.0.0/etc/sensors.conf.eg @ 5382

Revision 5382, 69.3 KB (checked in by khali, 5 years ago)

Fix typo.

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