Re: 2.6.10-mm2: it87 sensor driver stops CPU fan

Nicolas Pitre
2005-01-20T16:06:20Z

On Thu, 20 Jan 2005, Jean Delvare wrote:

>
> Hi Nicolas,
>
> > > I would also appreciate a dump of the chip (isadump 0x295 0x296 unless
> > > it lives at some uncommon address) to confirm the guess.
> >
> > 0 1 2 3 4 5 6 7 8 9 a b c d e f
> > 00: 11 10 80 00 37 ff 00 37 ff 07 13 5b 00 51 40 ff
> > 10: fe fe ff 71 d7 fe 7f fe 00 00 ff ff ff ff ff ff
>
> Interesting. Your chip does seem to be configured (i.e. pwm polarity is
> high), so whatever your problem is, it is probably different from what
> Simone experienced.
>
> Your configuration is as follow:
> * PWM outputs active high.
> * PWM 2 and 3 in on/off mode, set to on.
> * PWM 1 in "smart guardian" mode, set to automatic PWM depending on
> temp3.

Sensible.

> I would like to know how temperature channels are used by your
> motherboard, and how fans are used as well. Which temperature and fan
> channels correspond to your CPU? What other temperature sensors and fans
> are present?

It looks like only temp3 is used for the CPU temperature, fan1 is the
CPU fan and fan2 the case fan.

> The values dumped here make me believe that the PWM outputs were
> configured by the BIOS. Now maybe not the correct way, at least for you.

I experimented with isaset tweaking individual bits in register 0x14
(blindly I confess, haven't read the datasheet) and flipping bit 3 from
0 to 1 (writing 0xdf) apparently reverses the behavior, i.e. the CPU fan
speed now increases with the CPU temperature.

> I would like you to give a try to a recent version of the it87 driver (as
> found in 2.6.11-rc1-bk7 or 2.6.11-rc1-mm2).

Will try to do soon. In the mean time I'm willing to try out things
with isaset if you can suggest basic tests (easier than upgrading kernel
for the time being).

Nicolas