summaryrefslogtreecommitdiff
path: root/etc/sensors.conf.eg
blob: ea7260c94fbb1f1ebab691f2c1f95753501242d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
# libsensors configuration file
# -----------------------------
# NOTE:
# All the set statements from this file are commented out by default.
# The reason is that the proper limits are highly system-dependent,
# and writing improper limits may have all sorts of weird effects,
# from beeping to CPU throttling to instant reboot. If you want to
# actually set the limits, remove the comment marks, then run "sensors -s".

chip "lm78-*" "lm79-*" "w83781d-*"

# These are as advised in the LM78 and LM79 data sheets, and used on almost
# any mainboard we have seen.

    label in0 "VCore 1"
    label in1 "VCore 2"
    label in2 "+3.3V"
    label in3 "+5V"
    label in4 "+12V"
    label in5 "-12V"
    label in6 "-5V"

# For positive voltages (in3, in4), two resistors are used, with the following
# formula (R1,R2: resistor values, Vs: read voltage, Vin: pin voltage)
#   R1 = R2 * (Vs/Vin - 1)
# For negative voltages (in5, in6) two resistors are used, with the following
# formula (Rin,Rf: resistor values, Vs: read voltage, Vin: pin voltage)
#   Rin = (Vs * Rf) / Vin
#
# Here are the official LM78 and LM79 data sheet values.
#       Vs     R1,Rin   R2,Rf    Vin
# in3   +5.0      6.8    10     +2.98
# in4  +12.0     30      10     +3.00
# in5  -12.0    240      60     +3.00
# in6   -5.0    100      60     +3.00
#
# These would lead to these declarations:
# compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
# compute in4 ((30/10)+1)*@  ,  @/((30/10)+1)
# compute in5 -(240/60)*@    ,  -@/(240/60)
# compute in6 -(100/60)*@    ,  -@/(100/60)
#
# On almost any mainboard we have seen, the Winbond compute values lead to
# much better results, though.
#
#       Vs     R1,Rin   R2,Rf    Vin
# in4  +12.0     28      10     +3.15
# in5  -12.0    210      60.4   +3.45
# in6   -5.0     90.9    60.4   +3.33
#
# These leads to these declarations:

    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
    compute in5 -(210/60.4)*@  ,  -@/(210/60.4)
    compute in6 -(90.9/60.4)*@ ,  -@/(90.9/60.4)

# Here, we assume the VID readings are valid, and we use a max. 5% deviation

#    set in0_min cpu0_vid*0.95
#    set in0_max cpu0_vid*1.05
#    set in1_min cpu0_vid*0.95
#    set in1_max cpu0_vid*1.05
#    set in2_min 3.3 * 0.95
#    set in2_max 3.3 * 1.05
#    set in3_min 5.0 * 0.95
#    set in3_max 5.0 * 1.05
#    set in4_min 12 * 0.95
#    set in4_max 12 * 1.05
#    set in5_min -12 * 0.95
#    set in5_max -12 * 1.05
#    set in6_min -5 * 0.95
#    set in6_max -5 * 1.05

# Examples for lm78, lm79 temperature limits
#    set temp1_max      40
#    set temp1_max_hyst 37

# Examples for w83781d temperature limits
#    set temp1_max      40
#    set temp1_max_hyst 37
#    set temp2_max      52
#    set temp2_max_hyst 47
#    set temp3_max      52
#    set temp3_max_hyst 47

# Examples of fan low speed limits
#    set fan1_min 3000
#    set fan2_min 3000
#    set fan3_min 3000

# Ignore fans you don't actually have
#    ignore fan1
#    ignore fan2
#    ignore fan3

# In case a lm78 is used together with a lm75, the lm78 temp sensor will
# generally show the M/B temperature while the lm75 temp sensor will show
# the CPU temperature.
#    label temp1 "M/B Temp"

# Uncomment the following line to enable beeps for all alarms on this chip
#    set beep_enable 1



chip "lm75-*"

# Most boards don't need scaling. Following is for the Asus TX97-E.
#   compute temp1 @*2.0, @/2.0

# Examples for temperature limits
#    set temp1_max      70
#    set temp1_max_hyst 65

# In case a lm75 is used together with a lm78, the lm78 temp sensor will
# generally show the M/B temperature while the lm75 temp sensor will show
# the CPU temperature.
#    label temp1 "CPU Temp"


chip "sis5595-*"

    label in0 "VCore 1"
    label in1 "VCore 2"
    label in2 "+3.3V"
    label in3 "+5V"
    label in4 "+12V"

    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)

#    set in0_min 2.0 * 0.95
#    set in0_max 2.0 * 1.05
#    set in1_min 2.0 * 0.95
#    set in1_max 2.0 * 1.05
#    set in2_min 3.3 * 0.95
#    set in2_max 3.3 * 1.05
#    set in3_min 5.0 * 0.95
#    set in3_max 5.0 * 1.05
#    set in4_min 12 * 0.95
#    set in4_max 12 * 1.05

#
# SiS5595 temperature calculation
# The driver currently includes a calculation due to the wide
# variation in thermistor types on SiS5595 motherboards.
# The driver currently has a calculation of t = (.83x + 52.12).
# One user reports the correct formula of t = (.345x - 12).
# So you want to put a compute line in sensors.conf that has
# the inverse of the driver formula, and put your formula on top of it.
# The inverse of the driver formula is x = (1.20t - 62.77)
# So the final formula is newt = (.345(1.20t - 62.77)) - 12).
# Put this in the sensors.conf file as
# compute temp1 ((.345 * ((1.20 * @) - 62.77)) - 12), ...
# where ... is the inverse function I leave to you.
#
# Look in your 'Vendor.ini' file to see which one is present
# on your motherboard. Look for the line like:
#	[Temp1]
#	     ThermistorType     = NTC-10KC15-1608-1P
# Fix up a 'compute' line to match your thermistor type.
# Warning. You still don't have enough information to do this.
#	     ThermistorType     = NTC-10KC15-1608-1P (10K at 25C; Beta = 3435)
#   compute temp1 ((X * ((1.20 * @) - 62.77)) - Y), ...
#	     ThermistorType     = NTC-103KC15-1608-1P  (??)
#   compute temp1 ((X * ((1.20 * @) - 62.77)) - Y), ...
#	     ThermistorType     = NTC-103AT-2 (10K at 25C; Beta = 3435)
#   compute temp1 ((X * ((1.20 * @) - 62.77)) - Y), ...
#	     ThermistorType     = NTC-103JT   (10K at 25C; Beta = 3435)
#   compute temp1 ((X * ((1.20 * @) - 62.77)) - Y), ...

# examples for sis5595 temperature limits;
#    set temp1_max      40
#    set temp1_max_hyst 37


chip "w83782d-*" "w83627hf-*"

# Same as above for w83781d except that in5 and in6 are computed differently.
# Rather than an internal inverting op amp, the 82d/83s use standard positive
# inputs and the negative voltages are level shifted by a 3.6V reference.
# The math is convoluted, so we hope that your motherboard
# uses the recommended resistor values.

    label in0 "VCore 1"
    label in1 "VCore 2"
    label in2 "+3.3V"
    label in3 "+5V"
    label in4 "+12V"
    label in5 "-12V"
    label in6 "-5V"
    label in7 "V5SB"
    label in8 "VBat"

# Abit BP6 motherboard has a few differences. VCore1 and VCore2 are the core
# voltages of the two processors. Vtt is memory bus termination resistors
# voltage.
#    label in1 "Vtt"
#    label in8 "VCore2"

    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
    compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
    compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)

# set limits to  5% for the critical voltages
# set limits to 10% for the non-critical voltages
# set limits to 20% for the battery voltage

#    set in0_min cpu0_vid*0.95
#    set in0_max cpu0_vid*1.05
#    set in1_min cpu0_vid*0.95
#    set in1_max cpu0_vid*1.05
#    set in2_min 3.3 * 0.95
#    set in2_max 3.3 * 1.05
#    set in3_min 5.0 * 0.95
#    set in3_max 5.0 * 1.05
#    set in4_min 12 * 0.90
#    set in4_max 12 * 1.10
#    set in5_max -12 * 0.90
#    set in5_min -12 * 1.10
#    set in6_max -5 * 0.95
#    set in6_min -5 * 1.05
#    set in7_min 5 * 0.95
#    set in7_max 5 * 1.05
#    set in8_min 3.0 * 0.80
#    set in8_max 3.0 * 1.20

# set up sensor types (thermistor is default)
# 1 = PII/Celeron Diode; 2 = 3904 transistor;
# 3435 = thermistor with Beta = 3435
# If temperature changes very little, try 1 or 2.
#   set temp1_type 1
#   set temp2_type 2
#   set temp3_type 3435

# examples for temperature limits
#    set temp1_max      40
#    set temp1_max_hyst 37
#    set temp2_max      52
#    set temp2_max_hyst 47
#    set temp3_max      52
#    set temp3_max_hyst 47


chip "w83783s-*"

# Same as above for w83781d except that in5 and in6 are computed differently.
# Rather than an internal inverting op amp, the 82d/83s use standard positive
# inputs and the negative voltages are level shifted by a 3.6V reference.
# The math is convoluted, so we hope that your motherboard
# uses the recommended resistor values.

    label in0 "VCore 1"
    label in2 "+3.3V"
    label in3 "+5V"
    label in4 "+12V"
    label in5 "-12V"
    label in6 "-5V"

    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
    compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
    compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14

# set limits to  5% for the critical voltages
# set limits to 10% for the non-critical voltages
# set limits to 20% for the battery voltage

#   set in0_min cpu0_vid*0.95
#   set in0_max cpu0_vid*1.05
#   set in2_min 3.3 * 0.95
#   set in2_max 3.3 * 1.05
#   set in3_min 5.0 * 0.95
#   set in3_max 5.0 * 1.05
#   set in4_min 12 * 0.90
#   set in4_max 12 * 1.10
#   set in5_max -12 * 0.90
#   set in5_min -12 * 1.10
#   set in6_max -5 * 0.95
#   set in6_min -5 * 1.05

# set up sensor types (thermistor is default)
# 1 = PII/Celeron Diode; 2 = 3904 transistor;
# 3435 = thermistor with Beta = 3435
# If temperature changes very little, try 1 or 2.
#   set temp1_type 1
#   set temp2_type 2

# examples for temperature limits
#    set temp1_max      40
#    set temp1_max_hyst 37
#    set temp2_max      52
#    set temp2_max_hyst 47


chip "w83697hf-*"

# Same as above for w83781d except that in5 and in6 are computed differently.
# Rather than an internal inverting op amp, the 82d/83s use standard positive
# inputs and the negative voltages are level shifted by a 3.6V reference.
# The math is convoluted, so we hope that your motherboard
# uses the recommended resistor values.

# no in1 on this chip.

    label in0 "VCore"
    label in2 "+3.3V"
    label in3 "+5V"
    label in4 "+12V"
    label in5 "-12V"
    label in6 "-5V"
    label in7 "V5SB"
    label in8 "VBat"

# Tyan Trinity S2495 KT400 has a few differences. Thanks to Eric Schumann
# for proving this information. Same is true for Epox 8K3A and 8KHA+.
# Thanks to Thomas Schorpp for additional feedback.
#    label in2 "VAgp"
#    label in5 "+3.3V" # aka. Vio
#    label in6 "Vdimm"
#    label in7 "VBat"
#    label in8 "V5SB"
#
# You'll also want to comment out the in5 and in6 compute lines right below,
# and rename compute in7 to compute in8.

    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
    compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
    compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)

# 697HF does not have VID inputs so you MUST set your core
# voltage limits below. Currently set for 1.8V core.
#               vvv

#   set in0_min 1.8 * 0.95
#   set in0_max 1.8 * 1.05

#   set in2_min 3.3 * 0.95
#   set in2_max 3.3 * 1.05
#   set in3_min 5.0 * 0.95
#   set in3_max 5.0 * 1.05
#   set in4_min 12 * 0.90
#   set in4_max 12 * 1.10
#   set in5_max -12 * 0.90
#   set in5_min -12 * 1.10
#   set in6_max -5 * 0.95
#   set in6_min -5 * 1.05
#   set in7_min 5 * 0.95
#   set in7_max 5 * 1.05
#   set in8_min 3.0 * 0.80
#   set in8_max 3.0 * 1.20

# And for Tyan Trinity S2495 KT400 and Epox 8K3A and 8KHA+:
#    set in2_min 1.5 * 0.95
#    set in2_max 1.5 * 1.05
#    set in5_min 3.3 * 0.95
#    set in5_max 3.3 * 1.05
#    set in6_min 2.5 * 0.95 # 2.6 on Epox
#    set in6_max 2.5 * 1.05 # 2.6 on Epox
#    set in7_min 3.0 * 0.90
#    set in7_max 3.0 * 1.10
#    set in8_min 5 * 0.90
#    set in8_max 5 * 1.10

# set up sensor types (thermistor is default)
# 1 = PII/Celeron Diode; 2 = 3904 transistor;
# 3435 = thermistor with Beta = 3435
# If temperature changes very little, try 1 or 2.
#   set temp1_type 1
#   set temp2_type 2
#   set temp3_type 3435

# examples for temperature limits
#    set temp1_max      40
#    set temp1_max_hyst 37
#    set temp2_max      52
#    set temp2_max_hyst 47


chip "w83627thf-*" "w83637hf-*"

# Rather than an internal inverting op amp, the 627thf uses standard positive
# inputs and the negative voltages are level shifted by a 3.6V reference
# (same as 82d/83s).
# The math is convoluted, so we hope that your motherboard
# uses the recommended resistor values.
# Note that in1 (+12V) is the usual in4, and in4 (-12V) is the usual in5.
# Data sheet is obviously wrong for in4, the usual formula should work.
# No in5 nor in6.

    label in0 "VCore"
    label in1 "+12V"
    label in2 "+3.3V"
    label in3 "+5V"
    label in4 "-12V"
    label in7 "V5SB"
    label in8 "VBat"

# Mori Hiroyuki reported to need this (P4P800)
#   compute in0 @/2, @*2

    compute in1 ((28/10)+1)*@, @/((28/10)+1)
    compute in3 ((34/51)+1)*@, @/((34/51)+1)
    compute in4 (5.14*@)-14.91, (@+14.91)/5.14
    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)

# set limits to  5% for the critical voltages
# set limits to 10% for the non-critical voltages
# set limits to 20% for the battery voltage
# if your vid is wrong, you'll need to adjust in0_min and in0_max

#   set in0_min cpu0_vid * 0.95
#   set in0_max cpu0_vid * 1.05
#   set in1_min 12 * 0.90
#   set in1_max 12 * 1.10
#   set in2_min 3.3 * 0.95
#   set in2_max 3.3 * 1.05
#   set in3_min 5.0 * 0.95
#   set in3_max 5.0 * 1.05
#   set in4_min -12 * 1.10
#   set in4_max -12 * 0.90
#   set in7_min 5 * 0.95
#   set in7_max 5 * 1.05
#   set in8_min 3.0 * 0.80
#   set in8_max 3.0 * 1.20

# set up sensor types (thermistor is default)
# 1 = PII/Celeron Diode; 2 = 3904 transistor;
# 3435 = thermistor with Beta = 3435
# If temperature changes very little, try 1 or 2.
#   set temp1_type 1
#   set temp2_type 2
#   set temp3_type 3435

    label temp1 "M/B Temp"
    label temp2 "CPU Temp"
#   ignore temp3

# examples for temperature limits
#    set temp1_max      40
#    set temp1_max_hyst 37
#    set temp2_max      52
#    set temp2_max_hyst 47
#    set temp3_max      52
#    set temp3_max_hyst 47

#   ignore fan1
    label fan2 "CPU Fan"
#   ignore fan3


# Here are configurations for Winbond W83792AD/D chip.
chip "w83792d-*"

    label in0 "VCoreA"
    label in1 "VCoreB"
    label in2 "VIN0"
    label in3 "VIN1"
    label in4 "VIN2"
    label in5 "VIN3"
    label in6 "5VCC"
    label in7 "5VSB"
    label in8 "VBAT"
    label fan1 "Fan1"
    label fan2 "Fan2"
    label fan3 "Fan3"
    label fan4 "Fan4"
    label fan5 "Fan5"
    label fan6 "Fan6"
    label fan7 "Fan7"
    label temp1 "Temp1"
    label temp2 "Temp2"
    label temp3 "Temp3"

#    set in0_min 1.4
#    set in0_max 1.6
#    set in1_min 1.4
#    set in1_max 1.6
#    set in2_min 3.2
#    set in2_max 3.4
#    set in3_min 3.1
#    set in3_max 3.3
#    set in4_min 1.4
#    set in4_max 1.5
#    set in5_min 2.6
#    set in5_max 2.65
#    set in6_min 5 * 0.95
#    set in6_max 5 * 1.05
#    set in7_min 5 * 0.95
#    set in7_max 5 * 1.05
#    set in8_min 3 * 0.95
#    set in8_max 3 * 1.05

# fan1 adjustments examples

#   set fan1_div 4
#   set fan1_min 1500

# temp2 limits examples

#    set temp2_max      42
#    set temp2_max_hyst 37

# ignore examples

#    ignore fan7
#    ignore temp3


# Here are configurations for Winbond W83793 chip.
chip "w83793-*"

    label in0 "VCoreA"
    label in1 "VCoreB"
    label in2 "Vtt"
    label in5 "+3.3V"
    label in6 "+12V"
    label in7 "+5V"
    label in8 "5VSB"
    label in9 "VBAT"

    compute in6 12*@ ,  @/12

    label temp1 "CPU1 Temp"
    label temp2 "CPU2 Temp"

# fan1 adjustments examples

#   set fan1_min 1500

# temp2 limits examples

#   set temp2_max       45
#   set temp2_max_hyst  40

# ignore examples

#    ignore fan7
#    ignore temp3


chip "as99127f-*"

# Asus won't release a datasheet so this is guesswork.
# Thanks to Guntram Blohm, Jack, Ed Harrison, Artur Gawryszczak,
# Victor G. Marimon and others for their feedback.

# Dual power plane
    label in0 "VCore 1"
    label in1 "VCore 2"
# Single power plane (A7V133, A7M266, CUV4X)
#   label in0 "VCore"
#   ignore in1

    label in2 "+3.3V"
    label in3 "+5V"
    label in4 "+12V"
