Re: Changing temperature trip points

Pavel Machek
2002-11-03T20:39:49Z

Hi!

> > > Actually, I think the problem is something else: The BIOS is supposed to
> > > generate ACPI events whenever these trip points are reached. So if you
> > > change these values (by patching the DSDT, by "hardwiring" it into the
> > > kernel) you need to use the polling method. Then ACPI will compare the
> > > current temperature to the specified temperatures with a specified
> > > frequency. Any chance you can try whether my assuption is correct?
> >
> >
> > YOU are right that I need to turn the polling on.
> >
> > But I'm sure fan is done by bios on my machine.
>
> Yes, that might well be - the fan on my machine turns on and off both when
> it thinks it should, and when ACPI tells it should *weird*
>
> Actually, I think any write into trip_points should automatically enable
> the polling mode. Will submit a patch which does that later. Do 3 seconds
> sound sane?

I believe user should be clever enough to set polling rate manually.

Perhaps documenting it is enough?
Pavel
PS: Polling rate has strong effect on how passive works. If you set
it too fast it will basically only use "max performance" and "max
throttle", which is not what you want.

--
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.