Comment 18 for bug 57617

Revision history for this message
dome (ildome) wrote :

I have the same problem with Ubuntu 8.10 (2.6.27-8-generic) on a laptop Fujitsu/siemens amilo pro 2010, pentium M 1600.

At pc start CPU fan won't stop and run at maximum speed, until the CPU temperature don't increase to 56°C (more or less). So I usually force the CPU up to 100% load for some minute.
After this the fan run only when necessary. My fan speed steps are: off, 50%, 100% of throttles.

I have a solution that worked for my pc on Ubuntu 7.04, 7.10, 8.04:
1- Generate a script with these lines:

#!/bin/bash
temp=`cat /proc/acpi/thermal_zone/THRM/temperature | awk '{print$2}'`
stop="56"
if [ $temp -le $stop ]
then
 echo "on" >/proc/acpi/fan/FN2/state
 echo 3 >/proc/acpi/fan/FN2/state
fi

2- Name it (in my case: cpufan.sh)

3- Make it run at start-up coping the file script in: /etc/init.d/

4- Make the script executable:
chmod +x /etc/init.d/cpufan.sh

5- Run the command:
sudo update-rc.d -f cpufan.sh start 1 2 3 4 5 .

This solution doesn't work on my Ubuntu 8.10 any more. :(
I've found it browsing internet:
http://www.slacky.eu/forum/viewtopic.php?p=88533&sid=270da7c2d488da31fc2100963412e4c0
http://www.hwupgrade.it/forum/showthread.php?p=17692680

I've tried to variate the value "56" in the script, but with no positive results.

Should I attach some log to show better the problem? Which one?