root/lm-sensors/tags/V3-0-1/etc/sensors.conf.eg

Revision 5076, 69.8 kB (checked in by khali, 1 year ago)

sensors.conf.eg: Fix voltage value references in compute statements. The
measured voltage value are now named inX_input, not just inX, but the
default configuration file was not properly updated to reflect this. This
caused errors to be displayed by "sensors" for the g520sm, lm80 and pc87366
chips. Reported by Aurelien Jarno.

  • 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_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 'Unknown 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 #
63 # LABEL LINES
64 # -----------
65 # A label line describes what a certain feature stands for on your
66 # mainboard. Programs can retrieve these names and display them.
67 # If no label is specified for a certain feature, the default name
68 # (ie. 'fan1' for fan1) is used.
69 #
70 # These are as advised in the LM78 and LM79 data sheets, and used on most
71 # boards we have seen.
72 #
73 #       label in0 "VCore 1"
74 #       label in1 "VCore 2"
75 #       label in2 "+3.3V"
76 #       label in3 "+5V"
77 #       label in4 "+12V"
78 #       label in5 "-12V"
79 #       label in6 "-5V"
80 #
81 #
82 # COMPUTE LINES
83 # -------------
84 # A compute line describes how to scale a certain feature. There are
85 # two expressions in it: the first describes how the driver value must
86 # be translated to a user value, the second how a user value must be
87 # translated to a driver value. '@' is the value to operate on. You may
88 # refer to other readable features (like 'cpu0_vid * 1.05').
89 #
90 # The following operators are valid: + - * / ( ) ^ `
91 # ^ is e**x and ` is ln(x)
92 #
93 # Where it makes sense, compute lines are inherited by subfeatures.
94 # For example, the compute line for 'in0' is automatically applied to
95 # 'in0_min' and 'in0_max' as well.
96 #
97 #
98 # VOLTAGE COMPUTATION DETAILS
99 # ---------------------------
100 # Most voltage sensors in sensor chips have a range of 0 to 4.096 Volts.
101 # This is generally sufficient for the 3.3 and CPU (2.5V, for example)
102 # supply voltages, so the sensor chip reading is the actual voltage.
103 #
104 # Other supply voltages must be scaled with an external resistor network.
105 # The chip driver generally reports the 'raw' value 0 - 4.09 V, and the
106 # userspace application must convert this raw value to an actual voltage.
107 # The 'compute' lines provide this facility.
108 #
109 # Unfortunately the resistor values vary among motherboard types.
110 # Therefore you may have to adjust the computations in this file
111 # to match your motherboard.
112 #
113 # For positive voltages (in3, in4), two resistors are used, with the following
114 # formula (R1,R2: resistor values, Vs: read voltage, Vin: pin voltage)
115 #       R1 = R2 * (Vs/Vin - 1)
116 # For negative voltages (in5, in6) two resistors are used, with the following
117 # formula (Rin,Rf: resistor values, Vs: read voltage, Vin: pin voltage)
118 #       Rin = (Vs * Rf) / Vin
119 #
120 # Note: Some chips use a different formula, see it87 section for example.
121 #
122 # Here are the official LM78 and LM79 data sheet values.
123 #             Vs     R1,Rin   R2,Rf    Vin
124 #       in3   +5.0      6.8    10     +2.98
125 #       in4  +12.0     30      10     +3.00
126 #       in5  -12.0    240      60     +3.00
127 #       in6   -5.0    100      60     +3.00
128 #
129 # These would lead to these declarations:
130 #       compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
131 #       compute in4 ((30/10)+1)*@  ,  @/((30/10)+1)
132 #       compute in5 -(240/60)*@    ,  -@/(240/60)
133 #       compute in6 -(100/60)*@    ,  -@/(100/60)
134 #
135 # On almost any mainboard we have seen, the Winbond compute values lead to
136 # much better results, though.
137 #
138 #             Vs     R1,Rin   R2,Rf    Vin
139 #       in4  +12.0     28      10     +3.15
140 #       in5  -12.0    210      60.4   +3.45
141 #       in6   -5.0     90.9    60.4   +3.33
142 #
143 # These leads to these declarations:
144 #       compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
145 #       compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
146 #       compute in5 -(210/60.4)*@  ,  -@/(210/60.4)
147 #       compute in6 -(90.9/60.4)*@ ,  -@/(90.9/60.4)
148 #
149 # NOTE: On many motherboards, the -5V and -12V sensors are not connected.
150 # Add ignore lines so these readings will not be displayed. For example:
151 #       ignore in5
152 #       ignore in6
153 #
154 #
155 # TEMPERATURE COMPUTATION EXAMPLES
156 # --------------------------------
157 # There are two common ways to adjust temperature readings.
158 # One is to adjust by a constant. The other is to change the
159 # temperature sensor type.
160 #
161 # Add 5 degrees to temperature sensor 1:
162 #       compute temp1 @+5,@-5
163 #
164 # Sensor type adjustments (certain chips only):
165 #       set temp1_type 1    # PII/Celeron Diode
166 #       set temp1_type 2    # 3904 transistor
167 #       set temp1_type 3    # thermal diode
168 #       set temp1_type 4    # thermistor
169 #       set temp1_type 5    # AMD AMDSI
170 #       set temp1_type 6    # Intel PECI
171 #
172 # Often, a temperature sensor is disconnected; disable it with an ignore line:
173 #       ignore temp3
174 #
175 #
176 # SET LINES
177 # ---------
178 # Set statements set things like limits. Complete expressions can be
179 # used. Not everything can sensibly be set: setting 'in0', for example,
180 # is impossible! These settings are put through the compute translations;
181 # so if we specify '12.8' for in6, '3.2' will actually be written!
182 #
183 # Important note: In the 'sensors' program, these only take effect
184 # after running 'sensors -s'!!!
185 #
186 # Here are some examples:
187 #
188 #       set in0_max cpu0_vid*1.05
189 #       set in0_min cpu0_vid*0.95
190 #       set temp1_max 40
191 #       set temp1_max_hyst 37
192 #
193 # Think of tempx_max as 'alarm set' and tempx_max_hyst as 'alarm clear'
194 # thresholds. In most cases the 'max' value should be higher than
195 # the 'max_hyst' value by several degrees.
196 #
197 # All the set statements from this file are commented out by default.
198 # The reason is that the proper limits are highly system-dependent,
199 # and writing improper limits may have all sorts of weird effects,
200 # from beeping to CPU throttling to instant reboot. If you want to
201 # actually set the limits, remove the comment marks.
202 #
203 #
204 # IGNORE LINES
205 # ------------
206 # Ignore statements tell certain features are not wanted. As with compute
207 # statements, 'ignore in0' would also invalidate 'in0_max' and 'in0_min'.
208 # 'ignore' does not disable anything in the actual sensor chip; it
209 # simply prevents the user program from accessing that data.
210 #
211 #       ignore in0
212 #
213 #
214 # STATEMENT ORDER
215 # ---------------
216 # Statements can go in any order, EXCEPT that some statements depend
217 # on others. Dependencies could be either in the library or the driver.
218 # A 'compute' statement must go before a 'set' statement
219 # for the same feature or else the 'set' won't be computed correctly.
220 # This is a library dependency.
221 # A 'set fan1_div' statement must go before a 'set fan1_min' statement,
222 # because the driver uses the divisor in calculating the minimum.
223 #
224 #
225 # BUS LINES
226 # ---------
227 # There is one other feature: the 'bus' statement. An example is below.
228 #
229 #       bus "i2c-0" "SMBus PIIX4 adapter at e800"
230 #
231 # If we refer from now on to 'i2c-0' in 'chip' lines, this will run-time
232 # be matched to this bus. So even if the PIIX4 is called 'i2c-5' at that
233 # moment, because five other adapters were detected first, 'i2c-0' in
234 # the config file would always only match this physical bus. In the above
235 # config file, this feature is not needed; but the next lines would
236 # only affect the LM75 chips on the PIIX4 adapter:
237 #
238 #       chip "lm75-i2c-0-*"
239 #
240 # You can use "sensors --bus-list" to generate bus lines for your system.
241 #
242 #
243 # BEEPS
244 # -----
245 # Some chips support alarms with beep warnings. When an alarm is triggered
246 # you can be warned by a beeping signal through your computer speaker. It
247 # is possible to enable beeps for all alarms on a chip using the following
248 # line:
249 #
250 #       set beep_enable 1
251 #
252 # or disable them using:
253 #
254 #       set beep_enable 0
255 #
256 #
257 ##########################################################################
258 #### Here begins the real configuration file
259
260
261 chip "lm78-*" "lm79-*" "w83781d-*"
262
263 # These are as advised in the LM78 and LM79 data sheets, and used on almost
264 # any mainboard we have seen.
265
266     label in0 "VCore 1"
267     label in1 "VCore 2"
268     label in2 "+3.3V"
269     label in3 "+5V"
270     label in4 "+12V"
271     label in5 "-12V"
272     label in6 "-5V"
273
274 # For positive voltages (in3, in4), two resistors are used, with the following
275 # formula (R1,R2: resistor values, Vs: read voltage, Vin: pin voltage)
276 #   R1 = R2 * (Vs/Vin - 1)
277 # For negative voltages (in5, in6) two resistors are used, with the following
278 # formula (Rin,Rf: resistor values, Vs: read voltage, Vin: pin voltage)
279 #   Rin = (Vs * Rf) / Vin
280 #
281 # Here are the official LM78 and LM79 data sheet values.
282 #       Vs     R1,Rin   R2,Rf    Vin
283 # in3   +5.0      6.8    10     +2.98
284 # in4  +12.0     30      10     +3.00
285 # in5  -12.0    240      60     +3.00
286 # in6   -5.0    100      60     +3.00
287 #
288 # These would lead to these declarations:
289 # compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
290 # compute in4 ((30/10)+1)*@  ,  @/((30/10)+1)
291 # compute in5 -(240/60)*@    ,  -@/(240/60)
292 # compute in6 -(100/60)*@    ,  -@/(100/60)
293 #
294 # On almost any mainboard we have seen, the Winbond compute values lead to
295 # much better results, though.
296 #
297 #       Vs     R1,Rin   R2,Rf    Vin
298 # in4  +12.0     28      10     +3.15
299 # in5  -12.0    210      60.4   +3.45
300 # in6   -5.0     90.9    60.4   +3.33
301 #
302 # These leads to these declarations:
303
304     compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
305     compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
306     compute in5 -(210/60.4)*@  ,  -@/(210/60.4)
307     compute in6 -(90.9/60.4)*@ ,  -@/(90.9/60.4)
308
309 # Here, we assume the VID readings are valid, and we use a max. 5% deviation
310
311 #    set in0_min cpu0_vid*0.95
312 #    set in0_max cpu0_vid*1.05
313 #    set in1_min cpu0_vid*0.95
314 #    set in1_max cpu0_vid*1.05
315 #    set in2_min 3.3 * 0.95
316 #    set in2_max 3.3 * 1.05
317 #    set in3_min 5.0 * 0.95
318 #    set in3_max 5.0 * 1.05
319 #    set in4_min 12 * 0.95
320 #    set in4_max 12 * 1.05
321 #    set in5_min -12 * 0.95
322 #    set in5_max -12 * 1.05
323 #    set in6_min -5 * 0.95
324 #    set in6_max -5 * 1.05
325
326 # Examples for lm78, lm79 temperature limits
327 #    set temp1_max      40
328 #    set temp1_max_hyst 37
329
330 # Examples for w83781d temperature limits
331 #    set temp1_max      40
332 #    set temp1_max_hyst 37
333 #    set temp2_max      52
334 #    set temp2_max_hyst 47
335 #    set temp3_max      52
336 #    set temp3_max_hyst 47
337
338 # Examples of fan low speed limits
339 #    set fan1_min 3000
340 #    set fan2_min 3000
341 #    set fan3_min 3000
342
343 # Ignore fans you don't actually have
344 #    ignore fan1
345 #    ignore fan2
346 #    ignore fan3
347
348 # In case a lm78 is used together with a lm75, the lm78 temp sensor will
349 # generally show the M/B temperature while the lm75 temp sensor will show
350 # the CPU temperature.
351 #    label temp1 "M/B Temp"
352
353 # Uncomment the following line to enable beeps for all alarms on this chip
354 #    set beep_enable 1
355
356
357
358 chip "lm75-*"
359
360 # Most boards don't need scaling. Following is for the Asus TX97-E.
361 #   compute temp1 @*2.0, @/2.0
362
363 # Examples for temperature limits
364 #    set temp1_max      70
365 #    set temp1_max_hyst 65
366
367 # In case a lm75 is used together with a lm78, the lm78 temp sensor will
368 # generally show the M/B temperature while the lm75 temp sensor will show
369 # the CPU temperature.
370 #    label temp1 "CPU Temp"
371
372
373 chip "sis5595-*"
374
375     label in0 "VCore 1"
376     label in1 "VCore 2"
377     label in2 "+3.3V"
378     label in3 "+5V"
379     label in4 "+12V"
380
381     compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
382     compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
383
384 #    set in0_min 2.0 * 0.95
385 #    set in0_max 2.0 * 1.05
386 #    set in1_min 2.0 * 0.95
387 #    set in1_max 2.0 * 1.05
388 #    set in2_min 3.3 * 0.95
389 #    set in2_max 3.3 * 1.05
390 #    set in3_min 5.0 * 0.95
391 #    set in3_max 5.0 * 1.05
392 #    set in4_min 12 * 0.95
393 #    set in4_max 12 * 1.05
394
395 #
396 # SiS5595 temperature calculation
397 # The driver currently includes a calculation due to the wide
398 # variation in thermistor types on SiS5595 motherboards.
399 # The driver currently has a calculation of t = (.83x + 52.12).
400 # One user reports the correct formula of t = (.345x - 12).
401 # So you want to put a compute line in sensors.conf that has
402 # the inverse of the driver formula, and put your formula on top of it.
403 # The inverse of the driver formula is x = (1.20t - 62.77)
404 # So the final formula is newt = (.345(1.20t - 62.77)) - 12).
405 # Put this in the sensors.conf file as
406 # compute temp1 ((.345 * ((1.20 * @) - 62.77)) - 12), ...
407 # where ... is the inverse function I leave to you.
408 #
409 # Look in your 'Vendor.ini' file to see which one is present
410 # on your motherboard. Look for the line like:
411 #       [Temp1]
412 #            ThermistorType     = NTC-10KC15-1608-1P
413 # Fix up a 'compute' line to match your thermistor type.
414 # Warning. You still don't have enough information to do this.
415 #            ThermistorType     = NTC-10KC15-1608-1P (10K at 25C; Beta = 3435)
416 #   compute temp1 ((X * ((1.20 * @) - 62.77)) - Y), ...
417 #            ThermistorType     = NTC-103KC15-1608-1P  (??)
418 #   compute temp1 ((X * ((1.20 * @) - 62.77)) - Y), ...
419 #            ThermistorType     = NTC-103AT-2 (10K at 25C; Beta = 3435)
420 #   compute temp1 ((X * ((1.20 * @) - 62.77)) - Y), ...
421 #            ThermistorType     = NTC-103JT   (10K at 25C; Beta = 3435)
422 #   compute temp1 ((X * ((1.20 * @) - 62.77)) - Y), ...
423
424 # examples for sis5595 temperature limits;
425 #    set temp1_max      40
426 #    set temp1_max_hyst 37
427
428
429 chip "w83782d-*" "w83627hf-*"
430
431 # Same as above for w83781d except that in5 and in6 are computed differently.
432 # Rather than an internal inverting op amp, the 82d/83s use standard positive
433 # inputs and the negative voltages are level shifted by a 3.6V reference.
434 # The math is convoluted, so we hope that your motherboard
435 # uses the recommended resistor values.
436
437     label in0 "VCore 1"
438     label in1 "VCore 2"
439     label in2 "+3.3V"
440     label in3 "+5V"
441     label in4 "+12V"
442     label in5 "-12V"
443     label in6 "-5V"
444     label in7 "V5SB"
445     label in8 "VBat"
446
447 # Abit BP6 motherboard has a few differences. VCore1 and VCore2 are the core
448 # voltages of the two processors. Vtt is memory bus termination resistors
449 # voltage.
450 #    label in1 "Vtt"
451 #    label in8 "VCore2"
452
453     compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
454     compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
455     compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
456     compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
457     compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
458
459 # set limits to  5% for the critical voltages
460 # set limits to 10% for the non-critical voltages
461 # set limits to 20% for the battery voltage
462
463 #    set in0_min cpu0_vid*0.95
464 #    set in0_max cpu0_vid*1.05
465 #    set in1_min cpu0_vid*0.95
466 #    set in1_max cpu0_vid*1.05
467 #    set in2_min 3.3 * 0.95
468 #    set in2_max 3.3 * 1.05
469 #    set in3_min 5.0 * 0.95
470 #    set in3_max 5.0 * 1.05
471 #    set in4_min 12 * 0.90
472 #    set in4_max 12 * 1.10
473 #    set in5_max -12 * 0.90
474 #    set in5_min -12 * 1.10
475 #    set in6_max -5 * 0.95
476 #    set in6_min -5 * 1.05
477 #    set in7_min 5 * 0.95
478 #    set in7_max 5 * 1.05
479 #    set in8_min 3.0 * 0.80
480 #    set in8_max 3.0 * 1.20
481
482 # set up sensor types (thermistor is default)
483 # 1 = PII/Celeron Diode; 2 = 3904 transistor;
484 # 3435 = thermistor with Beta = 3435
485 # If temperature changes very little, try 1 or 2.
486 #   set temp1_type 1
487 #   set temp2_type 2
488 #   set temp3_type 3435
489
490 # examples for temperature limits
491 #    set temp1_max      40
492 #    set temp1_max_hyst 37
493 #    set temp2_max      52
494 #    set temp2_max_hyst 47
495 #    set temp3_max      52
496 #    set temp3_max_hyst 47
497
498
499 chip "w83783s-*"
500
501 # Same as above for w83781d except that in5 and in6 are computed differently.
502 # Rather than an internal inverting op amp, the 82d/83s use standard positive
503 # inputs and the negative voltages are level shifted by a 3.6V reference.
504 # The math is convoluted, so we hope that your motherboard
505 # uses the recommended resistor values.
506
507     label in0 "VCore 1"
508     label in2 "+3.3V"
509     label in3 "+5V"
510     label in4 "+12V"
511     label in5 "-12V"
512     label in6 "-5V"
513
514     compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
515     compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
516     compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
517     compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
518
519 # set limits to  5% for the critical voltages
520 # set limits to 10% for the non-critical voltages
521 # set limits to 20% for the battery voltage
522
523 #   set in0_min cpu0_vid*0.95
524 #   set in0_max cpu0_vid*1.05
525 #   set in2_min 3.3 * 0.95
526 #   set in2_max 3.3 * 1.05
527 #   set in3_min 5.0 * 0.95
528 #   set in3_max 5.0 * 1.05
529 #   set in4_min 12 * 0.90
530 #   set in4_max 12 * 1.10
531 #   set in5_max -12 * 0.90
532 #   set in5_min -12 * 1.10
533 #   set in6_max -5 * 0.95
534 #   set in6_min -5 * 1.05
535
536 # set up sensor types (thermistor is default)
537 # 1 = PII/Celeron Diode; 2 = 3904 transistor;
538 # 3435 = thermistor with Beta = 3435
539 # If temperature changes very little, try 1 or 2.
540 #   set temp1_type 1
541 #   set temp2_type 2
542
543 # examples for temperature limits
544 #    set temp1_max      40
545 #    set temp1_max_hyst 37
546 #    set temp2_max      52
547 #    set temp2_max_hyst 47
548
549
550 chip "w83697hf-*"
551
552 # Same as above for w83781d except that in5 and in6 are computed differently.
553 # Rather than an internal inverting op amp, the 82d/83s use standard positive
554 # inputs and the negative voltages are level shifted by a 3.6V reference.
555 # The math is convoluted, so we hope that your motherboard
556 # uses the recommended resistor values.
557
558 # no in1 on this chip.
559
560     label in0 "VCore"
561     label in2 "+3.3V"
562     label in3 "+5V"
563     label in4 "+12V"
564     label in5 "-12V"
565     label in6 "-5V"
566     label in7 "V5SB"
567     label in8 "VBat"
568
569 # Tyan Trinity S2495 KT400 has a few differences. Thanks to Eric Schumann
570 # for proving this information. Same is true for Epox 8K3A and 8KHA+.
571 # Thanks to Thomas Schorpp for additional feedback.
572 #    label in2 "VAgp"
573 #    label in5 "+3.3V" # aka. Vio
574 #    label in6 "Vdimm"
575 #    label in7 "VBat"
576 #    label in8 "V5SB"
577 #
578 # You'll also want to comment out the in5 and in6 compute lines right below,
579 # and rename compute in7 to compute in8.
580
581     compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
582     compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
583     compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
584     compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
585     compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
586
587 # 697HF does not have VID inputs so you MUST set your core
588 # voltage limits below. Currently set for 1.8V core.
589 #               vvv
590
591 #   set in0_min 1.8 * 0.95
592 #   set in0_max 1.8 * 1.05
593
594 #   set in2_min 3.3 * 0.95
595 #   set in2_max 3.3 * 1.05
596 #   set in3_min 5.0 * 0.95
597 #   set in3_max 5.0 * 1.05
598 #   set in4_min 12 * 0.90
599 #   set in4_max 12 * 1.10
600 #   set in5_max -12 * 0.90
601 #   set in5_min -12 * 1.10
602 #   set in6_max -5 * 0.95
603 #   set in6_min -5 * 1.05
604 #   set in7_min 5 * 0.95
605 #   set in7_max 5 * 1.05
606 #   set in8_min 3.0 * 0.80
607 #   set in8_max 3.0 * 1.20
608
609 # And for Tyan Trinity S2495 KT400 and Epox 8K3A and 8KHA+:
610 #    set in2_min 1.5 * 0.95
611 #    set in2_max 1.5 * 1.05
612 #    set in5_min 3.3 * 0.95
613 #    set in5_max 3.3 * 1.05
614 #    set in6_min 2.5 * 0.95 # 2.6 on Epox
615 #    set in6_max 2.5 * 1.05 # 2.6 on Epox
616 #    set in7_min 3.0 * 0.90
617 #    set in7_max 3.0 * 1.10
618 #    set in8_min 5 * 0.90
619 #    set in8_max 5 * 1.10
620
621 # set up sensor types (thermistor is default)
622 # 1 = PII/Celeron Diode; 2 = 3904 transistor;
623 # 3435 = thermistor with Beta = 3435
624 # If temperature changes very little, try 1 or 2.
625 #   set temp1_type 1
626 #   set temp2_type 2
627 #   set temp3_type 3435
628
629 # examples for temperature limits
630 #    set temp1_max      40
631 #    set temp1_max_hyst 37
632 #    set temp2_max      52
633 #    set temp2_max_hyst 47
634
635
636 chip "w83627thf-*" "w83637hf-*"
637
638 # Rather than an internal inverting op amp, the 627thf uses standard positive
639 # inputs and the negative voltages are level shifted by a 3.6V reference
640 # (same as 82d/83s).
641 # The math is convoluted, so we hope that your motherboard
642 # uses the recommended resistor values.
643 # Note that in1 (+12V) is the usual in4, and in4 (-12V) is the usual in5.
644 # Data sheet is obviously wrong for in4, the usual formula should work.
645 # No in5 nor in6.
646
647     label in0 "VCore"
648     label in1 "+12V"
649     label in2 "+3.3V"
650     label in3 "+5V"
651     label in4 "-12V"
652     label in7 "V5SB"
653     label in8 "VBat"
654
655 # Mori Hiroyuki reported to need this (P4P800)
656 #   compute in0 @/2, @*2
657
658     compute in1 ((28/10)+1)*@, @/((28/10)+1)
659     compute in3 ((34/51)+1)*@, @/((34/51)+1)
660     compute in4 (5.14*@)-14.91, (@+14.91)/5.14
661     compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
662
663 # set limits to  5% for the critical voltages
664 # set limits to 10% for the non-critical voltages
665 # set limits to 20% for the battery voltage
666 # if your vid is wrong, you'll need to adjust in0_min and in0_max
667
668 #   set in0_min cpu0_vid * 0.95
669 #   set in0_max cpu0_vid * 1.05
670 #   set in1_min 12 * 0.90
671 #   set in1_max 12 * 1.10
672 #   set in2_min 3.3 * 0.95
673 #   set in2_max 3.3 * 1.05
674 #   set in3_min 5.0 * 0.95
675 #   set in3_max 5.0 * 1.05
676 #   set in4_min -12 * 1.10
677 #   set in4_max -12 * 0.90
678 #   set in7_min 5 * 0.95
679 #   set in7_max 5 * 1.05
680 #   set in8_min 3.0 * 0.80
681 #   set in8_max 3.0 * 1.20
682
683 # set up sensor types (thermistor is default)
684 # 1 = PII/Celeron Diode; 2 = 3904 transistor;
685 # 3435 = thermistor with Beta = 3435
686 # If temperature changes very little, try 1 or 2.
687 #   set temp1_type 1
688 #   set temp2_type 2
689 #   set temp3_type 3435
690
691     label temp1 "M/B Temp"
692     label temp2 "CPU Temp"
693 #   ignore temp3
694
695 # examples for temperature limits
696 #    set temp1_max      40
697 #    set temp1_max_hyst 37
698 #    set temp2_max      52
699 #    set temp2_max_hyst 47
700 #    set temp3_max      52
701 #    set temp3_max_hyst 47
702
703 #   ignore fan1
704     label fan2 "CPU Fan"
705 #   ignore fan3
706
707
708 # Here are configurations for Winbond W83792AD/D chip.
709 chip "w83792d-*"
710
711     label in0 "VCoreA"
712     label in1 "VCoreB"
713     label in2 "VIN0"
714     label in3 "VIN1"
715     label in4 "VIN2"
716     label in5 "VIN3"
717     label in6 "5VCC"
718     label in7 "5VSB"
719     label in8 "VBAT"
720     label fan1 "Fan1"
721     label fan2 "Fan2"
722     label fan3 "Fan3"
723     label fan4 "Fan4"
724     label fan5 "Fan5"
725     label fan6 "Fan6"
726     label fan7 "Fan7"
727     label temp1 "Temp1"
728     label temp2 "Temp2"
729     label temp3 "Temp3"
730
731 #    set in0_min 1.4
732 #    set in0_max 1.6
733 #    set in1_min 1.4
734 #    set in1_max 1.6
735 #    set in2_min 3.2
736 #    set in2_max 3.4
737 #    set in3_min 3.1
738 #    set in3_max 3.3
739 #    set in4_min 1.4
740 #    set in4_max 1.5
741 #    set in5_min 2.6
742 #    set in5_max 2.65
743 #    set in6_min 5 * 0.95
744 #    set in6_max 5 * 1.05
745 #    set in7_min 5 * 0.95
746 #    set in7_max 5 * 1.05
747 #    set in8_min 3 * 0.95
748 #    set in8_max 3 * 1.05
749
750 # fan1 adjustments examples
751
752 #   set fan1_div 4
753 #   set fan1_min 1500
754
755 # temp2 limits examples
756
757 #    set temp2_max      42
758 #    set temp2_max_hyst 37
759
760 # ignore examples
761
762 #    ignore fan7
763 #    ignore temp3
764
765
766 # Here are configurations for Winbond W83793 chip.
767 chip "w83793-*"
768
769     label in0 "VCoreA"
770     label in1 "VCoreB"
771     label in2 "Vtt"
772     label in5 "+3.3V"
773     label in6 "+12V"
774     label in7 "+5V"
775     label in8 "5VSB"
776     label in9 "VBAT"
777
778     compute in6 12*@ ,  @/12
779
780     label temp1 "CPU1 Temp"
781     label temp2 "CPU2 Temp"
782
783 # fan1 adjustments examples
784
785 #   set fan1_min 1500
786
787 # temp2 limits examples
788
789 #   set temp2_max       45
790 #   set temp2_max_hyst  40
791
792 # ignore examples
793
794 #    ignore fan7
795 #    ignore temp3
796
797
798 chip "as99127f-*"
799
800 # Asus won't release a datasheet so this is guesswork.
801 # Thanks to Guntram Blohm, Jack, Ed Harrison, Artur Gawryszczak,
802 # Victor G. Marimon and others for their feedback.
803
804 # Dual power plane
805     label in0 "VCore 1"
806     label in1 "VCore 2"
807 # Single power plane (A7V133, A7M266, CUV4X)
808 #   label in0 "VCore"
809 #   ignore in1
810
811     label in2 "+3.3V"
812     label in3 "+5V"
813     label in4 "+12V"
814 # These last two may not make sense on all motherboards.
815     label in5 "-12V"
816     label in6 "-5V"
817
818     compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
819     compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
820 # AS99127F rev.1 (same as w83781d)
821     compute in5 -(240/60.4)*@ ,  -@/(240/60.4)
822     compute in6 -(90.9/60.4)*@ ,  -@/(90.9/60.4)
823 # AS99127F rev.2 (same as w83782d)
824 #   compute in5 (5.14 * @) - 14.91 , (@ + 14.91) / 5.14
825 #   compute in6 (3.14 * @) -  7.71 , (@ +  7.71) / 3.14
826
827 # Depending on your motherboard, you may have to use any of two formulae
828 # for temp2. Quoting Artur Gawryszczak (edited to reflect subsequent fixes
829 # to the driver):
830 # "I guess, that the formula "(@*15/43)+25, (@-25)*43/15" is correct
831 # for those Asus motherboards, which get CPU temperature from internal
832 # thermal diode (Pentium Coppermine, and above), while no formula is needed
833 # for Athlon/Duron boards, which use a thermistor in the socket."
834 # An alternative formula was then found and reported by Victor G. Marimon.
835
836 # Asus A7V133, Asus A7M266
837 #   No compute line is needed
838 # Asus CUV4X, Asus A7V8X
839 #   compute temp2 (@*15/43)+25, (@-25)*43/15
840 # Asus CUSL2, Asus CUV266-DLS, Asus TUSL2-C
841 #   compute temp2 (@*30/43)+25, (@-25)*43/30
842
843 # See comments above if temp3 looks bad. What works for temp2 is likely
844 # to work for temp3 for dual-CPU boards, such as the CUV4X-D.
845
846 # Most Asus boards have temperatures settled like that:
847     label temp1 "M/B Temp"
848     label temp2 "CPU Temp"
849 # However, some boards have them swapped (A7N8X Deluxe rev.2,
850 # A7N8X-E Deluxe rev.2, CUV4X):
851 #   label temp1 "CPU Temp"
852 #   label temp2 "M/B Temp"
853
854 # Most boards have no temp3 by default, except for dual-CPU boards.
855 #   label temp3 "CPU 2 Temp"
856 #   ignore temp3
857
858 # set limits to  5% for the critical voltages
859 # set limits to 10% for the non-critical voltages
860 # set limits to 20% for the battery voltage
861
862 #    set in0_min cpu0_vid*0.95
863 #    set in0_max cpu0_vid*1.05
864 #    set in1_min cpu0_vid*0.95
865 #    set in1_max cpu0_vid*1.05
866 #    set in2_min 3.3 * 0.95
867 #    set in2_max 3.3 * 1.05
868 #    set in3_min 5.0 * 0.95
869 #    set in3_max 5.0 * 1.05
870 #    set in4_min 12 * 0.90
871 #    set in4_max 12 * 1.10
872 #    set in5_min -12 * 0.90
873 #    set in5_max -12 * 1.10
874 #    set in6_min -5 * 0.95
875 #    set in6_max -5 * 1.05
876
877 # examples for temperature limits
878 #    set temp1_max      40
879 #    set temp1_max_hyst 37
880 #    set temp2_max      52
881 #    set temp2_max_hyst 47
882 #    set temp3_max      52
883 #    set temp3_max_hyst 47
884
885
886 chip "gl518sm-*"
887
888 # IMPORTANT: in0, in1, and in2 values (+5, +3, and +12) CANNOT be read
889 #
890 # Factors and labels taken from GL518SM datasheet, they seem to give
891 # reasonable values with EISCA connected Fan78
892
893   label in0 "+5V"
894   label in1 "+3.3V"
895   label in2 "+12V"
896   label in3 "Vcore"
897
898 # in2 depends on external resistors (4,7k and 15k assumed here)
899 # in1 and in3 require no scaling
900
901   compute in2 (197/47)*@  ,  @/(197/47)
902
903 #  set in0_min 4.8
904 #  set in0_max 5.2
905 #  set in1_min 3.20
906 #  set in1_max 3.40
907 #  set in2_min 11.0
908 #  set in2_max 13.0
909 #  set in3_min 2.10
910 #  set in3_max 2.30
911 #  set fan2_min 0
912
913
914 chip "gl520sm-*"
915
916 # Factors and labels taken from GL520SM datasheet
917
918 # The GL520SM has two application modes. In mode 1 it has two thermistor
919 # inputs, in mode 2 it has only one and an extra (negative) voltage input.
920 # The mode is supposed to be set properly by your BIOS so you should not
921 # need to change it. Note that you have either temp2 or in4, not both.
922
923   label in0 "+5V"
924   label in1 "+3.3V"
925   label in2 "+12V"
926   label in3 "Vcore"
927   label in4 "-12V"
928
929 # in1 and in3 require no scaling
930 # in2 depends on external resistors (4,7k and 15k assumed)
931
932 # in4 = ((R1+R2)/R2)*@ - (R1/R2)*vdd
933 #
934 #       -12 --| R1 |---t---| R2 |-- +5
935 #                      |
936 #                    vin4
937 #
938
939   compute in2 (197/47)*@  ,  @/(197/47)
940   compute in4 (5*@)-(4*in0_input) , (@+4*in0_input)/5
941
942 #  set in0_min 4.8
943 #  set in0_max 5.2
944 #  set in1_min 3.20
945 #  set in1_max 3.40
946 #  set in2_min 11.0
947 #  set in2_max 13.0
948 #  set in3_min 2.10
949 #  set in3_max 2.30
950
951
952 chip "lm80-*"
953
954 # The values below should be correct if you own a qdi BX (brilliant1)
955 # mainboard. Many thanks go to Peter T. Breuer for helping us figure
956 # out how to handle the LM80.
957
958 # For positive voltages (in0..in4), two resistors are used, with the following
959 # formula (R1,R2: resistor values, Vs: read voltage, Vin: pin voltage)
960 #   R1 = R2 * (Vs/Vin - 1)
961 # For negative voltages (in5, in6) two resistors are used, with the following
962 # formula (R3,R4: resistor values, Vs: read voltage, Vin: pin voltage,
963 # V5: +5V)
964 #   R3 = R4 * (Vs - Vin) / (Vin - V5)
965
966 # Here are the official LM80 data sheet values.
967 #       Vs      R1,R3   R2,R4    Vin
968 #       +2.5V    23.7    75     +1.9
969 #       +3.3V    22.1    30     +1.9
970 #       +5.0     24      14.7   +1.9
971 #      +12.0    160      30.1   +1.9
972 #      -12.0    160      35.7   +1.9
973 #       -5.0     36      16.2   +1.9
974
975 # Now curiously enough, VCore is connected with (unknown) resistors, which
976 # translate a +2.8V to +1.9V. So we use that in the computations below.
977
978     label in0 "+5V"
979     label in1 "VTT"
980     label in2 "+3.3V"
981     label in3 "+Vcore"
982     label in4 "+12V"
983     label in5 "-12V"
984     label in6 "-5V"
985
986     compute in0 (24/14.7 + 1) * @ ,       @ / (24/14.7 + 1)
987     compute in2 (22.1/30 + 1) * @ ,       @ / (22.1/30 + 1)
988     compute in3 (2.8/1.9) * @,            @ * 1.9/2.8
989     compute in4 (160/30.1 + 1) * @,       @ / (160/30.1 + 1)
990     compute in5 (160/35.7)*(@ - in0_input) + @, (@ + in0_input * 160/35.7)/ (1 + 160/35.7)
991     compute in6 (36/16.2)*(@ - in0_input) + @,  (@ + in0_input * 36/16.2) / (1 + 36/16.2)
992
993 #    set in0_min 5 * 0.95
994 #    set in0_max 5 * 1.05
995 # What is your VTT? It is probably not this value...
996 #    set in1_min 2*0.95
997 #    set in1_max 2*1.05
998 #    set in2_min 3.3 * 0.95
999 #    set in2_max 3.3 * 1.05
1000 # What is your VCore? It is probably not this value...
1001 #    set in3_min 1.9 * 0.95
1002 #    set in3_max 1.9 * 1.05
1003 #    set in4_min 12 * 0.95
1004 #    set in4_max 12 * 1.05
1005 #    set in5_min -12 * 1.05
1006 #    set in5_max -12 * 0.95
1007 #    set in6_min -5 * 1.05
1008 #    set in6_max -5 * 0.95
1009
1010 # All 4 of these limits apply to the single temperature sensor.
1011 # "crit" may or may not do anything on your motherboard but it should
1012 #  be set higher than the "max" thresholds.
1013 #    set temp1_max_hyst   45
1014 #    set temp1_max        52
1015 #    set temp1_crit_hyst  57
1016 #    set temp1_crit       62
1017
1018
1019 chip "via686a-*"
1020
1021 # VIA is very specific about the voltage sensor inputs, and our labels
1022 # reflect what they say.  Unfortunately, they are not at all specific about
1023 # how to convert any of the register values to real units.  Fortunately,
1024 # Jonathan Yew and Alex van Kaam came through with some data for temp
1025 # conversion and formulae for voltage conversion. However, the conversions
1026 # should be regarded as our best guess - YMMV.
1027
1028 # On the Tyan S1598, the 2.5V sensor reads 0 and is not displayed in the BIOS.
1029 # Linas Vepstas reports that this sensor shows nothing of
1030 # interest on the Abit KA7 (Athlon), and is also not displayed in the BIOS.
1031 # Likewise, Johannes Drechsel-Burkhard reports that this
1032 # sensor is unavailable in the BIOS of his MSI K7T Pro (Thunderbird).  So,
1033 # if you have one of these boards you may want to uncomment the 'ignore in1'
1034 # line below.
1035
1036     label in0 "CPU core"
1037     label in1 "+2.5V"
1038     #ignore in1
1039     label in2 "I/O"
1040     label in3 "+5V"
1041     label in4 "+12V"
1042
1043     label fan1  "CPU Fan"
1044     label fan2  "P/S Fan"
1045
1046 # VIA suggests that temp3 is an internal temp sensor for the 686a.  However,
1047 # on the Tyan S1598 as well as the Abit KA7 (Athalon), the absolute values
1048 # of the readings from that sensor are not valid.  The readings do seem to
1049 # correlate with temp changes, but the conversion factor may be quite
1050 # different from temp1 & temp2 (as noted above, VIA has not provided
1051 # conversion info).  So, you may wish to 'ignore temp3'.
1052
1053 # Johannes Drechsel-Burkhard notes that on his MSI K7T Pro,
1054 # temp1 is the CPU temp and temp2 is the SYS temp. Hugo van der Merwe notes
1055 # the same for his Gigabyte GA-7DXC, Olivier Martin for his Gigabyte
1056 # GA-7ZM and Patrick Thomson for his Chaintech CT-5ATA.
1057 # Thomas Anglmaier notes: on Epox EP-7kxa temp2 is CPU and temp1 is SYS.
1058
1059     label temp1 "SYS Temp"
1060     label temp2 "CPU Temp"
1061     label temp3 "SBr Temp"
1062     #ignore temp3
1063
1064 # Set your CPU core limits here if the BIOS did not.
1065
1066     #set in0_min 1.70 * 0.95
1067     #set in0_max 1.70 * 1.05
1068
1069 # Other voltage values are standard so we can enforce the limits.
1070
1071 #    set in1_min 2.5 * 0.95
1072 #    set in1_max 2.5 * 1.05
1073 #    set in2_min 3.3 * 0.95
1074 #    set in2_max 3.3 * 1.05
1075 #    set in3_min 5 * 0.9
1076 #    set in3_max 5 * 1.1
1077 #    set in4_min 12 * 0.9
1078 #    set in4_max 12 * 1.1
1079
1080 # Set your temp limits here.  Remember, 'tempX_max' is the temp at which an
1081 # alarm is triggered, and 'tempX_max_hyst' is the temp at which an alarm turns off.
1082 # Setting tempX_max_hyst to a few degrees below the corresponding tempX_max
1083 # prevents an oscillation between alarm on and off states.  This kind of
1084 # oscillation is known as hyteresis, thus the name.  (You typically get the
1085 # most serious and troublesome hysteresis when a sensor triggers something to
1086 # reduce the temp, thus creating a negative feedback loop.  Even without that,
1087 # we would still get some oscillation when the temp hovers around the limit
1088 # due to noise.)
1089
1090 #    set temp1_max_hyst 40
1091 #    set temp1_max      45
1092 #    set temp2_max_hyst 55
1093 #    set temp2_max      60
1094 #    set temp3_max_hyst 60
1095 #    set temp3_max      65
1096
1097 # You could set your fan limits too, but the defaults should be fine.
1098
1099     #set fan1_min 5000
1100     #set fan2_min 5000
1101
1102
1103 chip "adm1025-*" "ne1619-*"
1104
1105 # The ADM1025 has integrated scaling resistors, rather
1106 # than external resistors common to most sensor devices.
1107 # These apply to the 6 voltage inputs in0-in5 (+2.5V, VCore,
1108 # +3.3V, +5V, +12V, VCC). As the scaling is fixed inside
1109 # the chip for these inputs, it is fairly certain that the
1110 # motherboard connections match these labels, and that the
1111 # driver computations are correct. Therefore they do not need to
1112 # be overridden here.
1113
1114     label in0 "+2.5V"
1115     label in1 "VCore"
1116     label in2 "+3.3V"
1117     label in3 "+5V"
1118     label in4 "+12V"
1119     label in5 "VCC"
1120
1121 # Tolerate a 5% deviance for CPU power-supply
1122 #    set in1_min cpu0_vid * 0.95
1123 #    set in1_max cpu0_vid * 1.05
1124 # Tolerate a 10% deviance for other voltages
1125 #    set in0_min 2.5 * 0.90
1126 #    set in0_max 2.5 * 1.10
1127 #    set in2_min 3.3 * 0.90
1128 #    set in2_max 3.3 * 1.10
1129 #    set in3_min 5.0 * 0.90
1130 #    set in3_max 5.0 * 1.10
1131 #    set in4_min 12 * 0.90
1132 #    set in4_max 12 * 1.10
1133 #    set in5_min 3.3 * 0.90
1134 #    set in5_max 3.3 * 1.10
1135
1136 # Depending on how your chipset is hardwired, you may or may not have
1137 # +12V readings (will show as 0.0V if you don't have it).
1138 #   ignore in4
1139
1140 # VCC is the power-supply voltage of the ADM1025 chipset, generally
1141 # redundant with +3.3V so you may want to hide it.
1142 #   ignore in5
1143
1144 # Temperatures
1145     label temp1 "CPU Temp"
1146     label temp2 "M/B Temp"
1147 #    set temp1_min 10
1148 #    set temp1_max 60
1149 #    set temp2_min 10
1150 #    set temp2_max 45
1151
1152
1153 chip "lm87-*" "adm1024-*"
1154 #
1155 # The LM87 has integrated scaling resistors, rather
1156 # than external resistors common to most sensor devices.
1157 # These apply to the first 6 voltage inputs in0-in5
1158 # (+2.5, Vccp1, +3.3, +5, 12, +Vccp2). As the scaling is fixed inside
1159 # the chip for these inputs, it is fairly certain that the
1160 # motherboard connections match these labels, and that the
1161 # driver computations are correct. Therefore they do not need to
1162 # be overridden here.
1163
1164    label in0  "+2.5V"
1165    label in1  "VCore"
1166    label in2  "+3.3V"
1167    label in3  "+5V"
1168    label in4  "+12V"
1169 #   label in5  "VCore2"
1170
1171    label fan1 "CPU Fan"
1172 #   label fan2 "Case Fan"
1173    label temp1 "M/B Temp"
1174    label temp2 "CPU Temp"
1175 #   label temp3 "AUX Temp"
1176
1177 #   set in1_min  cpu0_vid * 0.95
1178 #   set in1_max  cpu0_vid * 1.05
1179 #   set in2_min  3.3 * 0.92
1180 #   set in2_max  3.3 * 1.08
1181 #   set in3_min    5 * 0.92
1182 #   set in3_max    5 * 1.08
1183 #   set in4_min   12 * 0.90
1184 #   set in4_max   12 * 1.10
1185
1186 # These ones are mutually exclusive with temp3. If you have temp3,
1187 # comment out these lines as they will trigger errors on "sensors -s".
1188 #   set in0_min  2.5 * 0.92
1189 #   set in0_max  2.5 * 1.08
1190 #   set in5_min  cpu0_vid * 0.95
1191 #   set in5_max  cpu0_vid * 1.05
1192
1193 # Increase fan clock dividers if your fans read 0 RPM while you know
1194 # they are connected and running.
1195 #   set fan1_div 4
1196 #   set fan2_div 4
1197
1198 #   set fan1_min 3000
1199 #   set fan2_min 3000
1200
1201 #   set temp1_min   5
1202 #   set temp1_max  65
1203 #   set temp2_min   5
1204 #   set temp2_max  70
1205
1206 # Uncomment if you actually have temp3 (which means you don't have 2.5V
1207 # nor Vccp2, as they are mutually exclusive).
1208 #   set temp3_min   5
1209 #   set temp3_max  70
1210
1211 # LM87 AIN1 and AIN2 Section
1212 # -12 and -5 may be reversed on your board, this is
1213 # just a guess, the datasheet gives no guidance.
1214 #   label in6 "-12V"
1215 #   label in7 "-5V"
1216 #   compute in6 (7.50 * @) - 21.45  ,  (@ + 21.45) / 7.50
1217 #   compute in7 (4.05 * @) - 10.07  ,  (@ + 10.07) / 4.05
1218 #   set in6_min -12 * 0.95
1219 #   set in7_min -5 * 0.95
1220 #   set in6_max -12 * 1.05
1221 #   set in7_max -5 * 1.05
1222
1223
1224 chip "it87-*" "it8712-*"
1225
1226 # The values below have been tested on Asus CUSI, CUM motherboards.
1227
1228 # Voltage monitors as advised in the It8705 data sheet
1229
1230     label in0 "VCore 1"
1231     label in1 "VCore 2"
1232     label in2 "+3.3V"
1233     label in3 "+5V"
1234     label in4 "+12V"
1235     label in5 "-12V"
1236     label in6 "-5V"
1237     label in7 "Stdby"
1238<