Changeset 4773

Show
Ignore:
Timestamp:
09/05/07 17:52:56 (7 years ago)
Author:
khali
Message:

More cleanups: drop legacy references, sections for drivers not
yet ported to Linux 2.6, etc.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/etc/sensors.conf.eg

    r4772 r4773  
    5454# 
    5555# Undefined features will be silently ignored in 'label' and 'compute' lines. 
    56 # Undefined features in 'set' lines will result in 'Unknonw feature name' 
     56# Undefined features in 'set' lines will result in 'Unknown feature name' 
    5757# when running 'sensors -s'. 
    5858# 
    5959# Unfortunately, feature names starting with a number must be in 
    6060# double quotes or you get "parse error, expecting 'NAME'". 
    61 # 
    62 # If you have trouble, verify the features in lib/chips.c!!! 
    6361# 
    6462# 
     
    6967# If no label is specified for a certain feature, the default name 
    7068# (ie. 'fan1' for fan1) is used. 
    71 # 
    72 # If you specify a label for in1, this label is also used for in1_min and 
    73 # in1_max, unless they have their own labels declared. There are several 
    74 # of these logical groups. 
    7569# 
    7670# These are as advised in the LM78 and LM79 data sheets, and used on most 
     
    8983# ------------- 
    9084# A compute line describes how to scale a certain feature. There are 
    91 # two expressions in it: the first describes how the /proc value must 
     85# two expressions in it: the first describes how the driver value must 
    9286# be translated to a user value, the second how a user value must be 
    93 # translated to a /proc value. '@' is the value to operate on. You may 
    94 # refer to other readable features (like '2 * vid'). 
     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'). 
    9589# 
    9690# The following operators are valid: + - * / ( ) ^ ` 
    97 # ^ is e**x and ` is ln(x) (valid in library version 2.0.0 / 
    98 # lm_sensors 2.8.0 or higher) 
    99 # 
    100 # Like for the label statement, there are logical groups here. They are 
    101 # sometimes a bit different, though. For example, fan1_div is in the 
    102 # logical label group of fan1 (it gets the same label if none is declared 
    103 # for it), but it is not in the compute group of fan1 (as it uses a 
    104 # completely different system of values). 
     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. 
    10596# 
    10697# 
     
    172163# 
    173164# Sensor type adjustments (certain chips only): 
    174 # ...Set temp1 to processor's thermal diode: 
    175 #       set temp1_type 1 (Winbond chips) 
    176 #       set temp1_type 3 (IT87xx and MTP008 chips) 
    177 # 
    178 # ...Set temp1 sensor to 3904 transistor: 
    179 #       set temp1_type 2 (Winbond chips) 
    180 # 
    181 # ...Set temp1 to thermistor: 
    182 #       set temp1_type 3435 (Winbond chips) 
    183 #       set temp1_type 2 (IT87xx and MTP008 chips) 
     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 
    184171# 
    185172# Often, a temperature sensor is disconnected; disable it with an ignore line: 
     
    204191#       set temp1_max_hyst 37 
    205192# 
    206 # Think of tempx_over as 'alarm set' and tempx_hyst as 'alarm clear' 
    207 # thresholds. In most cases the 'over' value should be higher than 
    208 # the 'hyst' value by several degrees. 
     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. 
    209196# 
    210197# All the set statements from this file are commented out by default. 
     
    217204# IGNORE LINES 
    218205# ------------ 
    219 # Ignore statements tell certain features are not wanted. User programs can 
    220 # still read them if they really want, though; this is just an advisory 
    221 # marking. 'in0' would also invalidate 'in0_max' and 'in0_min'. 
     206# Ignore statements tell certain features are not wanted. As with compute 
     207# statements, 'ignore in0' would also invalidate 'in0_max' and 'in0_min'. 
    222208# 'ignore' does not disable anything in the actual sensor chip; it 
    223 # simply advises the user program to not access that data. 
     209# simply prevents the user program from accessing that data. 
    224210# 
    225211#       ignore in0 
     
    374360chip "lm75-*" 
    375361 
    376 # Most boards don't need scaling. Following is 
    377 # for the Asus TX97-E. If it doesn't work for you, feel free to complain. 
     362# Most boards don't need scaling. Following is for the Asus TX97-E. 
    378363#   compute temp1 @*2.0, @/2.0 
    379364 
     
    440425 
    441426# examples for sis5595 temperature limits; 
    442 # for sis5595, temp_hyst is really the low limit, not a hysteresis value 
    443427#    set temp1_max      40 
    444428#    set temp1_max_hyst 37 
     
    662646# Data sheet is obviously wrong for in4, the usual formula should work. 
    663647# No in5 nor in6. 
    664 # sensors doesn't need the ignore lines but sensord does... 
    665     ignore in5 
    666     ignore in6 
    667648 
    668649    label in0 "VCore" 
     
    940921# inputs, in mode 2 it has only one and an extra (negative) voltage input. 
    941922# The mode is supposed to be set properly by your BIOS so you should not 
    942 # need to change it. You can force it below if really needed though. 
    943 # Note that this means that you have either temp2 or vin4 but never both 
    944 # at the same time. 
     923# need to change it. Note that you have either temp2 or in4, not both. 
    945924 
    946925  label in0 "+5V" 
     
    976955 
    977956# The values below should be correct if you own a qdi BX (brilliant1) 
    978 # mainboard. If not, please contact us, so we can figure out better readings. 
    979 # Many thanks go to Peter T. Breuer <ptb@it.uc3m.es> for helping us figure 
     957# mainboard. Many thanks go to Peter T. Breuer for helping us figure 
    980958# out how to handle the LM80. 
    981959 
     
    10351013# "crit" may or may not do anything on your motherboard but it should 
    10361014#  be set higher than the "max" thresholds. 
    1037 #    set temp1_max_hyst 45 
    1038 #    set temp1_max  52 
     1015#    set temp1_max_hyst   45 
     1016#    set temp1_max        52 
    10391017#    set temp1_crit_hyst  57 
    1040 #    set temp1_crit   62 
     1018#    set temp1_crit       62 
    10411019 
    10421020 
     
    10461024# reflect what they say.  Unfortunately, they are not at all specific about 
    10471025# how to convert any of the register values to real units.  Fortunately, 
    1048 # Jonathan Yew <j.teh@iname.com> and Alex van Kaam <darkside@chello.nl> 
    1049 # came through with some data for temp conversion and formulae for voltage 
    1050 # conversion. However, the conversions should be regarded as our best guess- 
    1051 # YMMV. 
     1026# Jonathan Yew and Alex van Kaam came through with some data for temp 
     1027# conversion and formulae for voltage conversion. However, the conversions 
     1028# should be regarded as our best guess - YMMV. 
    10521029 
    10531030# On the Tyan S1598, the 2.5V sensor reads 0 and is not displayed in the BIOS. 
    1054 # Linas Vepstas <linas@linas.org> reports that this sensor shows nothing of 
     1031# Linas Vepstas reports that this sensor shows nothing of 
    10551032# interest on the Abit KA7 (Athlon), and is also not displayed in the BIOS. 
    1056 # Likewise, Johannes Drechsel-Burkhard <jdb@chello.at> reports that this 
     1033# Likewise, Johannes Drechsel-Burkhard reports that this 
    10571034# sensor is unavailable in the BIOS of his MSI K7T Pro (Thunderbird).  So, 
    1058 # if you have one of these boards you may want to uncomment the 'ignore 2.5V' 
     1035# if you have one of these boards you may want to uncomment the 'ignore in1' 
    10591036# line below. 
    10601037 
     
    10761053# conversion info).  So, you may wish to 'ignore temp3'. 
    10771054 
    1078 # Johannes Drechsel-Burkhard <jdb@chello.at> notes that on his MSI K7T Pro, 
     1055# Johannes Drechsel-Burkhard notes that on his MSI K7T Pro, 
    10791056# temp1 is the CPU temp and temp2 is the SYS temp. Hugo van der Merwe notes 
    10801057# the same for his Gigabyte GA-7DXC, Olivier Martin for his Gigabyte 
     
    11031080#    set in4_max 12 * 1.1 
    11041081 
    1105 # Set your temp limits here.  Remember, 'tempX_over' is the temp at which an 
    1106 # alarm is triggered, and 'tempX_hyst' is the temp at which an alarm turns off. 
    1107 # Setting tempX_hyst to a few degrees below the corresponding tempX_over 
     1082# Set your temp limits here.  Remember, 'tempX_max' is the temp at which an 
     1083# alarm is triggered, and 'tempX_max_hyst' is the temp at which an alarm turns off. 
     1084# Setting tempX_max_hyst to a few degrees below the corresponding tempX_max 
    11081085# prevents an oscillation between alarm on and off states.  This kind of 
    11091086# oscillation is known as hyteresis, thus the name.  (You typically get the 
     
    11251102    #set fan2_min 5000 
    11261103 
    1127  
    1128 chip "mtp008-*" 
    1129  
    1130 # The values below should be correct if you own a Tyan S1834D motherboard. 
    1131 # If not, please contact us, so we can figure out better readings. 
    1132 # FOR TYAN S2510 SEE END OF THIS SECTION. 
    1133  
    1134 # For positive voltages outside the 0..4.09V range (in2..in4), two resistors 
    1135 # are used, with the following formula (R1,R2: resistor values, Vs: read 
    1136 # voltage, Vin: pin voltage) 
    1137 #   Vin = Vs * (R2 / (R1 + R2)) 
    1138 # For negative voltages (in5) two resistors are used, with the following 
    1139 # formula (R3,R4: resistor values, Vs: read voltage, Vin: pin voltage) 
    1140 #   Vin = ((4.096 - Vs) * (R3 / (R3 + R4))) + Vs 
    1141  
    1142 # Here are the official MTP008 data sheet values: 
    1143 #       Vs      R1,R3   R2,R4    Vin 
    1144 #      +12.0    28000   10000   +3.16 
    1145 #      -12.0   232000   56000   +0.96 
    1146 #       -5.0   120000   56000   +1.20 
    1147  
    1148     label in0 "VCore1" 
    1149     label in1 "+3.3V" 
    1150     label in2 "+12V" 
    1151     label in3 "Vcore2" 
    1152     ignore in4 
    1153     label in5 "-12V" 
    1154     label in6 "Vtt" 
    1155  
    1156     label fan1 "CPU1 Fan" 
    1157     label fan2 "CPU2 Fan" 
    1158     label fan3 "fan3" 
    1159  
    1160     label temp1 "CPU1 Temp" 
    1161     label temp2 "CPU2 Temp" 
    1162     ignore temp3 
    1163  
    1164     compute in2 @ * 38 / 10,            @ * 10 / 38 
    1165     compute in5 (@ * 36 - 118.61) / 7,  (118.61 + 7 * @) / 36 
    1166  
    1167 # examples for temperature limits 
    1168 #    set temp1_max      40 
    1169 #    set temp1_max_hyst 37 
    1170 #    set temp2_max      52 
    1171 #    set temp2_max_hyst 47 
    1172 #    set temp3_max      52 
    1173 #    set temp3_max_hyst 47 
    1174  
    1175 # End of standard mtp008 configuration 
    1176  
    1177 # TYAN S2510 INFORMATION 
    1178 # This motherboard has two mtp008's which are hooked up differently, 
    1179 # so they must be configured separately. 
    1180 # For this motherboard, COMMENT OUT the above mtp008 section and 
    1181 # UNCOMMENT the following two sections. 
    1182 # 
    1183 #chip "mtp008-i2c-*-2c" 
    1184 #    label in0 "VCore1" 
    1185 #    set in0_min 1.60 
    1186 #    set in0_max 1.80 
    1187 #    label in1 "+3.3V" 
    1188 #    label in2 "+12V" 
    1189 #    label in3 "Vcore2" 
    1190 #    set in3_min 1.60 
    1191 #    set in3_max 1.80 
    1192 #    ignore in4 
    1193 #    label in5 "-12V" 
    1194 #    label in6 "Vtt" 
    1195 #    label fan1 "CPU1 Fan" 
    1196 #    label fan2 "CPU2 Fan" 
    1197 #    label fan3 "fan3" 
    1198 #    label temp1 "CPU1 Temp" 
    1199 #    label temp2 "CPU2 Temp" 
    1200 #    ignore temp3 
    1201 #    compute in2 @ * 38 / 10,           @ * 10 / 38 
    1202 #    compute in5 (@ * 36 - 118.61) / 7, (118.61 + 7 * @) / 36 
    1203 # 
    1204 #chip "mtp008-i2c-*-2e" 
    1205 #    ignore in0 
    1206 #    label in1 "+3.3V" 
    1207 #    ignore in2 
    1208 #    label in3 "+5V" 
    1209 #    set in3_min 4.50 
    1210 #    set in3_max 5.50 
    1211 #    ignore in4 
    1212 #    label in5 "+3.3V" 
    1213 #    ignore in6 
    1214 #    label fan1 "fan4" 
    1215 #    label fan2 "fan5" 
    1216 #    label fan3 "fan6" 
    1217 #    ignore temp1 
    1218 #    label temp2 "MB Temp" 
    1219 #    set temp2_max 52 
    1220 #    set temp2_max_hyst 47 
    1221 #    ignore temp3 
    12221104 
    12231105chip "adm1025-*" "ne1619-*" 
     
    12811163# driver computations are correct. Therefore they do not need to 
    12821164# be overridden here. 
    1283 # 
    1284 # Note: AIN1 (-12?), AIN2 (-5?) and temp3 require changing 
    1285 # #defines in the driver and recompiling!!! 
    1286 # This does not apply to the Linux 2.6 driver. 
    1287 # 
    1288 # This chip has non-standard entries in lib/chips.c so 
    1289 # the feature names are quite different from other chips. 
    1290 # For this chip, libsensors anticipates the correct labeling. 
    1291 # This is great if it's correct but makes it a little more 
    1292 # difficult if you want to change it. 
    1293 # 
    1294 # This may not have been a good idea, so it may be changed in the future. 
    1295 # Here is an entry with everything commented out so you can 
    1296 # uncomment the appropriate line if you want to change it. 
    1297 # 
    1298 # Warning - feature names starting with a number must be enclosed 
    1299 # with double quotes. 
    13001165 
    13011166   label in0  "+2.5V" 
     
    13471212 
    13481213# LM87 AIN1 and AIN2 Section 
    1349 # As described above, the driver must be recompiled to use either or 
    1350 # both of these. -12 and -5 may be reversed on your board, this is 
     1214# -12 and -5 may be reversed on your board, this is 
    13511215# just a guess, the datasheet gives no guidance. 
    1352 # Note that the Linux 2.6 driver needs no recompilation, it'll read the 
    1353 # configuration from the chip. 
    13541216#   label in6 "-12V" 
    13551217#   label in7 "-5V" 
     1218#   compute in6 (7.50 * @) - 21.45  ,  (@ + 21.45) / 7.50 
     1219#   compute in7 (4.05 * @) - 10.07  ,  (@ + 10.07) / 4.05 
    13561220#   set in6_min -12 * 0.95 
    13571221#   set in7_min -5 * 0.95 
    13581222#   set in6_max -12 * 1.05 
    13591223#   set in7_max -5 * 1.05 
    1360 #   compute in6 (7.50 * @) - 21.45  ,  (@ + 21.45) / 7.50 
    1361 #   compute in7 (4.05 * @) - 10.07  ,  (@ + 10.07) / 4.05 
    1362  
    1363 chip "adm9240-*" "ds1780-*" "lm81-*" 
    1364 # 
    1365 # These chips have non-standard entries in lib/chips.c so 
    1366 # the feature names are quite different from other chips. 
    1367 # For these chips, libsensors anticipates the correct labeling. 
    1368 # This is great if it's correct but makes it a little more 
    1369 # difficult if you want to change it. 
    1370 # 
    1371 # This may not have been a good idea, so it may be changed in the future. 
    1372 # Here is an entry with everything commented out so you can 
    1373 # uncomment the appropriate line if you want to change it. 
    1374 # 
    1375 # Warning - feature names starting with a number must be enclosed 
    1376 # with double quotes. 
    1377 # 
    1378 #   label in0 "xxx" 
    1379 #   label in1 "xxx" 
    1380 #   label in2 "xxx" 
    1381 #   label in3 "xxx" 
    1382 #   label in4 "xxx" 
    1383 #   label in5 "xxx" 
    1384 #   label fan1 "xxx" 
    1385 #   label fan2 "xxx" 
    1386 #   label temp1 "xxx" 
    1387 # 
    1388 #   set in1_min xxx 
    1389 #   set in0_min xxx 
    1390 #   set in2_min xxx 
    1391 #   set in3_min xxx 
    1392 #   set in4_min xxx 
    1393 #   set in5_min xxx 
    1394 # 
    1395 #   set in1_max xxx 
    1396 #   set in0_max xxx 
    1397 #   set in2_max xxx 
    1398 #   set in3_max xxx 
    1399 #   set in4_max xxx 
    1400 #   set in5_max xxx 
    1401 # 
    1402 #   set fan1_div xxx    Note: do not uncomment with kernel 2.6 driver 
    1403 #   set fan2_div xxx    Note: do not uncomment with kernel 2.6 driver 
    1404 #   set fan1_min xxx 
    1405 #   set fan2_min xxx 
    1406 #   set temp1_max_hyst xxx 
    1407 #   set temp1_max xxx 
    1408  
    1409 #   compute in0 xxx 
    1410 #   compute in1 xxx 
    1411 #   compute in2 xxx 
    1412 #   compute in3 xxx 
    1413 #   compute in4 xxx 
    1414 #   compute in5 xxx 
    1415 #   compute temp1 xxx 
    1416  
    1417 chip "adm1024-*" 
    1418 # 
    1419 # These settings work for me, adjust for your system 
    1420 # 
    1421     label fan1 "CPU1 fan" 
    1422     label fan2 "CPU2 fan" 
    1423     label temp1 "SYS Temp" 
    1424     label temp2 "CPU2 Temp" 
    1425     label temp3 "CPU1 Temp" 
    1426     ignore in0 # This register is also used for temp3 
    1427     ignore in1 
    1428     ignore in5 
    14291224 
    14301225 
     
    15111306# you probably need to change the sensor type. 
    15121307# Adujst and uncomment the appropriate lines below. 
    1513 # The old method (modprobe it87 temp_type=0xXX) is no longer supported. 
    15141308# 
    15151309# 2 = thermistor; 3 = thermal diode; 0 = unused 
     
    15481342#   ignore fan3 
    15491343#   set fan3_min 3000 
    1550  
    1551 # The following is for the Inside Technologies 786LCD which uses either a 
    1552 # IT8705F or a SIS950 for monitoring with the SIS630. 
    1553 # 
    1554 # delete or comment out above it87 section and uncomment the following. 
    1555 #chip "it87-*" 
    1556 #    label in0 "VCore 1" 
    1557 #    label in1 "VCore 2" 
    1558 #    label in2 "+3.3V" 
    1559 #    label in3 "+5V" 
    1560 #    label in4 "+12V" 
    1561 #    label in5 "3.3 Stdby" 
    1562 #    label in6 "-12V" 
    1563 #    label in7 "Stdby" 
    1564 #    label in8 "VBat" 
    1565     # in0 will depend on your processor VID value, set to voltage specified in 
    1566     # bios setup screen 
    1567 #    set in0_min 1.7 * 0.95 
    1568 #    set in0_max 1.7 * 1.05 
    1569 #    set in1_min 2.4 
    1570 #    set in1_max 2.6 
    1571 #    set in2_min 3.3 * 0.95 
    1572 #    set in2_max 3.3 * 1.05 
    1573 #    set in3_min 5.0 * 0.95 
    1574 #    set in3_max 5.0 * 1.05 
    1575     # +- 12V are very poor tolerance on this board. Verified with voltmeter 
    1576 #    set in4_min 12 * 0.90 
    1577 #    set in4_max 12 * 1.10 
    1578 #    set in5_min 3.3 * 0.95 
    1579 #    set in5_max 3.3 * 1.05 
    1580 #    set in6_max -12 * 0.90 
    1581 #    set in6_min -12 * 1.10 
    1582 #    set in7_min 5 * 0.95 
    1583 #    set in7_max 5 * 1.05 
    1584     # vid not monitored by IT8705F 
    1585 #    ignore  cpu0_vid 
    1586  
    1587 #    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1) 
    1588 #    compute in4 ((30/10) +1)*@  , @/((30/10) +1) 
    1589 #    compute in6 (1+232/56)*@ - 4.096*232/56, (@ + 4.096*232/56)/(1+232/56) 
    1590 #    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1) 
    1591     # Temperature 
    1592 #    label temp1       "CPU Temp" 
    1593 #    ignore temp2 
    1594 #    ignore temp3 
    1595     # Fans 
    1596 #    set fan1_min 3000 
    1597 #    ignore fan2 
    1598 #    ignore fan3 
    15991344 
    16001345 
     
    20471792# 3435 is the thermistor beta, 2.2 is the reference voltage. 
    20481793# '^' is the e**x operator; '`' is the ln(x) operator 
    2049 # (valid in library version 1.4.0 / lm_sensors 2.7.1 or higher) 
    20501794# This assumes that the thermistor forms a resistor divider with a resistor 
    20511795# equal to its nominal value at 25 degrees C. 
     
    20641808#    set fan2_min 3000 
    20651809 
    2066 chip "bmc-*" 
    2067 # 
    2068 # You should not need compute lines here, the driver will 
    2069 # do all the conversions. 
    2070 # For label lines, copy from syslog/dmesg when the bmcsensors 
    2071 # module is inserted. 
    2072 # 
    2073 # for example: 
    2074 # label temp1 "Ambient Temp" 
    2075  
    20761810 
    20771811chip "smsc47m1-*" 
     
    20791813# SMSC LPC47M10x, LPC47M13x, LPC47M14x and LPC47B27x chips 
    20801814 
    2081 # We don't set the fan mins by default anymore because they may not exist 
    2082 # when using the Linux 2.6 driver (since we respect the original chip 
    2083 # configuration). 
    20841815#    set fan1_min 3000 
    20851816#    set fan2_min 3000 
     
    24302161    label in7 "VSB" 
    24312162    label in8 "VBAT" 
    2432  
    2433 # The W83627DHG has no in9, uncomment the following line 
    2434 #    ignore in9 
    24352163 
    24362164# +12V is in1 and +5V is in6 as recommended by datasheet