[ltp] [PATCH] In-kernel automatic fan control

Ziga Mahkovec linux-thinkpad@linux-thinkpad.org
Wed, 30 Nov 2005 17:21:39 +0100


On Wed, 2005-11-30 at 17:06 +0000, Lars Otten wrote:
> On 11/30/05 15:18, Paul RIVIER wrote:
> > Anything else : as we discussed 3 months ago, the default configuration
> > for X
> > does not include DynamicClock. With this configuration and under certain
> > conditions, the GPU can outcome 70 °C while the cpu is under 50°C.
> > There is fortunatly no incident reported yet about it, but it is theoricaly
> > possible to burn the GPU before the cpu reach 65°C, so with fan off.
> > Do not forget that in your patch :)
> 
> While we are at it, there is a relatively new script on ThinkWiki that
> checks several sensor values, not only the CPU temp. I've been using it for
> a few days now, seems to work flawlessly:
> http://www.thinkwiki.org/wiki/ACPI_fan_control_script#Variable_speed_control_scripts

Note that Yury's kernel thread *does* monitor all temperatures, namely:

  +static int useful_temps_idx[] = {
  +       0 /* CPU */,
  +       1 /* MiniPCI */,
  +       2 /* HDD */,
  +       3 /* GPU */,
  +       4, 6 /* Battery */

So Paul's scenario above should already be covered.

I also tend to agree with Yury that this sort of monitoring should be
handled by the kernel.

-- 
Ziga