# These last two may not make sense on all motherboards.
    label in5 "-12V"
    label in6 "-5V"

    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
# AS99127F rev.1 (same as w83781d)
    compute in5 -(240/60.4)*@ ,  -@/(240/60.4)
    compute in6 -(90.9/60.4)*@ ,  -@/(90.9/60.4)
# AS99127F rev.2 (same as w83782d)
#   compute in5 (5.14 * @) - 14.91 , (@ + 14.91) / 5.14
#   compute in6 (3.14 * @) -  7.71 , (@ +  7.71) / 3.14

# Depending on your motherboard, you may have to use any of two formulae
# for temp2. Quoting Artur Gawryszczak (edited to reflect subsequent fixes
# to the driver):
# "I guess, that the formula "(@*15/43)+25, (@-25)*43/15" is correct
# for those Asus motherboards, which get CPU temperature from internal
# thermal diode (Pentium Coppermine, and above), while no formula is needed
# for Athlon/Duron boards, which use a thermistor in the socket."
# An alternative formula was then found and reported by Victor G. Marimon.

# Asus A7V133, Asus A7M266
#   No compute line is needed
# Asus CUV4X, Asus A7V8X
#   compute temp2 (@*15/43)+25, (@-25)*43/15
# Asus CUSL2, Asus CUV266-DLS, Asus TUSL2-C
#   compute temp2 (@*30/43)+25, (@-25)*43/30

# See comments above if temp3 looks bad. What works for temp2 is likely
# to work for temp3 for dual-CPU boards, such as the CUV4X-D.

# Most Asus boards have temperatures settled like that:
    label temp1 "M/B Temp"
    label temp2 "CPU Temp"
# However, some boards have them swapped (A7N8X Deluxe rev.2,
# A7N8X-E Deluxe rev.2, CUV4X):
#   label temp1 "CPU Temp"
#   label temp2 "M/B Temp"

# Most boards have no temp3 by default, except for dual-CPU boards.
#   label temp3 "CPU 2 Temp"
#   ignore temp3

# set limits to  5% for the critical voltages
# set limits to 10% for the non-critical voltages
# set limits to 20% for the battery voltage

#    set in0_min cpu0_vid*0.95
#    set in0_max cpu0_vid*1.05
#    set in1_min cpu0_vid*0.95
#    set in1_max cpu0_vid*1.05
#    set in2_min 3.3 * 0.95
#    set in2_max 3.3 * 1.05
#    set in3_min 5.0 * 0.95
#    set in3_max 5.0 * 1.05
#    set in4_min 12 * 0.90
#    set in4_max 12 * 1.10
#    set in5_min -12 * 0.90
#    set in5_max -12 * 1.10
#    set in6_min -5 * 0.95
#    set in6_max -5 * 1.05

# examples for temperature limits
#    set temp1_max      40
#    set temp1_max_hyst 37
#    set temp2_max      52
#    set temp2_max_hyst 47
#    set temp3_max      52
#    set temp3_max_hyst 47


chip "gl518sm-*"

# IMPORTANT: in0, in1, and in2 values (+5, +3, and +12) CANNOT be read
#
# Factors and labels taken from GL518SM datasheet, they seem to give
# reasonable values with EISCA connected Fan78

  label in0 "+5V"
  label in1 "+3.3V"
  label in2 "+12V"
  label in3 "Vcore"

# in2 depends on external resistors (4,7k and 15k assumed here)
# in1 and in3 require no scaling

  compute in2 (197/47)*@  ,  @/(197/47)

#  set in0_min 4.8
#  set in0_max 5.2
#  set in1_min 3.20
#  set in1_max 3.40
#  set in2_min 11.0
#  set in2_max 13.0
#  set in3_min 2.10
#  set in3_max 2.30
#  set fan2_min 0


chip "gl520sm-*"

# Factors and labels taken from GL520SM datasheet

# The GL520SM has two application modes. In mode 1 it has two thermistor
# inputs, in mode 2 it has only one and an extra (negative) voltage input.
# The mode is supposed to be set properly by your BIOS so you should not
# need to change it. Note that you have either temp2 or in4, not both.

  label in0 "+5V"
  label in1 "+3.3V"
  label in2 "+12V"
  label in3 "Vcore"
  label in4 "-12V"

# in1 and in3 require no scaling
# in2 depends on external resistors (4,7k and 15k assumed)

# in4 = ((R1+R2)/R2)*@ - (R1/R2)*vdd
#
#       -12 --| R1 |---t---| R2 |-- +5
#                      |
#                    vin4
#

  compute in2 (197/47)*@  ,  @/(197/47)
  compute in4 (5*@)-(4*in0_input) , (@+4*in0_input)/5

#  set in0_min 4.8
#  set in0_max 5.2
#  set in1_min 3.20
#  set in1_max 3.40
#  set in2_min 11.0
#  set in2_max 13.0
#  set in3_min 2.10
#  set in3_max 2.30


chip "lm80-*"

# The values below should be correct if you own a qdi BX (brilliant1)
# mainboard. Many thanks go to Peter T. Breuer for helping us figure
# out how to handle the LM80.

# For positive voltages (in0..in4), two resistors are used, with the following
# formula (R1,R2: resistor values, Vs: read voltage, Vin: pin voltage)
#   R1 = R2 * (Vs/Vin - 1)
# For negative voltages (in5, in6) two resistors are used, with the following
# formula (R3,R4: resistor values, Vs: read voltage, Vin: pin voltage,
# V5: +5V)
#   R3 = R4 * (Vs - Vin) / (Vin - V5)

# Here are the official LM80 data sheet values.
#       Vs      R1,R3   R2,R4    Vin
#       +2.5V    23.7    75     +1.9
#       +3.3V    22.1    30     +1.9
#       +5.0     24      14.7   +1.9
#      +12.0    160      30.1   +1.9
#      -12.0    160      35.7   +1.9
#       -5.0     36      16.2   +1.9

# Now curiously enough, VCore is connected with (unknown) resistors, which
# translate a +2.8V to +1.9V. So we use that in the computations below.

    label in0 "+5V"
    label in1 "VTT"
    label in2 "+3.3V"
    label in3 "+Vcore"
    label in4 "+12V"
    label in5 "-12V"
    label in6 "-5V"

    compute in0 (24/14.7 + 1) * @ ,       @ / (24/14.7 + 1)
    compute in2 (22.1/30 + 1) * @ ,       @ / (22.1/30 + 1)
    compute in3 (2.8/1.9) * @,            @ * 1.9/2.8
    compute in4 (160/30.1 + 1) * @,       @ / (160/30.1 + 1)
    compute in5 (160/35.7)*(@ - in0_input) + @, (@ + in0_input * 160/35.7)/ (1 + 160/35.7)
    compute in6 (36/16.2)*(@ - in0_input) + @,  (@ + in0_input * 36/16.2) / (1 + 36/16.2)

#    set in0_min 5 * 0.95
#    set in0_max 5 * 1.05
# What is your VTT? It is probably not this value...
#    set in1_min 2*0.95
#    set in1_max 2*1.05
#    set in2_min 3.3 * 0.95
#    set in2_max 3.3 * 1.05
# What is your VCore? It is probably not this value...
#    set in3_min 1.9 * 0.95
#    set in3_max 1.9 * 1.05
#    set in4_min 12 * 0.95
#    set in4_max 12 * 1.05
#    set in5_min -12 * 1.05
#    set in5_max -12 * 0.95
#    set in6_min -5 * 1.05
#    set in6_max -5 * 0.95

# All 4 of these limits apply to the single temperature sensor.
# "crit" may or may not do anything on your motherboard but it should
#  be set higher than the "max" thresholds.
#    set temp1_max_hyst   45
#    set temp1_max        52
#    set temp1_crit_hyst  57
#    set temp1_crit       62


chip "via686a-*"

# VIA is very specific about the voltage sensor inputs, and our labels
# reflect what they say.  Unfortunately, they are not at all specific about
# how to convert any of the register values to real units.  Fortunately,
# Jonathan Yew and Alex van Kaam came through with some data for temp
# conversion and formulae for voltage conversion. However, the conversions
# should be regarded as our best guess - YMMV.

# On the Tyan S1598, the 2.5V sensor reads 0 and is not displayed in the BIOS.
# Linas Vepstas reports that this sensor shows nothing of
# interest on the Abit KA7 (Athlon), and is also not displayed in the BIOS.
# Likewise, Johannes Drechsel-Burkhard reports that this
# sensor is unavailable in the BIOS of his MSI K7T Pro (Thunderbird).  So,
# if you have one of these boards you may want to uncomment the 'ignore in1'
# line below.

    label in0 "CPU core"
    label in1 "+2.5V"
    #ignore in1
    label in2 "I/O"
    label in3 "+5V"
    label in4 "+12V"

    label fan1  "CPU Fan"
    label fan2  "P/S Fan"

# VIA suggests that temp3 is an internal temp sensor for the 686a.  However,
# on the Tyan S1598 as well as the Abit KA7 (Athalon), the absolute values
# of the readings from that sensor are not valid.  The readings do seem to
# correlate with temp changes, but the conversion factor may be quite
# different from temp1 & temp2 (as noted above, VIA has not provided
# conversion info).  So, you may wish to 'ignore temp3'.

# Johannes Drechsel-Burkhard notes that on his MSI K7T Pro,
# temp1 is the CPU temp and temp2 is the SYS temp. Hugo van der Merwe notes
# the same for his Gigabyte GA-7DXC, Olivier Martin for his Gigabyte
# GA-7ZM and Patrick Thomson for his Chaintech CT-5ATA.
# Thomas Anglmaier notes: on Epox EP-7kxa temp2 is CPU and temp1 is SYS.

    label temp1 "SYS Temp"
    label temp2 "CPU Temp"
    label temp3 "SBr Temp"
    #ignore temp3

# Set your CPU core limits here if the BIOS did not.

    #set in0_min 1.70 * 0.95
    #set in0_max 1.70 * 1.05

# Other voltage values are standard so we can enforce the limits.

#    set in1_min 2.5 * 0.95
#    set in1_max 2.5 * 1.05
#    set in2_min 3.3 * 0.95
#    set in2_max 3.3 * 1.05
#    set in3_min 5 * 0.9
#    set in3_max 5 * 1.1
#    set in4_min 12 * 0.9
#    set in4_max 12 * 1.1

# Set your temp limits here.  Remember, 'tempX_max' is the temp at which an
# alarm is triggered, and 'tempX_max_hyst' is the temp at which an alarm turns off.
# Setting tempX_max_hyst to a few degrees below the corresponding tempX_max
# prevents an oscillation between alarm on and off states.  This kind of
# oscillation is known as hyteresis, thus the name.  (You typically get the
# most serious and troublesome hysteresis when a sensor triggers something to
# reduce the temp, thus creating a negative feedback loop.  Even without that,
# we would still get some oscillation when the temp hovers around the limit
# due to noise.)

#    set temp1_max_hyst 40
#    set temp1_max      45
#    set temp2_max_hyst 55
#    set temp2_max      60
#    set temp3_max_hyst 60
#    set temp3_max      65

# You could set your fan limits too, but the defaults should be fine.

    #set fan1_min 5000
    #set fan2_min 5000


chip "adm1025-*" "ne1619-*"

# The ADM1025 has integrated scaling resistors, rather
# than external resistors common to most sensor devices.
# These apply to the 6 voltage inputs in0-in5 (+2.5V, VCore,
# +3.3V, +5V, +12V, VCC). As the scaling is fixed inside
# the chip for these inputs, it is fairly certain that the
# motherboard connections match these labels, and that the
# driver computations are correct. Therefore they do not need to
# be overridden here.

    label in0 "+2.5V"
    label in1 "VCore"
    label in2 "+3.3V"
    label in3 "+5V"
    label in4 "+12V"
    label in5 "VCC"

# Tolerate a 5% deviance for CPU power-supply
#    set in1_min cpu0_vid * 0.95
#    set in1_max cpu0_vid * 1.05
# Tolerate a 10% deviance for other voltages
#    set in0_min 2.5 * 0.90
#    set in0_max 2.5 * 1.10
#    set in2_min 3.3 * 0.90
#    set in2_max 3.3 * 1.10
#    set in3_min 5.0 * 0.90
#    set in3_max 5.0 * 1.10
#    set in4_min 12 * 0.90
#    set in4_max 12 * 1.10
#    set in5_min 3.3 * 0.90
#    set in5_max 3.3 * 1.10

# Depending on how your chipset is hardwired, you may or may not have
# +12V readings (will show as 0.0V if you don't have it).
#   ignore in4

# VCC is the power-supply voltage of the ADM1025 chipset, generally
# redundant with +3.3V so you may want to hide it.
#   ignore in5

# Temperatures
    label temp1 "CPU Temp"
    label temp2 "M/B Temp"
#    set temp1_min 10
#    set temp1_max 60
#    set temp2_min 10
#    set temp2_max 45


chip "lm87-*" "adm1024-*"
#
# The LM87 has integrated scaling resistors, rather
# than external resistors common to most sensor devices.
# These apply to the first 6 voltage inputs in0-in5
# (+2.5, Vccp1, +3.3, +5, 12, +Vccp2). As the scaling is fixed inside
# the chip for these inputs, it is fairly certain that the
# motherboard connections match these labels, and that the
# driver computations are correct. Therefore they do not need to
# be overridden here.

   label in0  "+2.5V"
   label in1  "VCore"
   label in2  "+3.3V"
   label in3  "+5V"
   label in4  "+12V"
#   label in5  "VCore2"

   label fan1 "CPU Fan"
#   label fan2 "Case Fan"
   label temp1 "M/B Temp"
   label temp2 "CPU Temp"
#   label temp3 "AUX Temp"

#   set in1_min  cpu0_vid * 0.95
#   set in1_max  cpu0_vid * 1.05
#   set in2_min  3.3 * 0.92
#   set in2_max  3.3 * 1.08
#   set in3_min    5 * 0.92
#   set in3_max    5 * 1.08
#   set in4_min   12 * 0.90
#   set in4_max   12 * 1.10

# These ones are mutually exclusive with temp3. If you have temp3,
# comment out these lines as they will trigger errors on "sensors -s".
#   set in0_min  2.5 * 0.92
#   set in0_max  2.5 * 1.08
#   set in5_min  cpu0_vid * 0.95
#   set in5_max  cpu0_vid * 1.05

# Increase fan clock dividers if your fans read 0 RPM while you know
# they are connected and running.
#   set fan1_div 4
#   set fan2_div 4

#   set fan1_min 3000
#   set fan2_min 3000

#   set temp1_min   5
#   set temp1_max  65
#   set temp2_min   5
#   set temp2_max  70

# Uncomment if you actually have temp3 (which means you don't have 2.5V
# nor Vccp2, as they are mutually exclusive).
#   set temp3_min   5
#   set temp3_max  70

# LM87 AIN1 and AIN2 Section
# -12 and -5 may be reversed on your board, this is
# just a guess, the datasheet gives no guidance.
#   label in6 "-12V"
#   label in7 "-5V"
#   compute in6 (7.50 * @) - 21.45  ,  (@ + 21.45) / 7.50
#   compute in7 (4.05 * @) - 10.07  ,  (@ + 10.07) / 4.05
#   set in6_min -12 * 0.95
#   set in7_min -5 * 0.95
#   set in6_max -12 * 1.05
#   set in7_max -5 * 1.05


chip "it87-*" "it8712-*"

# The values below have been tested on Asus CUSI, CUM motherboards.

# Voltage monitors as advised in the It8705 data sheet

    label in0 "VCore 1"
    label in1 "VCore 2"
    label in2 "+3.3V"
    label in3 "+5V"
    label in4 "+12V"
    label in5 "-12V"
    label in6 "-5V"
    label in7 "Stdby"
    label in8 "VBat"

# Incubus Saturnus reports that the IT87 chip on Asus A7V8X-X seems
# to report the VCORE voltage approximately 0.05V higher than the board's
# BIOS does. Although it doesn't make much sense physically, uncommenting
# the next line should bring the readings in line with the BIOS' ones in
# this case.
# compute in0 -0.05+@ , @+0.05

# If 3.3V reads around 1.65V, uncomment the following line:
#    compute in2   2*@ , @/2

    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
# A number of Gigabyte boards (GA-8IPE1000Pro, GA-8KNXP, GA-7N400-L) use
# a different resistor combination for +5V:
#    compute in3 ((10/10)+1)*@ ,  @/((10/10)+1)

    compute in4 ((30/10) +1)*@  , @/((30/10) +1)
# For this family of chips the negative voltage equation is different from
# the lm78.  The chip uses two external resistor for scaling but one is
# tied to a positive reference voltage.  See ITE8705/12 datasheet (SIS950
# data sheet is wrong)
# Vs = (1 + Rin/Rf) * Vin - (Rin/Rf) * Vref.
# Vref = 4.096 volts, Vin is voltage measured, Vs is actual voltage.

# The next two are negative voltages (-12 and -5).
# The following formulas must be used. Unfortunately the datasheet
# does not give recommendations for Rin, Rf, but we can back into
# them based on a nominal +2V input to the chip, together with a 4.096V Vref.
# Formula:
#    actual V = (Vmeasured * (1 + Rin/Rf)) - (Vref * (Rin/Rf))
#    For -12V input use Rin/Rf = 6.68
#    For -5V input use Rin/Rf = 3.33
# Then you can convert the forumula to a standard form like:
    compute in5 (7.67 * @) - 27.36  ,  (@ + 27.36) / 7.67
    compute in6 (4.33 * @) - 13.64  ,  (@ + 13.64) / 4.33
#
# this much simpler version is reported to work for a
# Elite Group K7S5A board
#
#   compute in5 -(36/10)*@, -@/(36/10)
#   compute in6 -(56/10)*@, -@/(56/10)
#
    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)

#    set in0_min 1.5 * 0.95
#    set in0_max 1.5 * 1.05
#    set in1_min 2.4
#    set in1_max 2.6
#    set in2_min 3.3 * 0.95
#    set in2_max 3.3 * 1.05
#    set in3_min 5.0 * 0.95
#    set in3_max 5.0 * 1.05
#    set in4_min 12 * 0.95
#    set in4_max 12 * 1.05
#    set in5_max -12 * 0.95
#    set in5_min -12 * 1.05
#    set in6_max -5 * 0.95
#    set in6_min -5 * 1.05
#    set in7_min 5 * 0.95
#    set in7_max 5 * 1.05
    #the chip does not support in8 min/max

