Show
Ignore:
Timestamp:
01/25/02 02:33:38 (11 years ago)
Author:
mds
Message:

add comment to it87 in2 compute line (tkt #798)

Files:
1 modified

Legend:

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

    r1284 r1295  
    922922chip "lm87-*" 
    923923# 
     924# The LM87 is unique in having integrated scaling resistors, rather 
     925# than external resistors common to most sensor devices. 
     926# These apply to the first 6 voltage inputs in0-in5 
     927# (+2.5, Vccp1, +3.3, +5, 12, +Vccp2). As the scaling is fixed inside 
     928# the chip for these inputs, it is fairly certain that the 
     929# motherboard connections match these labels, and that the 
     930# driver computations are correct. Therefore they do not need to 
     931# be overridden here. 
     932# 
     933# Note: AIN1 (-12?), AIN2 (-5?) and CPU2_temp require changing 
     934# #defines in the driver and recompiling!!! 
     935# 
    924936# This chip has non-standard entries in lib/chips.c so 
    925937# the feature names are quite different from other chips. 
     
    935947# with double quotes. 
    936948# 
     949# It is unlikely you will need to use the following 6 lines (see above) 
    937950#   label "2.5V" "xxx" 
    938951#   label Vccp1 "xxx" 
     
    941954#   label "12V" "xxx" 
    942955#   label Vccp2 "xxx" 
    943 #   label AIN1 "xxx" 
    944 #   label AIN2 "xxx" 
     956 
    945957#   label fan1 "xxx" 
    946958#   label fan2 "xxx" 
     
    955967#   set "12V_min" xxx 
    956968#   set Vccp2_min xxx 
    957 #   set AIN1_min xxx 
    958 #   set AIN2_min xxx 
    959969# 
    960970#   set AmbTemp_max xxx 
     
    964974#   set "12V_max" xxx 
    965975#   set Vccp2_max xxx 
    966 #   set AIN1_max xxx 
    967 #   set AIN2_max xxx 
    968976# 
    969977#   set fan1_min xxx 
     
    978986#   set fan2_div xxx 
    979987 
     988# It is unlikely you will need to use the following 6 lines (see above) 
    980989#   compute "2.5V" xxx 
    981990#   compute Vccp1 xxx 
     
    984993#   compute "12V" xxx 
    985994#   compute Vccp2 xxx 
    986 #   compute AIN1 xxx 
    987 #   compute AIN2 xxx 
     995 
    988996#   compute temp1 xxx 
    989997#   compute CPU_Temp xxx 
    990998#   compute CPU2_Temp xxx 
    991999 
     1000# LM87 AIN1 and AIN2 Section 
     1001# As described above, the driver must be recompiled to use either or 
     1002# both of these. -12 and -5 may be reversed on your board, this is 
     1003# just a guess, the datasheet gives no guidance. 
     1004#   label AIN1 "-12V" 
     1005#   label AIN2 "-5V" 
     1006#   set AIN1_min -12 * 0.95 
     1007#   set AIN2_min -5 * 0.95 
     1008#   set AIN1_max -12 * 1.05 
     1009#   set AIN2_max -5 * 0.95 
     1010#   compute AIN1 (7.50 * @) - 21.45  ,  (@ + 21.45) / 7.50 
     1011#   compute AIN2 (4.05 * @) - 10.07  ,  (@ + 10.07) / 4.05 
    9921012 
    9931013chip "adm9240-*" "ds1780-*" "lm81-*" 
     
    10971117    ignore  vid 
    10981118 
     1119# If 3.3V reads 2X too high (Soyo Dragon, for example), 
     1120# comment out following line. 
     1121    compute in2   2*@ , @/2 
     1122# 
     1123    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1) 
     1124    compute in4 ((30/10) +1)*@  , @/((30/10) +1) 
    10991125# For this family of chips the negative voltage equation is different from 
    11001126# the lm78.  The chip uses two external resistor for scaling but one is 
     
    11031129# Vs = (1 + Rin/Rf) * Vin - (Rin/Rf) * Vref. 
    11041130# Vref = 4.096 volts, Vin is voltage measured, Vs is actual voltage. 
    1105     compute in2 (1 + 1)*@ ,       @/(1 + 1) 
    1106     compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1) 
    1107     compute in4 ((30/10) +1)*@  , @/((30/10) +1) 
     1131 
    11081132# The next two are negative voltages (-12 and -5). 
    11091133# The following formulas must be used. Unfortunately the datasheet