Comment 46 for bug 77370

Revision history for this message
vacant (ubuntu-clodnurg) wrote :

I've got a 6735s. Under normal use the fan is mostly on it's lowest speed, switching off sometimes below 45 C. When that happens, the lowest active trip point gets set to 50 C and it usually takes a bit of time before the fan comes back on - all fine so far.

After resuming from suspend I have fixed trip points so the fan can be switching off and on. To prevent this I set the lowest active trip point down to 40 C (My temp doesn't drop below 43 C). This can be done as an option when inserting the "thermal" module.

After suspend, I find it less irritating to have the fan on it's lowest setting than have it hunting around 45 C, turning off and on

#!/bin/bash

# Kick the fans
modprobe -r fan
modprobe -r thermal
modprobe fan
modprobe thermal act=40
/etc/rc.d/acpid restart

for x in /proc/acpi/fan/*; do
    if [ "`grep on $x/state`" ]; then
        echo -n 3 > $x/state;
        sleep 1
        echo -n 0 > $x/state;
    fi
    if [ "`grep off $x/state`" ]; then
        echo -n 0 > $x/state;
        sleep 1
        echo -n 3 > $x/state;
    fi
done

echo -n 5 > /proc/acpi/thermal_zone/CPUZ/polling_frequency