# Temperature
#
# Important - if your temperature readings are completely whacky
# you probably need to change the sensor type.
# Adujst and uncomment the appropriate lines below.
#
# 2 = thermistor; 3 = thermal diode; 0 = unused
#   set temp1_type 3
#   set temp2_type 3
#   set temp3_type 3
# If a given sensor isn't used, you will probably want to ignore it
# (see ignore statement right below).

    label temp1       "M/B Temp"
#    set   temp1_max   40
#    set   temp1_min   15
    label temp2       "CPU Temp"
#    set   temp2_max   45
#    set   temp2_min   15
#   ignore temp3
    label temp3       "Temp3"
#    set   temp3_max   45
#    set   temp3_min   15

# The A7V8X-X has temperatures inverted, and needs a conversion for
# CPU temp. Thanks to Preben Randhol for the formula.
#   label temp1       "CPU Temp"
#   label temp2       "M/B Temp"
#   compute temp1     (-15.096+1.4893*@), (@+15.096)/1.4893

# The A7V600 also has temperatures inverted, and needs a different
# conversion for CPU temp. Thanks to Dariusz Jaszkowski for the formula.
#   label temp1       "CPU Temp"
#   label temp2       "M/B Temp"
#   compute temp1     (@+128)/3, (3*@-128)

# Fans
#   set fan1_min 0
#   set fan2_min 3000
#   ignore fan3
#   set fan3_min 3000


chip "it8716-*"

# Voltages

    label  in0  "VCore"
    label  in1  "VDDR"
    label  in2  "+3.3V"    # VCC3
    label  in3  "+5V"      # VCC
    label  in4  "+12V"
#   label  in5  "-12V"
#   label  in6  "-5V"
    label  in7  "5VSB"     # VCCH
    label  in8  "VBat"

    compute in3  ((6.8/10)+1)*@ , @/((6.8/10)+1)
    compute in4  ((30/10)+1)*@  , @/((30/10)+1)
#   compute in5  (1+232/56)*@ - 4.096*232/56 , (@ + 4.096*232/56)/(1+232/56)
#   compute in6  (1+120/56)*@ - 4.096*120/56 , (@ + 4.096*120/56)/(1+120/56)
    compute in7  ((6.8/10)+1)*@ , @/((6.8/10)+1)

# If vid (nominal CPU voltage) isn't correct, hardcode the correct value
# instead.
#    set in0_min  cpu0_vid * 0.95
#    set in0_max  cpu0_vid * 1.05
#    set in1_min  1.8 * 0.95
#    set in1_max  1.8 * 1.05
#    set in2_min  3.3 * 0.95
#    set in2_max  3.3 * 1.05
#    set in3_min    5 * 0.95
#    set in3_max    5 * 1.05
#    set in4_min   12 * 0.95
#    set in4_max   12 * 1.05
#    set in5_max  -12 * 0.95
#    set in5_min  -12 * 1.05
#    set in6_max   -5 * 0.95
#    set in6_min   -5 * 1.05
#    set in7_min    5 * 0.95
#    set in7_max    5 * 1.05
# The chip does not support in8 min/max

# Temperatures

# If you are lucky, the BIOS has set the proper sensor types for you.
# If your temperature readings are completely whacky you probably
# need to change the sensor types. Adujst and uncomment the
# appropriate lines below.
#
# 2 = thermistor; 3 = thermal diode; 0 = unused
#   set temp1_type  3
#   set temp2_type  3
#   set temp3_type  3

# If a given sensor isn't used, you will probably want to ignore it
# as well (see ignore statement right below).
# The CPU sensor can be any of temp1, temp2 or temp3 - it's motherboard
# dependent. Same for the motherboard temperature.

#   label  temp1  "CPU Temp"
#   label  temp2  "M/B Temp"
#   ignore temp3

#   set temp1_max  60
#   set temp1_min  10
#   set temp2_max  50
#   set temp2_min  10

# Fans

# The CPU fan can be any of fan1, fan2 or fan3 - it's motherboard
# dependent. Same for the case fan.

#   label  fan1 "CPU Fan"
#   label  fan2 "Case Fan"
#   ignore fan3

#   set fan1_min 2000
#   set fan2_min 2000


chip "fscpos-*"
# Fujitsu-Siemens Poseidon chip

# Temperature

    label temp1       "Temp1/CPU"
    label temp2       "Temp2/MB"
    label temp3       "Temp3/AUX"

# Fans

    label fan1        "Fan1"
    label fan2        "Fan2"
    label fan3        "Fan3"

# Voltage

    label in0         "+12V"
    label in1         "+5V"
    label in2         "Battery"


chip "fscscy-*"
# Fujitsu-Siemens Scylla chip

# Temperature

    label temp1       "Temp1/CPU0"
    label temp2       "Temp2/CPU1"
    label temp3       "Temp3/MB"
    label temp4       "Temp4/AUX"

# Fans

    label  fan1       "Fan1/CPU0"
    label  fan2       "Fan2/CPU0"
    label  fan3       "Fan3"
    label  fan4       "Fan4"
    label  fan5       "Fan5"
    label  fan6       "Fan6"

# Voltage

    label in0         "+12V"
    label in1         "+5V"
    label in2         "+3.3V"


chip "fscher-*"
# Fujitsu-Siemens Hermes chip

# Temperature
    label temp1       "Temp1/CPU"
    label temp2       "Temp2/MB"
    label temp3       "Temp3/AUX"

# Fans
    label fan1        "Fan1/PS"
    label fan2        "Fan2/CPU"
    label fan3        "Fan3/AUX"

# Voltage
    label in0         "+12V"
    label in1         "+5V"
    label in2         "Battery"

# Uncomment the computes line below when using the old fscher driver, leave
# them commented when using the newer unified fschmd driver
#
#                            M    R             O               O                  M    R
#    compute in0       (@ * (49 * 33) / 255) + (0 / 100), (@ - (0 / 100)) * 255 / (49 * 33)
#    compute in1       (@ * (20 * 33) / 255) + (0 / 100), (@ - (0 / 100)) * 255 / (20 * 33)
#    compute in2       (@ * (10 * 33) / 255) + (0 / 100), (@ - (0 / 100)) * 255 / (10 * 33)


chip "pcf8591-*"
#
#    values for the Philips PCF8591 chip
#
# Analog inputs

# You may discard ch2 and ch3 if you don't use them (depends on the input
# configuration)
#  ignore in2
#  ignore in3

   label  in0         "Chan. 0"
   label  in1         "Chan. 1"
   label  in2         "Chan. 2"
   label  in3         "Chan. 3"

# The driver assumes Vref = 2.56V and Agnd = 0V. If it doesn't match
# your hardware, you have to use compute lines. The example below is
# correct for Vref = 5.0V and Agnd = 0V.
#  compute in0 (@ * 500 / 256), (@ * 256 / 500)
#  compute in1 (@ * 500 / 256), (@ * 256 / 500)
#  compute in2 (@ * 500 / 256), (@ * 256 / 500)
#  compute in3 (@ * 500 / 256), (@ * 256 / 500)


chip "adm1021-*" "adm1023-*" "max1617-*" "max1617a-*" "thmc10-*" "lm84-*" "gl523sm-*" "mc1066-*"

   label temp1 		"Board Temp"
   label temp2		"CPU Temp"
#   set temp1_min	40
#   set temp1_max	70
#   set temp2_min	40
#   set temp2_max	70

chip "lm83-*"

   label temp1 "M/B Temp"
   label temp2 "D1 Temp"
   label temp3 "CPU Temp"
   label temp4 "D3 Temp"

# ignore D1 and/or D3 readings if not used
#   ignore temp2
#   ignore temp4

# change high limits to fit your needs
#   set temp1_max 55
#   set temp2_max 60
#   set temp3_max 65
#   set temp4_max 60

# change critical limit to fit your needs
# only one limit for all four temperatures
# should be higher than each of the high limits above
#   set temp3_crit 85


chip "max1619-*"

   label temp1 "M/B Temp"
   label temp2 "CPU Temp"

# change high and low limits to fit your needs
#   set temp2_min   10
#   set temp2_max   100

# change critical limit and hysteresis to fit your needs
#   set temp2_crit       50
#   set temp2_crit_hyst  40


chip "lm90-*" "adm1032-*" "lm86-*" "max6657-*" "adt7461-*" "max6680-*"

   label temp1 "M/B Temp"
   label temp2 "CPU Temp"

# change high and low limits to fit your needs
#   set temp1_min 10
#   set temp1_max 55
#   set temp2_min 10
#   set temp2_max 66

# change critical limits to fit your needs
# should be higher than the corresponding high limit above
#   set temp1_crit 75
#   set temp2_crit 85

# change the hysteresis values (to critical limits) to fit your needs
# note #1: hyst2 will be automatically set with the same delta
# note #2: the internal register, which stores a single, relative value
# for both channels, cannot hold values greater than 31, so the delta
# between critical temperatures and respective absolute hysteresis can
# never exceed this value
#   set temp1_crit_hyst 70

chip "lm89-*" "lm99-*"

   label temp1 "G/C Temp"
   label temp2 "GPU Temp"

# note #1: the LM99 needs the compute statement below if you're running
# a kernel <= 2.6.27; since kernel 2.6.28 the offset is handled in the
# lm90 driver directly instead
# note #2: there is no way for us to differentiate between a LM89 and a
# LM99; you have to know what you have; the driver will assume a LM99,
# use the force_lm86 module parameter if you have a LM89
#   compute temp2 @+16, @-16

