[lm-sensors] [PATCH] Drivers: hwmon: it87: Add support for ITE 8728
khali at linux-fr.org
Mon Nov 21 22:38:33 CET 2011
On Mon, 14 Nov 2011 19:14:16 -0200, Gustavo De Nardin (spuk) wrote:
> > On Fri, 2011-11-04 at 00:44 -0400, Frank T. Lofaro Jr. wrote:
> > > This patch allows the ITE 8728 chip to be detected and used.
> > > The chip appears to be compatible with the 8721.
> > Can anyone confirm that those chips are actually compatible ?
> Unlike forcing the other chips' ids, with force_id=0x8721 PWM control seems
> to work reasonably, with pwm1_enable=1, pwm1=0 yields around 1132 RPM on the
> CPU fan, and pwm1=255 yields around 3260 RPM. Should pwm1=0 actually stop
> the fan? I get what (empirically) seem to be consistent logarithmic
> increase in RPM when increasing pwm1 value, anyway.
> But the sensors values read with 'it87 force_id=0x8721' don't seem ok, I get
> this (first 'it87 force_id=0x8721', then 'asus_atk0110 new_if=1', which
> seems to provide good readings):
> Adapter: ISA adapter
> in0: +0.95 V (min = +2.78 V, max = +1.14 V) ALARM
> in1: +1.50 V (min = +0.00 V, max = +3.01 V)
> in2: +1.88 V (min = +2.66 V, max = +2.27 V) ALARM
> in3: +2.05 V (min = +2.68 V, max = +0.67 V) ALARM
> in4: +2.03 V (min = +3.04 V, max = +1.42 V) ALARM
> in5: +3.05 V (min = +3.04 V, max = +3.01 V) ALARM
> in6: +2.05 V (min = +2.77 V, max = +1.87 V) ALARM
> 3VSB: +6.07 V (min = +1.10 V, max = +4.56 V) ALARM
> Vbat: +3.34 V
> fan1: 3292 RPM (min = 10 RPM)
> fan2: 0 RPM (min = 10 RPM) ALARM
> fan3: 0 RPM (min = 13 RPM) ALARM
> temp1: +33.0°C (low = -65.0°C, high = -10.0°C) sensor = thermistor
> temp2: +40.0°C (low = -19.0°C, high = +127.0°C) sensor =
> temp3: -128.0°C (low = +119.0°C, high = -2.0°C) sensor = disabled
> intrusion0: OK
> Adapter: ACPI interface
> Vcore Voltage: +0.95 V (min = +0.80 V, max = +1.60 V)
> +3.3V Voltage: +3.34 V (min = +2.97 V, max = +3.63 V)
> +5V Voltage: +5.13 V (min = +4.50 V, max = +5.50 V)
> +12V Voltage: +12.11 V (min = +10.20 V, max = +13.80 V)
According to the DSDT code, these are in0, in4, in3 and in2, in this
order. So we can start with:
label in0 "Vcore"
label in2 "+12V"
label in3 "+5V"
label in4 "+3.3V"
Then the DSDT table gives the the following scaling factors, in order:
(0+1)/1, (0x0289+0x03E8)/0x03E8, (0x0F+0x0A)/0x0A and
(0xFF+0x2F)/0x2F. This translates to:
compute in2 @ * ( 302/ 82), @ / ( 302/ 47)
compute in3 @ * ( 25/ 10), @ / ( 25/ 10)
compute in4 @ * (1649/1000), @ / (1649/1000)
in1 could be the south bridge or memory voltage (I doubt the BIOS
prints it? If you can over- or under-clock the memory voltage, that's
one way to know.) in5 is probably unused (too close from the ADC's
limit). in6 seems to be scaled down to around 2V, so it could be -12V
Then, while Vbat is reasonable, 3VSB is not. The driver applies a
scaling factor of 2 that was correct for the IT8721F, but doesn't work
> CPU Fan Speed: 3276 RPM (min = 600 RPM)
> Chassis Fan Speed: 0 RPM (min = 600 RPM)
Obviously the first one is fan1, and I have no reason to believe the
second isn't fan2.
label fan1 "CPU Fan"
label fan2 "Chassis Fan"
> CPU Temperature: +33.0°C (high = +60.0°C, crit = +95.0°C)
> MB Temperature: +40.0°C (high = +45.0°C, crit = +75.0°C)
Obviously these are temp1 and temp2:
label temp1 "CPU Temp"
label temp2 "M/B Temp"
So all in all this means that the IT8728F indeed appears to be
compatible with the IT8721F, except for the 3VSB scaling factor (or
3VSB is incorrect on your system.) I guess we can solve this problem
later as we gather more information from several boards. Obviously,
best would be to get a datasheet, but apparently it's not going to
More information about the lm-sensors