Thank you for posting this script, vasek125. It also works on a HP Compaq 6735s running Ubuntu 9.04. I had previously resorted to a more complex workaround which involved heating the CPU to reach the next trip point (Cp. Ubuntu bug #343128: Noisy fan after resume on HP 6735s at https://bugs.launchpad.net/bugs/343128), but that now doesn't seem necessary. However, since due to the bug in the HP 6735s no ACPI events are sent any more after resume from standby, I also had to enable polling via echo -n 5 > /proc/acpi/thermal_zone/CPUZ/polling_frequency Without this, the CPU fan would keep off / spinning at the lowest speed even when the CPU temperature gets very high.
You can test whether your notebook is affected by running a CPU- intensive command (like burnK7 from the 'cpuburn' package, or a simple 'while true; do true; done' loop) and observing whether the fan increases speed when the CPU temperature (cat /proc/acpi/thermal_zone/CPUZ/temperature) reaches the next trip point (cat /proc/acpi/thermal_zone/CPUZ/trip_points). If not, append the above command to enable polling to the 99funguj script (e.g. after the 'rm /tmp/fanstate3' line), like I did. -- Laptop Fan always on after resume from suspend to RAM https://bugs.launchpad.net/bugs/77370 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs