Show
Ignore:
Timestamp:
03/28/04 17:27:26 (9 years ago)
Author:
khali
Message:

Update pcf8591 default configuration, make it compliant with 2.6

driver.

Files:
1 modified

Legend:

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

    r2385 r2399  
    16311631 
    16321632   ignore ain_conf 
    1633    set    ain_conf    0 
     1633# Since Linux 2.6, input configuration is set as module parameter, 
     1634# so the line below is for older kernels only. 
     1635#  set    ain_conf    0 
     1636 
     1637# You may discard ch2 and ch3 if you don't use them (depends on the input 
     1638# configuration) 
     1639#  ignore ch2 
     1640#  ignore ch3 
     1641 
    16341642   label  ch0         "Chan. 0" 
    16351643   label  ch1         "Chan. 1" 
    16361644   label  ch2         "Chan. 2" 
    16371645   label  ch3         "Chan. 3" 
     1646 
     1647# The driver assumes Vref = 2.56V and Agnd = 0V. If it doesn't match 
     1648# your hardware, you have to use compute lines. The example below is 
     1649# correct for Vref = 5.0V and Agnd = 0V. 
     1650#  compute ch0 (@ * 500 / 256), (@ * 256 / 500) 
     1651#  compute ch1 (@ * 500 / 256), (@ * 256 / 500) 
     1652#  compute ch2 (@ * 500 / 256), (@ * 256 / 500) 
     1653#  compute ch3 (@ * 500 / 256), (@ * 256 / 500) 
    16381654 
    16391655# Analog output