# change high and low limits to fit your needs
#   set temp1_min  10
#   set temp1_max  90
#   set temp2_min  10
#   set temp2_max 100

# change critical limits to fit your needs
# should be higher than the corresponding high limit above
#   set temp1_crit 100
#   set temp2_crit 110

# change the hysteresis values (to critical limits) to fit your needs
# note #1: hyst2 will be automatically set with the same delta
# note #2: the internal register, which stores a single, relative value
# for both channels, cannot hold values greater than 31, so the delta
# between critical temperatures and respective absolute hysteresis can
# never exceed this value
#   set temp1_crit_hyst 105


chip "lm63-*"

   label temp1       "M/B Temp"
   label temp2       "CPU Temp"
   label fan1        "CPU Fan"

# Change limits to fit your needs. Note that temp2_crit is read-only.
#   set temp1_max        50
#   set temp2_min        10
#   set temp2_max        70
#   set temp2_crit_hyst  75
#   set fan1_min         2000


chip "vt1211-*"

    label in0 "+3.3V"
    label in1 "+2.5V"
    label in2 "VCore"
    label in3 "+5V"
    label in4 "+12V"
    label in5 "+3.3V"

    label temp1 "CPU Temp"
    label temp2 "Int Temp"

    label fan1 "Case Fan"
    label fan2 "CPU Fan"

# All voltage calculations have the form
#    compute inX  @ * (1 + R1 / R2), @ / (1 + R1 / R2)
#
# The following are the resistor values as recommended by VIA
#	Voltage		R1	R2
#	-------		----	----
#	VCore	 	-	-	(no scaling)
#	 3.3		6.8k	10k
#	 2.5		2k	10k
#	 5.0		14k	10k
#	12.0		47k	10k
#
# The VT1211 internal 3.3V (in5) is scaled by the driver and doesn't
# need to be adjusted here. VCore doesn't need scaling at all.

    compute in0  @ * (1 + 6.8 / 10),  @ / (1 + 6.8 / 10)
    compute in1  @ * (1 +   2 / 10),  @ / (1 +   2 / 10)
    compute in3  @ * (1 +  14 / 10),  @ / (1 +  14 / 10)
    compute in4  @ * (1 +  47 / 10),  @ / (1 +  47 / 10)

#   set in0_min 3.3 * 0.95
#   set in0_max 3.3 * 1.05
#   set in1_min 2.5 * 0.95
#   set in1_max 2.5 * 1.05
# If your vid is wrong, hardcode the CPU voltage (e.g. 1.4)
#   set in2_min cpu0_vid * 0.97
#   set in2_max cpu0_vid * 1.03
#   set in3_min 5.0 * 0.95
#   set in3_max 5.0 * 1.05
#   set in4_min 12.0 * 0.90
#   set in4_max 12.0 * 1.10
    set in5_min 3.3 * 0.95
    set in5_max 3.3 * 1.05

# The temperature calculations are of the form
#    compute tempX  (@ - Offset) / Gain, (@ * Gain) + Offset
#
# The following are the gain and offset values as recommended by VIA
#	Diode Type	Gain	Offset
#	----------	----	------
# 	Intel CPU	0.9528	88.638
#			0.9686	65.000	*)
#	VIA C3 Ezra	0.9528	83.869
#	VIA C3 Ezra-T	0.9528	73.869
#
# *) These are the values from the previous sensors.conf. I don't know
# where they came from or how they got derived.
#
# The VT1211 internal temperature (temp2) is scaled by the driver
# and doesn't need to be adjusted here.

    compute temp1  (@ - 73.869) / 0.9528,  (@ * 0.9528) + 73.869

