Changeset 5076

Show
Ignore:
Timestamp:
12/17/07 22:59:15 (4 years ago)
Author:
khali
Message:

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

Location:
lm-sensors/branches/lm-sensors-3.0.0
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/CHANGES

    r5072 r5076  
    1212           Use the same colors for daily and weekly charts 
    1313           Drop workaround needed by old versions of rrdtool 
     14  sensors.conf.eg: Fix voltage value references (g520sm, lm80, pc87366) 
    1415  sensors-detect: Drop PCA9540 detection 
    1516 
  • lm-sensors/branches/lm-sensors-3.0.0/etc/sensors.conf.eg

    r4980 r5076  
    938938 
    939939  compute in2 (197/47)*@  ,  @/(197/47) 
    940   compute in4 (5*@)-(4*in0) , (@+4*in0)/5 
     940  compute in4 (5*@)-(4*in0_input) , (@+4*in0_input)/5 
    941941 
    942942#  set in0_min 4.8 
     
    988988    compute in3 (2.8/1.9) * @,            @ * 1.9/2.8 
    989989    compute in4 (160/30.1 + 1) * @,       @ / (160/30.1 + 1) 
    990     compute in5 (160/35.7)*(@ - in0) + @, (@ + in0 * 160/35.7)/ (1 + 160/35.7) 
    991     compute in6 (36/16.2)*(@ - in0) + @,  (@ + in0 * 36/16.2) / (1 + 36/16.2) 
     990    compute in5 (160/35.7)*(@ - in0_input) + @, (@ + in0_input * 160/35.7)/ (1 + 160/35.7) 
     991    compute in6 (36/16.2)*(@ - in0_input) + @,  (@ + in0_input * 36/16.2) / (1 + 36/16.2) 
    992992 
    993993#    set in0_min 5 * 0.95 
     
    20652065# default). If not, use 3.3 instead, but you lose accuracy. 
    20662066 
    2067    compute temp4  3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \ 
    2068                   in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15)))) 
    2069    compute temp5  3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \ 
    2070                   in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15)))) 
    2071    compute temp6  3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \ 
    2072                   in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15)))) 
     2067   compute temp4  3435 / (` (1 / (1 - @ / in10_input) - 1) + 3435 / 298.15) - 273.15, \ 
     2068                  in10_input * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15)))) 
     2069   compute temp5  3435 / (` (1 / (1 - @ / in10_input) - 1) + 3435 / 298.15) - 273.15, \ 
     2070                  in10_input * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15)))) 
     2071   compute temp6  3435 / (` (1 / (1 - @ / in10_input) - 1) + 3435 / 298.15) - 273.15, \ 
     2072                  in10_input * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15)))) 
    20732073 
    20742074#   set temp4_min    0