diff -up lm_sensors-3.0.1/prog/detect/sensors-detect~ lm_sensors-3.0.1/prog/detect/sensors-detect --- lm_sensors-3.0.1/prog/detect/sensors-detect~ 2008-02-11 13:59:25.000000000 +0100 +++ lm_sensors-3.0.1/prog/detect/sensors-detect 2008-02-11 13:59:25.000000000 +0100 @@ -5677,6 +5677,9 @@ sub main initialize_conf; initialize_proc_pci; initialize_modules_list; + # make sure any special case chips are added to the chip_ids list before + # making the support modules list + chip_special_cases(); initialize_modules_supported; initialize_cpu_list(); @@ -5740,9 +5744,6 @@ sub main print "\n"; } - # Before looking for chips, make sure any special case chips are - # added to the chip_ids list - chip_special_cases(); $i2c_addresses_to_scan = i2c_addresses_to_scan(); print "We are now going to do the I2C/SMBus adapter probings. Some chips may\n",