# The thermistor calculations are of the form
#    compute tempX  1 / (1 / 298.15 - (` Vmax / @ - 1)) / B) - 273.15, \
#                   Vmax / (1 + (^ (B / 298.15 - B / (273.15 + @))))
#
# B is the thermistor beta value, Vmax is the reference voltage, '^' is the
# exp() operator and '`' is the ln() operator.
# Given B = 3435 and Vmax = 2.2V and assuming that the thermistor forms a
# resistor divider with a resistor equal to the thermistor's nominal value at
# 25 degrees C, the following compute lines can be used:

    compute temp3  1 / (1 / 298.15 - (` (2.2 / @ - 1)) / 3435) - 273.15, \
                   2.2 / (1 + (^ (3435 / 298.15 - 3435 / (273.15 + @))))
    compute temp4  1 / (1 / 298.15 - (` (2.2 / @ - 1)) / 3435) - 273.15, \
                   2.2 / (1 + (^ (3435 / 298.15 - 3435 / (273.15 + @))))
    compute temp5  1 / (1 / 298.15 - (` (2.2 / @ - 1)) / 3435) - 273.15, \
                   2.2 / (1 + (^ (3435 / 298.15 - 3435 / (273.15 + @))))
    compute temp6  1 / (1 / 298.15 - (` (2.2 / @ - 1)) / 3435) - 273.15, \
                   2.2 / (1 + (^ (3435 / 298.15 - 3435 / (273.15 + @))))
    compute temp7  1 / (1 / 298.15 - (` (2.2 / @ - 1)) / 3435) - 273.15, \
                   2.2 / (1 + (^ (3435 / 298.15 - 3435 / (273.15 + @))))

#    set temp1_max_hyst 80
#    set temp1_max      85
#    set temp2_max_hyst 60
#    set temp2_max      65
#    set temp3_max_hyst 60
#    set temp3_max      65
#    set temp4_max_hyst 40
#    set temp4_max      45

#    set fan1_min 3000
#    set fan2_min 3000

chip "vt8231-*"

    label in1 "+2.5V"
    label in2 "VCore"
    label in3 "+5V"
    label in4 "+12V"
    label in5 "+3.3V"

    label temp1 "CPU Temp"
    label temp2 "M/B Temp"

# Here are the resistor values as recommended by VIA:
#   Voltage			R1	R2
#   VCore			no scaling
#    2.5			2k	10k
#    3.5 (3.3V ext.)		6.8k	10k
#    5.0			14k	10k
#   12.0			47k	10k

#   compute in0  @ * (1 + 6.8 / 10),  @ / (1 + 6.8 / 10)
    compute in1  @ * (1 +   2 / 10),  @ / (1 +   2 / 10)
    compute in3  @ * (1 +  14 / 10),  @ / (1 +  14 / 10)
    compute in4  @ * (1 +  47 / 10),  @ / (1 +  47 / 10)
# in5 is scaled internally so scaling is done by the driver.

#   set in0_min 2.5 * 0.95
#   set in0_max 2.5 * 1.05
#   set in1_min 2.5 * 0.95
#   set in1_max 2.5 * 1.05
# Replace "2.0" with your nominal CPU voltage for in2.
#   set in2_min 2.0 * 0.95
#   set in2_max 2.0 * 1.05
#   set in3_min 5.0 * 0.95
#   set in3_max 5.0 * 1.05
#   set in4_min 12.0 * 0.95
#   set in4_max 12.0 * 1.05
#   set in5_min 3.3 * 0.95
#   set in5_max 3.3 * 1.05

# For Intel CPU:
    compute temp1  (@ - 65) / 0.9686,  (@ * 0.9686) + 65

# For VIA EPIA CPU (provided by Roger Lucas):
#   compute temp1  (@ - 45) / 0.7809,  (@ * 0.7809) + 45

# Thermistor calculations
# 3435 is the thermistor beta, 2.2 is the reference voltage.
# '^' is the e**x operator; '`' is the ln(x) operator
# This assumes that the thermistor forms a resistor divider with a resistor
# equal to its nominal value at 25 degrees C.

    compute temp2  1 / (1 / 298.15 - (` (2.2 / @ - 1)) / 3435) - 273.15, \
                   2.2 / (1 + (^ (3435 / 298.15 - 3435 / (273.15 + @))))
    compute temp3  1 / (1 / 298.15 - (` (2.2 / @ - 1)) / 3435) - 273.15, \
                   2.2 / (1 + (^ (3435 / 298.15 - 3435 / (273.15 + @))))

#    set temp1_max_hyst 60
#    set temp1_max      65
#    set temp2_max_hyst 40
#    set temp2_max      45

#    set fan1_min 3000
#    set fan2_min 3000


chip "smsc47m1-*"

# SMSC LPC47M10x, LPC47M13x, LPC47M14x and LPC47B27x chips

#    set fan1_min 3000
#    set fan2_min 3000

chip "smsc47m192-*"

# Temperature and voltage input from SMSC LPC47M192 and LPC47M997 chips
# This example works on a Gigabyte K8U motherboard
# Voltages are scaled internally, no computations needed

    label in0 "+2.5V"
#    set in0_min  2.5 * 0.95
#    set in0_max  2.5 * 1.05

    label in1 "VCore"
#    set in1_min  cpu0_vid * 0.95
#    set in1_max  cpu0_vid * 1.05

    label in2 "+3.3V"
#    set in2_min  3.3 * 0.95
#    set in2_max  3.3 * 1.05

    label in3 "+5V"
#    set in3_min  5.0 * 0.95
#    set in3_max  5.0 * 1.05

    label in4 "+12V"
#    set in4_min  12.0 * 0.95
#    set in4_max  12.0 * 1.05

    label in5 "VCC"
#    set in5_min  3.3 * 0.95
#    set in5_max  3.3 * 1.05

    label in6 "+1.5V"
#    set in6_min  1.5 * 0.95
#    set in6_max  1.5 * 1.05
#   ignore in6

    label in7 "+1.8V"
#    set in7_min  1.8 * 0.95
#    set in7_max  1.8 * 1.05
#   Haven't yet heard from any board that has 1.8V connected, so
#   this might be more appropriate:
#   ignore in7

    label temp1 "Chip Temp"
#    set temp1_min   0
#    set temp1_max   60

    label temp2 "CPU Temp"
#    set temp2_min   0
#    set temp2_max   60

    label temp3 "Sys Temp"
#    set temp3_min   0
#    set temp3_max   60

#
# This example was tested vs. Asus P4S333
#
chip "asb100-*"

    label in0 "VCore 1"
    #set in0_min cpu0_vid * 0.95
    #set in0_max cpu0_vid * 1.05

    label in1 "VCore 2"
    ignore in1
    #set in1_min cpu0_vid * 0.95
    #set in1_max cpu0_vid * 1.05

    label in2 "+3.3V"
    #set in2_min 3.3 * 0.95
    #set in2_max 3.3 * 1.05

    label in3 "+5V"
    compute in3 1.68 * @ ,  @ / 1.68
    #set in3_min 5.0 * 0.95
    #set in3_max 5.0 * 1.05

    label in4 "+12V"
    compute in4 3.8 * @ , @ / 3.8
    #set in4_min 12  * 0.90
    #set in4_max 12  * 1.10

    label in5 "-12V (reserved)"
    #ignore in5
    compute in5 -@ * 3.97 ,  -@ / 3.97
    #set in5_max -12 * 0.90
    #set in5_min -12 * 1.10

    label in6 "-5V (reserved)"
    #ignore in6
    compute in6 -@ * 1.666 , -@ / 1.666
    #set in6_max -5  * 0.95
    #set in6_min -5  * 1.05

    label temp1 "M/B Temp"
    #set temp1_max      45
    #set temp1_max_hyst 40

    label temp2 "CPU Temp (Intel)"
    #ignore temp2
    #set temp2_max      60
    #set temp2_max_hyst 50

    # PWRTMP connector on P4S333, for external sensor
    label temp3 "Power Temp"
    #ignore temp3
    #set temp3_max      45
    #set temp3_max_hyst 40


    # Used for Athlon diode, ignore for P4S333
    label temp4 "CPU Temp (AMD)"
    #set temp4_max      60
    #set temp4_max_hyst 50
    #ignore temp4

    label fan1 "CPU Fan"
    #set fan1_div 4
    #set fan1_min 2000

    label fan2 "Chassis Fan"
    #set fan2_div 2
    #set fan2_min 4000

    label fan3 "Power Fan"
    #set fan3_div 2
    #set fan3_min 4000

#
# Sample configuration for the Intel S845WD1-E
# courtesy of Marcus Schopen
#
chip "lm85c-*" "adm1027-*" "adt7463-*" "lm85-*" "lm85b-*"

# Voltage inputs
# Depending on the hardware setup, the ADT7463 may not have in4.
   label in0   "V1.5"      # AGP on Intel S845WD1-E
   label in1   "VCore"
   label in2   "V3.3"
   label in3   "V5"
   label in4   "V12"

# Temperature inputs
   label temp1  "CPU Temp"
   label temp2  "Board Temp"
   label temp3  "Remote Temp"

# Fan inputs
   label fan1   "CPU_Fan"
#   label fan2   "Fan2"
#   label fan3   "Fan3"
#   label fan4   "Fan4"

# Voltage scaling is done on-chip.  No 'compute' directive
# should be necessary.  If in0 has external scaling set
# it here.

#   compute in0  @ * 2.5,   @ / 2.5

# Adjust fans speeds for actual pulses per rev
#   compute fan1  @ * 2,  @ / 2    # 1 pulse per rev
#   compute fan2  @ / 2,  @ * 2    # 4 pulse per rev

# Ignore fans you (or your motherboard) don't have
#   ignore fan2
#   ignore fan3
#   ignore fan4

# Set voltage limits
#   set in0_min  1.5 * 0.95
#   set in0_max  1.5 * 1.05
#   set in1_min  cpu0_vid * 0.95
#   set in1_max  cpu0_vid * 1.05
#   set in2_min  3.3 * 0.95
#   set in2_max  3.3 * 1.05
#   set in3_min  5.0 * 0.95
#   set in3_max  5.0 * 1.05
#   set in4_min   12 * 0.95
#   set in4_max   12 * 1.05

# Set Fan limits
#   set fan1_min 4000

# Set Temp Limits
#   set temp1_min 10
#   set temp1_max 50
#   set temp2_min 10
#   set temp2_max 35
#   set temp3_min 10
#   set temp3_max 35

chip "pc87366-*"

# Voltage inputs

   label in7   "Vsb"
   label in8   "Vdd"
   label in9   "Vbat"
   label in10  "AVdd"

   compute in7   @*2, @/2
   compute in8   @*2, @/2
   compute in10  @*2, @/2

# These are the operating conditions as recommended by National
# Semiconductor
   set in7_min   3.0
   set in7_max   3.6
   set in8_min   3.0
   set in8_max   3.6
#   set in9_min   2.4
#   set in9_max   3.6
   set in10_min  3.0
   set in10_max  3.6

# Temperature inputs

   label temp1       "CPU0 Temp"
   label temp2       "CPU1 Temp"
   label temp3       "S-IO Temp"

#   set temp1_min    0
#   set temp1_max   70
#   set temp1_crit  85
#   set temp2_min    0
#   set temp2_max   70
#   set temp2_crit  85
#   set temp3_min    0
#   set temp3_max   70
#   set temp3_crit  85

# Thermistors
# On some systems, thermistors are used instead of thermal diodes.
# Note that these are the same pins used differently, so you really
# can't have them all on a given system.
#   ignore temp1
#   ignore temp2
   ignore temp4
   ignore temp5
   ignore temp6

# 3435 is the thermistor beta.
# This assumes that the thermistor forms a resistor divider with a resistor
# equal to its nominal value at 25 degres Celsius. If not, change the values.
# We also assume that you have a working in10 (which is forcibly enabled by
# default). If not, use 3.3 instead, but you lose accuracy.

   compute temp4  3435 / (` (1 / (1 - @ / in10_input) - 1) + 3435 / 298.15) - 273.15, \
                  in10_input * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
   compute temp5  3435 / (` (1 / (1 - @ / in10_input) - 1) + 3435 / 298.15) - 273.15, \
                  in10_input * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
   compute temp6  3435 / (` (1 / (1 - @ / in10_input) - 1) + 3435 / 298.15) - 273.15, \
                  in10_input * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))

#   set temp4_min    0
#   set temp4_max   70
#   set temp4_crit  85
#   set temp5_min    0
#   set temp5_max   70
#   set temp5_crit  85
#   set temp6_min    0
#   set temp6_max   70
#   set temp6_crit  85

# Fan inputs

# Ignore fans you don't have
#   ignore fan2
#   ignore fan3

#   set fan1_min 2000
#   set fan2_min 2000
#   set fan3_min 2000


chip "adm1030-*"

   label temp1 "SYS Temp"
   label temp2 "CPU Temp"

#   set temp1_max  60
#   set temp2_max  70
#   set temp1_crit 85
#   set temp2_crit 85

   label fan1 "CPU Fan"

#   set fan1_min 2000


chip "adm1031-*"

   label temp1 "SYS Temp"
   label temp2 "CPU Temp"
   label temp3 "AUX Temp"

#   set temp1_max  60
#   set temp2_max  70
#   set temp3_max  70
#   set temp1_crit 85
#   set temp2_crit 85
#   set temp3_crit 85

   label fan1 "CPU Fan"
   label fan2 "Case Fan"

#   set fan1_min 2000
#   set fan2_min 2000


chip "w83l785ts-*"

   label temp1 "CPU Diode"

chip "lm92-*"

   label temp1 "CPU Temp"

# Change limits as you see fit
#   set temp1_min 14
#   set temp1_max 60
#   set temp1_crit 72
# Hysteresis is computed from critical limit
# The same relative hysteresis is used for all of low, high
# and critical limits.
#   set temp1_crit_hyst 70


# Winbond W83627EHF configuration originally contributed by Leon Moonen
# This is for an Asus P5P800, voltages for A8V-E SE.
chip "w83627ehf-*" "w83627dhg-*"

    label in0 "VCore"
    label in2 "AVCC"
    label in3 "3VCC"
    label in7 "VSB"
    label in8 "VBAT"

# +12V is in1 and +5V is in6 as recommended by datasheet
    compute in1 @*(1+(56/10)),  @/(1+(56/10))
    compute in6 @*(1+(22/10)),  @/(1+(22/10))
#    set in1_min   12.0*0.9
#    set in1_max   12.0*1.1
#    set in6_min   5.0*0.95
#    set in6_max   5.0*1.05

# Set the 3.3V
#    set in2_min   3.3*0.95
#    set in2_max   3.3*1.05
#    set in3_min   3.3*0.95
#    set in3_max   3.3*1.05
#    set in7_min   3.3*0.95
#    set in7_max   3.3*1.05
#    set in8_min   3.3*0.95
#    set in8_max   3.3*1.05

# Fans
   label fan1      "Case Fan"
   label fan2      "CPU Fan"
   label fan3      "Aux Fan"
#  ignore fan3
#  ignore fan4
#  set fan1_min    1200
#  set fan2_min    1700

# Temperatures
   label temp1     "Sys Temp"
   label temp2     "CPU Temp"
   label temp3     "AUX Temp"

#  ignore temp3
#  set temp1_max       45
#  set temp1_max_hyst  40
#  set temp2_max       45
#  set temp2_max_hyst  40


# Fintek F71805F/FG configuration
# This is the recommended wiring and resistor values from the F71805F/FG
# datasheet. Your motherboard manufacturer may or may not have followed
# these.
chip "f71805f-*"
# Voltages
   label in0 "+3.3V"
   label in1 "Vtt1.2V"
   label in2 "Vram"
   label in3 "Vchip"
   label in4 "+5V"
   label in5 "+12V"
   label in6 "Vcc1.5V"
   label in7 "Vcore"
   label in8 "5VSB"

   # in0 is scaled internally
   compute in2  @*(1+100/100), @/(1+100/100)
   compute in3  @*(1+100/47),  @/(1+100/47)
   compute in4  @*(1+200/47),  @/(1+200/47)
   compute in5  @*(1+200/20),  @/(1+200/20)
   compute in8  @*(1+200/47),  @/(1+200/47)

   # in0 is the chip's own VCC.
   set in0_min  3.0
   set in0_max  3.6

   #set in1_min  1.2 * 0.95
   #set in1_max  1.2 * 1.05
   #set in2_min  2.5 * 0.95
   #set in2_max  2.6 * 1.05
   #set in3_min  3.3 * 0.95
   #set in3_max  3.3 * 1.05
   #set in4_min  5.0 * 0.95
   #set in4_max  5.0 * 1.05
   #set in5_min 12.0 * 0.95
   #set in5_max 12.0 * 1.05
   #set in6_min  1.5 * 0.95
   #set in6_max  1.5 * 1.05
   # in7 nominal value depends on the CPU model
   #set in7_min  1.4 * 0.95
   #set in7_max  1.4 * 1.05
   #set in8_min  5.0 * 0.95
   #set in8_max  5.0 * 1.05

# Fans
   label fan1 "CPU Fan"
   label fan2 "Sys Fan"
   label fan3 "Aux Fan"

   #set fan1_min 2100
   #set fan2_min 1400
   #set fan3_min 1400

# Temperatures
   label temp1 "CPU Temp"
   label temp2 "Sys Temp"
   label temp3 "Aux Temp"

   #set temp1_max       60
   #set temp1_max_hyst  58
   #set temp2_max       50
   #set temp2_max_hyst  48
   #set temp3_max       50
   #set temp3_max_hyst  48


# Abit Uguru sensor part configuration.
# The Abit Uguru is relativly straight forward to configure.
# label statements:
# The voltage (in) temp and fan sensors are usualy in the same order as listed
# in the BIOS, but not always!
# compute statements:
# The temp and fan sensors don't need any compute statements. Most voltage
# inputs are directly connected to the IC and thus don't need an compute line
# because the 0-3494 mV voltage given by the kernel driver is correct. The sen-
# sors for higher voltages however are connect through a divider and measure
# ranges of: 0-4361mV, 0-6248mV or 0-14510mV. Thus the measured voltages must
# be multiplied by resp. 1.248, 1.788 or 4.153. 3.3 volt sources use the 1.248
# mutiplier, 5 volt the 1.788 and 12 volt the 4.153.
# set statements:
# The Abit BIOS sets reasonable treshholds and allows changing them, thus
# set statements may be ommited. The abituguru kernel driver does support
# them if you want to add them.
#
# The configuration below is for the Kv8Pro and AV8 this is the default as this
# driver is developed and tested on a Kv8Pro.
# Configurations for many other Abit boards can be found at:
# http://www.lm-sensors.org/trac/wiki/Configurations/Abit
# If your motherboard isn't listed there and you create a configuration for it
# please add it there.

chip "abituguru-*"

   label in0 "CPU Core Voltage"
   label in1 "DDR Voltage"
   label in2 "DDR VTT Voltage"
   label in3 "NB Voltage"
   label in4 "SB Voltage"
   label in5 "HyperTransport Voltage"
   label in6 "AGP VDDQ Voltage"
   label in7 "ATX +5V"
   compute in7 @*1.788 , @/1.788
   label in8 "ATX +3.3V"
   compute in8 @*1.248 , @/1.248
   label in9 "Standby Voltage (+5V)"
   compute in9 @*1.788 , @/1.788
   label in10 "3VDual Voltage"
   compute in10 @*1.248 , @/1.248

   label temp1 "CPU Temperature"
   label temp2 "SYS Temperature"
   label temp3 "PWM Temperature"
   ignore temp4
   ignore temp5
   ignore temp6
   ignore temp7

   label fan1 "CPU FAN Speed"
   label fan2 "NB FAN Speed"
   label fan3 "SYS FAN Speed"
   label fan4 "AUX1 FAN Speed"
   label fan5 "AUX2 FAN Speed"
   ignore fan6

chip "k8temp-*"

   label temp1 "Core0 Temp"
   label temp2 "Core0 Temp"
   label temp3 "Core1 Temp"
   label temp4 "Core1 Temp"


#
# Sample configuration for the SMSC DME1737 and ASUS A8000
#
chip "dme1737-*"

# Voltage inputs
   label in0   "V5stby"
   label in1   "Vccp"
   label in2   "V3.3"
   label in3   "V5"
   label in4   "V12"
   label in5   "V3.3stby"
   label in6   "Vbat"

# Temperature inputs
   label temp1   "RD1 Temp"
   label temp2   "Int Temp"
   label temp3   "CPU Temp"

# Fan inputs
   label fan1   "CPU_Fan"
   label fan2   "Fan2"
   label fan3   "Fan3"
   label fan4   "Fan4"
   label fan5   "Fan5"
   label fan6   "Fan6"

# Set voltage limits
#   set in0_min   5.0 * 0.95
#   set in0_max   5.0 * 1.05
#   set in1_min   1.4 * 0.95
#   set in1_max   1.4 * 1.05
#   set in2_min   3.3 * 0.95
#   set in2_max   3.3 * 1.05
#   set in3_min   5.0 * 0.95
#   set in3_max   5.0 * 1.05
#   set in4_min  12.0 * 0.95
#   set in4_max  12.0 * 1.05
#   set in5_min   3.3 * 0.95
#   set in5_max   3.3 * 1.05
#   set in6_min   3.0 * 0.95
#   set in6_max   3.0 * 1.05

# Set Temp Limits
#   set temp1_min 10
#   set temp1_max 75
#   set temp2_min 10
#   set temp2_max 75
#   set temp3_min 10
#   set temp3_max 75

# Set Fan limits
#   set fan1_min 1000
#   set fan2_min 1000
#   set fan3_min 1000
#   set fan4_min 1000
#   set fan5_min 1000
#   set fan6_min 1000


#
# sample configuration for the Fintek f71882fg and f71883fg
#
# The configuration below is for the Epox EP-9U1697 GLI board, which has a
# Fintek f71883fg relabeled as Epox ep1308, this is the default config as this
# driver is developed and tested on an Epox EP-9U1697 GLI board.
#
# Premade configurations for other boards can be found at:
# http://www.lm-sensors.org/trac/wiki/Configurations/
# If your motherboard isn't listed there and you create a configuration for it
# please add it there.
#
chip "f71882fg-*"

# Temperature
    label temp1       "CPU"
    label temp2       "System"
    ignore temp3

# Fans
    label fan1        "CPU"
    label fan2        "System"
    label fan3        "Power"
    label fan4        "Aux"

# Voltage
    label in0         "3.3V"
    label in1         "Vcore"
    label in2         "Vdimm"
    label in3         "Vchip"
    label in4         "+5V"
    label in5         "12V"
    label in6         "5VSB"
    label in7         "3VSB"
    label in8         "Battery"

# never change the in0, in7 and in8 compute, these are hardwired in the chip!
    compute in0       (@ * 2), (@ / 2)
    compute in2       (@ * 2), (@ / 2)
    compute in3       (@ * 2), (@ / 2)
    compute in4       (@ * 5.25), (@ / 5.25)
    compute in5       (@ * 12.83), (@ / 12.83)
    compute in6       (@ * 5.25), (@ / 5.25)
    compute in7       (@ * 2), (@ / 2)
    compute in8       (@ * 2), (@ / 2)


chip "adm1022-*" "thmc50-*"

   label temp1 "M/B Temp"
   # Single CPU setup
   label temp2 "CPU Temp"

   # Dual CPU setup (ADM1022 only)
   #label temp2 "CPU0 Temp"
   #label temp3 "CPU1 Temp"

# Asus/Fintek F8000
chip "f8000-*"

   # All 3 voltages are internal, but scaling is not done by the driver
   # so we do it here
   compute in0  @*2, @/2
   compute in1  @*2, @/2
   compute in2  @*2, @/2

   label  in0  "+3.3V"
   label  in1  "3VSB"
   label  in2  "Vbat"