diff --git a/CHANGES b/CHANGES index 13b95f02..4345a076 100644 --- a/CHANGES +++ b/CHANGES @@ -33,15 +33,20 @@ ask CVS about it: Remove initialization of limits by driver. Module asb100: New Module bmcsensors: Fix voltage scaling, voltage and fan limits + Modules ddcmon, eeprom: Add failure printks Module fscher: New (Fujitsu-Siemens Hermes driver) + Module i2c-nforce2: Fix byte writes Module i2c-piix4: Add support for CSB6 Module i2c-sis630: Sync with 2.6.0-X driver version Module it87: Add pwm and "smart guardian" support; add it87 sensor type support Module lm90: Add ADM1032 support Module w83781d: Fix 791d and 627hf detection + Program eeprog: New Programs i2cdetect, i2cdump, i2cset: add -v (version) option; support sysfs for i2c bus search + Program i2cdetect: Add -l option to list busses + Program i2cdump: Add 'c' mode for consective address reads Program mkpatch: Cleanups Program pwmconfig: Handle multiple fans controlled by a single pwm Program sensord: Remove ddcmon support @@ -50,7 +55,7 @@ ask CVS about it: Fix W83627HF and W83791D detection; detect CSB6; Detect ADM1029,30,31,32; Detect W83637HF, W83697UF; - Add it87 sensor type support; + Add it87 sensor type support; add sysfs support Reduce lm80 misdetects; remove PCFxxxx "detection" diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index f63dd4e1..83fe5146 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -3719,7 +3719,8 @@ sub generate_modprobes $configfile .= "alias char-major-89 i2c-dev\n"; # Collect all loaded adapters - open INPUTFILE,"/proc/bus/i2c" or die "Couldn't open /proc/bus/i2c?!?"; + # i2cdetect -l either cats /proc/bus/i2c or scans sysfs for the same information + open INPUTFILE,"i2cdetect -l |" or die "Couldn't find i2cdetect program!!"; while () { my ($dev_nr,$type,$adap,$algo) = /^i2c-(\S+)\s+(\S+)\s+(.*?)\s*\t\s*(.*?)\s+$/; next if ($type eq "dummy"); @@ -4181,7 +4182,8 @@ sub main " includes address 0x69 (clock chip).\n"; my ($inp,@not_to_scan,$inp2); - open INPUTFILE,"/proc/bus/i2c" or die "Couldn't open /proc/bus/i2c?!?"; + # i2cdetect -l either cats /proc/bus/i2c or scans sysfs for the same information + open INPUTFILE,"i2cdetect -l |" or die "Couldn't find i2cdetect program!!"; while () { my ($dev_nr,$type,$adap,$algo) = /^i2c-(\S+)\s+(\S+)\s+(.*?)\s*\t\s*(.*?)\s+$/; next if ($type eq "dummy");