On Thu, Feb 16, 2006 at 03:15:16AM -0500, Sanjoy Mahajan wrote:

> First theory: On sleep, the machine turns off the fan.  On wakeup, the
> thermal module doesn't check whether the fan should be turned back on.
> Only when a trip point is crossed (or changed?) does it turn on.  So I
> added a _resume method to thermal.c to call acpi_thermal_check().
> However, that didn't fix the problem.

APCI devices don't currently support suspend or resume methods. For now, 
here's what I have in the Ubuntu resume script:

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

which seems to help.
-- 
Matthew Garrett | [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to