Index: /lm-sensors/trunk/prog/detect/detect.pl
===================================================================
--- /lm-sensors/trunk/prog/detect/detect.pl	(revision 281)
+++ /lm-sensors/trunk/prog/detect/detect.pl	(revision 284)
@@ -1081,8 +1081,8 @@
   my $hyst = i2c_smbus_read_word_data($file,0x02);
   my $os = i2c_smbus_read_word_data($file,0x03);
-  for ($i = 0x00; $i <= 0xff; $i += 4) {
-    return if i2c_smbus_read_byte_data($file,$i + 0x01) != $conf;
-    return if i2c_smbus_read_word_data($file,$i + 0x02) != $hyst;
-    return if i2c_smbus_read_word_data($file,$i + 0x03) != $os;
+  for ($i = 0x00; $i <= 0xF; $i += 1) {
+    return if i2c_smbus_read_byte_data($file,($i * 0x10) + 0x01) != $conf;
+    return if i2c_smbus_read_word_data($file,($i * 0x10) + 0x02) != $hyst;
+    return if i2c_smbus_read_word_data($file,($i * 0x10) + 0x03) != $os;
   }
   return (3);
Index: /lm-sensors/trunk/prog/detect/sensors-detect
===================================================================
--- /lm-sensors/trunk/prog/detect/sensors-detect	(revision 281)
+++ /lm-sensors/trunk/prog/detect/sensors-detect	(revision 284)
@@ -1081,8 +1081,8 @@
   my $hyst = i2c_smbus_read_word_data($file,0x02);
   my $os = i2c_smbus_read_word_data($file,0x03);
-  for ($i = 0x00; $i <= 0xff; $i += 4) {
-    return if i2c_smbus_read_byte_data($file,$i + 0x01) != $conf;
-    return if i2c_smbus_read_word_data($file,$i + 0x02) != $hyst;
-    return if i2c_smbus_read_word_data($file,$i + 0x03) != $os;
+  for ($i = 0x00; $i <= 0xF; $i += 1) {
+    return if i2c_smbus_read_byte_data($file,($i * 0x10) + 0x01) != $conf;
+    return if i2c_smbus_read_word_data($file,($i * 0x10) + 0x02) != $hyst;
+    return if i2c_smbus_read_word_data($file,($i * 0x10) + 0x03) != $os;
   }
   return (3);
