diff --git a/CHANGES b/CHANGES index 2a990261..e5f0a254 100644 --- a/CHANGES +++ b/CHANGES @@ -11,7 +11,7 @@ lm_sensors CHANGES file Add support for the smsc47m192 driver Fix all memory leaks (yeah!) Fix no sensors being reported as an error - Add support for the IT8716F chip + Add support for the IT8716F and IT8718F chips Makefile: Don't grep autoconf.h on user-space targets Fix depmod on non-running kernel version Silent errors on missing dependency files @@ -45,7 +45,7 @@ lm_sensors CHANGES file Add smsc47m192 support Add abituguru support (Hans de Goede) Fix memory leak when printing an unknown chip - Add it8716 support + Add it8716 and it8718 support Make each it87 fan and fan div optional Program sensors-detect: Add ServerWorks HT-1000 SMBus detection Add ATI IXP200/300/400 SMBus detection diff --git a/lib/chips.c b/lib/chips.c index 74bd761c..b40f03d3 100644 --- a/lib/chips.c +++ b/lib/chips.c @@ -5905,6 +5905,7 @@ sensors_chip_features sensors_chip_features_list[] = { SENSORS_IT87_PREFIX, it87_features }, { SENSORS_IT8712_PREFIX, it87_features }, { SENSORS_IT8716_PREFIX, it87_features }, + { SENSORS_IT8718_PREFIX, it87_features }, { SENSORS_FSCPOS_PREFIX, fscpos_features }, { SENSORS_FSCSCY_PREFIX, fscscy_features }, { SENSORS_FSCHER_PREFIX, fscher_features }, diff --git a/lib/chips.h b/lib/chips.h index 93b2092c..ab33d3b5 100644 --- a/lib/chips.h +++ b/lib/chips.h @@ -1542,6 +1542,7 @@ #define SENSORS_IT87_PREFIX "it87" #define SENSORS_IT8712_PREFIX "it8712" #define SENSORS_IT8716_PREFIX "it8716" +#define SENSORS_IT8718_PREFIX "it8718" #define SENSORS_IT87_IN0 1 /* R */ #define SENSORS_IT87_IN1 2 /* R */ diff --git a/prog/sensord/chips.c b/prog/sensord/chips.c index db1ebfa3..0bb726b4 100644 --- a/prog/sensord/chips.c +++ b/prog/sensord/chips.c @@ -547,7 +547,7 @@ static const ChipDescriptor lm80_chip = { static const char *it87_names[] = { SENSORS_IT87_PREFIX, SENSORS_IT8712_PREFIX, - SENSORS_IT8716_PREFIX, NULL + SENSORS_IT8716_PREFIX, SENSORS_IT8718_PREFIX, NULL }; static const FeatureDescriptor it87_features[] = { @@ -568,11 +568,11 @@ static const FeatureDescriptor it87_features[] = { { fmtVolts_2, rrdF2, DataType_voltage, IT87_ALARM_IN7, 0, { SENSORS_IT87_IN7, SENSORS_IT87_IN7_MIN, SENSORS_IT87_IN7_MAX, -1 } }, { fmtFans_0, rrdF0, DataType_rpm, IT87_ALARM_FAN1, 0, - { SENSORS_IT87_FAN1, SENSORS_IT87_FAN1_MIN, SENSORS_IT87_FAN1_DIV, -1 } }, + { SENSORS_IT87_FAN1, SENSORS_IT87_FAN1_MIN, -1 } }, { fmtFans_0, rrdF0, DataType_rpm, IT87_ALARM_FAN2, 0, - { SENSORS_IT87_FAN2, SENSORS_IT87_FAN2_MIN, SENSORS_IT87_FAN2_DIV, -1 } }, + { SENSORS_IT87_FAN2, SENSORS_IT87_FAN2_MIN, -1 } }, { fmtFans_0, rrdF0, DataType_rpm, IT87_ALARM_FAN3, 0, - { SENSORS_IT87_FAN3, SENSORS_IT87_FAN3_MIN, SENSORS_IT87_FAN3_DIV, -1 } }, + { SENSORS_IT87_FAN3, SENSORS_IT87_FAN3_MIN, -1 } }, { fmtTemps_minmax_0, rrdF1, DataType_temperature, IT87_ALARM_TEMP1, 0, { SENSORS_IT87_TEMP1, SENSORS_IT87_TEMP1_LOW, SENSORS_IT87_TEMP1_HIGH, -1 } }, { fmtTemps_minmax_0, rrdF1, DataType_temperature, IT87_ALARM_TEMP2, 0, diff --git a/prog/sensors/main.c b/prog/sensors/main.c index 2eda2f09..718965bf 100644 --- a/prog/sensors/main.c +++ b/prog/sensors/main.c @@ -382,6 +382,7 @@ struct match matches[] = { { "it87", print_it87 }, { "it8712", print_it87 }, { "it8716", print_it87 }, + { "it8718", print_it87 }, { "ddcmon", print_ddcmon }, { "eeprom", print_eeprom }, { "fscpos", print_fscpos },