Changeset 2668

Show
Ignore:
Timestamp:
08/22/04 18:46:30 (4 years ago)
Author:
khali
Message:

Move it87 voltage limits setting after compute lines.

Files:

Legend:

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

    r2642 r2668  
    14001400    label in8 "VBat" 
    14011401 
     1402    # vid is not monitored by IT8705F 
     1403    # and is not supported by driver at this time 
     1404    ignore  vid 
     1405 
     1406# Incubus Saturnus reports that the IT87 chip on Asus A7V8X-X seems 
     1407# to report the VCORE voltage approximately 0.05V higher than the board's 
     1408# BIOS does. Although it doesn't make much sense physically, uncommenting 
     1409# the next line should bring the readings in line with the BIOS' ones in 
     1410# this case. 
     1411# compute in0 -0.05+@ , @+0.05 
     1412 
     1413# If 3.3V reads 2X too high (Soyo Dragon and Asus A7V8X-X, for example), 
     1414# comment out following line. 
     1415    compute in2   2*@ , @/2 
     1416# 
     1417    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1) 
     1418    compute in4 ((30/10) +1)*@  , @/((30/10) +1) 
     1419# For this family of chips the negative voltage equation is different from 
     1420# the lm78.  The chip uses two external resistor for scaling but one is 
     1421# tied to a positive reference voltage.  See ITE8705/12 datasheet (SIS950 
     1422# data sheet is wrong) 
     1423# Vs = (1 + Rin/Rf) * Vin - (Rin/Rf) * Vref. 
     1424# Vref = 4.096 volts, Vin is voltage measured, Vs is actual voltage. 
     1425 
     1426# The next two are negative voltages (-12 and -5). 
     1427# The following formulas must be used. Unfortunately the datasheet 
     1428# does not give recommendations for Rin, Rf, but we can back into 
     1429# them based on a nominal +2V input to the chip, together with a 4.096V Vref. 
     1430# Formula: 
     1431#    actual V = (Vmeasured * (1 + Rin/Rf)) - (Vref * (Rin/Rf)) 
     1432#    For -12V input use Rin/Rf = 6.68 
     1433#    For -5V input use Rin/Rf = 3.33 
     1434# Then you can convert the forumula to a standard form like: 
     1435    compute in5 (7.67 * @) - 27.36  ,  (@ + 27.36) / 7.67 
     1436    compute in6 (4.33 * @) - 13.64  ,  (@ + 13.64) / 4.33 
     1437# 
     1438# this much simpler version is reported to work for a 
     1439# Elite Group K7S5A board 
     1440# 
     1441#   compute in5 -(36/10)*@, -@/(36/10) 
     1442#   compute in6 -(56/10)*@, -@/(56/10) 
     1443# 
     1444    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1) 
     1445 
    14021446    set in0_min 1.5 * 0.95 
    14031447    set in0_max 1.5 * 1.05 
     
    14171461    set in7_max 5 * 1.05 
    14181462    #the chip does not support in8 min/max 
    1419  
    1420     # vid is not monitored by IT8705F 
    1421     # and is not supported by driver at this time 
    1422     ignore  vid 
    1423  
    1424 # Incubus Saturnus reports that the IT87 chip on Asus A7V8X-X seems 
    1425 # to report the VCORE voltage approximately 0.05V higher than the board's 
    1426 # BIOS does. Although it doesn't make much sense physically, uncommenting 
    1427 # the next line should bring the readings in line with the BIOS' ones in 
    1428 # this case. 
    1429 # compute in0 -0.05+@ , @+0.05 
    1430  
    1431 # If 3.3V reads 2X too high (Soyo Dragon and Asus A7V8X-X, for example), 
    1432 # comment out following line. 
    1433     compute in2   2*@ , @/2 
    1434 # 
    1435     compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1) 
    1436     compute in4 ((30/10) +1)*@  , @/((30/10) +1) 
    1437 # For this family of chips the negative voltage equation is different from 
    1438 # the lm78.  The chip uses two external resistor for scaling but one is 
    1439 # tied to a positive reference voltage.  See ITE8705/12 datasheet (SIS950 
    1440 # data sheet is wrong) 
    1441 # Vs = (1 + Rin/Rf) * Vin - (Rin/Rf) * Vref. 
    1442 # Vref = 4.096 volts, Vin is voltage measured, Vs is actual voltage. 
    1443  
    1444 # The next two are negative voltages (-12 and -5). 
    1445 # The following formulas must be used. Unfortunately the datasheet 
    1446 # does not give recommendations for Rin, Rf, but we can back into 
    1447 # them based on a nominal +2V input to the chip, together with a 4.096V Vref. 
    1448 # Formula: 
    1449 #    actual V = (Vmeasured * (1 + Rin/Rf)) - (Vref * (Rin/Rf)) 
    1450 #    For -12V input use Rin/Rf = 6.68 
    1451 #    For -5V input use Rin/Rf = 3.33 
    1452 # Then you can convert the forumula to a standard form like: 
    1453     compute in5 (7.67 * @) - 27.36  ,  (@ + 27.36) / 7.67 
    1454     compute in6 (4.33 * @) - 13.64  ,  (@ + 13.64) / 4.33 
    1455 # 
    1456 # this much simpler version is reported to work for a 
    1457 # Elite Group K7S5A board 
    1458 # 
    1459 #   compute in5 -(36/10)*@, -@/(36/10) 
    1460 #   compute in6 -(56/10)*@, -@/(56/10) 
    1461 # 
    1462     compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1) 
    14631463 
    14641464# Temperature