From fea164dda4442c65e68192f44c048e0091267445 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Fri, 18 Mar 2011 10:40:06 +0000 Subject: [PATCH] Add detection of many Fintek Super-I/O devices. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5945 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 4 ++-- prog/detect/sensors-detect | 42 ++++++++++++++++++++++++++++++++------ 2 files changed, 38 insertions(+), 8 deletions(-) diff --git a/CHANGES b/CHANGES index dbbedaa4..c4d89fb8 100644 --- a/CHANGES +++ b/CHANGES @@ -14,8 +14,7 @@ SVN HEAD Add a section for the W83627UHG sensors: Display 3 decimal places in raw output Add support for intrusion detection (#2370) - If an attribute value is 0, display the value with its base unit, - not with the minumum supported unit + Fix automatic unit selection of 0 value Added support for additional sensor attributes sensors-detect: Improve LM90 and W83L771 detection Fix error seen if I2C bus numbers are not sequential @@ -36,6 +35,7 @@ SVN HEAD Add detection of National Semiconductor LM75A Count DMI chassis type 8 as a laptop Add detection of SMSC SCH5627 + Add detection of many Fintek Super-I/O devices 3.2.0 (2010-10-10) libsensors: Increase MAX_SENSORS_PER_TYPE to 24 diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index cf4d1f3b..a8e372e7 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -2,7 +2,7 @@ # # sensors-detect - Detect hardware monitoring chips # Copyright (C) 1998 - 2002 Frodo Looijaard -# Copyright (C) 2004 - 2009 Jean Delvare +# Copyright (C) 2004 - 2011 Jean Delvare # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -1933,10 +1933,16 @@ use constant FEAT_SMBUS => (1 << 7); features => FEAT_IN | FEAT_FAN | FEAT_TEMP, }, { name => "Fintek F71808E Super IO Sensors", - driver => "to-be-written", # f71882fg + driver => "f71882fg", devid => 0x0901, logdev => 0x04, features => FEAT_IN | FEAT_FAN | FEAT_TEMP, + }, { + name => "Fintek F71808A Super IO Sensors", + driver => "to-be-written", + devid => 0x1001, + logdev => 0x04, + features => FEAT_IN | FEAT_FAN | FEAT_TEMP, }, { name => "Fintek F71862FG Super IO Sensors", driver => "f71882fg", @@ -1944,11 +1950,17 @@ use constant FEAT_SMBUS => (1 << 7); logdev => 0x04, features => FEAT_IN | FEAT_FAN | FEAT_TEMP, }, { - name => "Fintek F71869FG Super IO Sensors", - driver => "to-be-written", + name => "Fintek F71869F/E Super IO Sensors", + driver => "f71882fg", devid => 0x0814, logdev => 0x04, features => FEAT_IN | FEAT_FAN | FEAT_TEMP, + }, { + name => "Fintek F71869A Super IO Sensors", + driver => "to-be-written", + devid => 0x1007, + logdev => 0x04, + features => FEAT_IN | FEAT_FAN | FEAT_TEMP, }, { name => "Fintek F71806FG/F71872FG Super IO Sensors", driver => "f71805f", @@ -1974,11 +1986,17 @@ use constant FEAT_SMBUS => (1 << 7); logdev => 0x04, features => FEAT_IN | FEAT_FAN | FEAT_TEMP, }, { - name => "Fintek F71889E Super IO Sensors", - driver => "to-be-written", + name => "Fintek F71889ED Super IO Sensors", + driver => "f71882fg", devid => 0x0909, logdev => 0x04, features => FEAT_IN | FEAT_FAN | FEAT_TEMP, + }, { + name => "Fintek F71889A Super IO Sensors", + driver => "to-be-written", + devid => 0x1005, + logdev => 0x04, + features => FEAT_IN | FEAT_FAN | FEAT_TEMP, }, { name => "Fintek F81216D Super IO", driver => "not-a-sensor", @@ -1987,6 +2005,18 @@ use constant FEAT_SMBUS => (1 << 7); name => "Fintek F81218D Super IO", driver => "not-a-sensor", devid => 0x0206, + }, { + name => "Fintek F81865F Super IO Sensors", + driver => "to-be-written", + devid => 0x0704, + logdev => 0x04, + features => FEAT_IN | FEAT_FAN | FEAT_TEMP, + }, { + name => "Fintek F81866D Super IO Sensors", + driver => "to-be-written", + devid => 0x1010, + logdev => 0x04, + features => FEAT_IN | FEAT_FAN | FEAT_TEMP, }, { name => "Asus F8000 Super IO", driver => "f71882fg",