[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] Albook fan driver



Hi,

On Thu, Jan 22, 2004 at 09:24:56AM +0100, Colin Leroy wrote:
> Hi,
> 
> > After cooling under 47 centigrade, the fan switches off again. But if I
> > try to create higher cpu-load using something like
> > while (true); do for i in cpu_limit cpu_temperature fan_speed; do cat
> $i; echo; done; done
> > the machine switches off when cpu_temperature reaches 56 centigrades.
> 
> Maybe I set the limits too low on th pbooks. It looks like there's a
> protection in case of too long overheating, and i don't find out where it
> could be set in the docs.
> 
> (btw, can you check that the patch you applied is the correct one, where
> LIMIT_REG reads:
>     static u8 LIMIT_REG[3]   = {0x6b, 0x6a, 0x6c}; /* local, cpu, gpu */
> and not
>     static u8 LIMIT_REG[3]   = {0x6a, 0x6b, 0x6c}; /* local, cpu, gpu */
> 
> If this is not the case, invert the two firsts and try again...)
Yes, I have the right patch applied.
> 
> if it is, you can try to set the limits higher by using
> "limit_decrease=-10" parameter.
I did that and it worked. The stress test this time was the above loop
with your chip-friendly extension and a while (true); do echo; done in
another terminal. The fan startet at 60 centigrades:
82
60?C
60?C
7814

What I don't understand is the following:
wolfi@halley:~ $ cat /sys/devices/temperatures/cpu_limit ; echo
60�C
wolfi@halley:~ $ cat /sys/devices/temperatures/cpu_limit ; echo
60�C
To get achange in what is shown I have to modprobe -r first. Is ther a
way to change this dynamically?

And the parameter you gave changes th limit from 50 to 60, so tha fan
starts at a higher temperature. Shouldn't this foster overheating
instead of prevent it?
Well, setting cpu_limit to 30 centigrades made tha fan start at this
temperature but killed the computer some minutes later. I don't know the
kill temperature though.
> 
> If you have MacOSX installed and if it is possible to read temperatures
> values in this OS, you can also check at which temperature the fan starts.
I'll try that when I start MacOSX next time.

> 
> Thanks,
> -- 
> Colin
Thank you for your work,

Wolfi



Reply to: