[Bug 35455] Re: After hibernate, cooling on nc6220 does not restart

danielmewes danielmewes at onlinehome.de
Mon Jul 31 22:26:53 UTC 2006


Ok, well it seems that I was actually wrong. The update changes the
fan's behaviour a lot, so I thought the fans would come up again, but
actually they still do not as they should. However, I found out that
only those fans do not response after suspend to RAM or disk (I
experienced the same problem with both methods), which had been switched
on when the system suspends. Thus, the following fix now eventually
really seems to work:

I added the following script to /etc/acpi/suspend.d:
File 85-fan-stop.sh
<-->
#!/bin/sh

modprobe -r thermal

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

This simply stops all fans before the system is suspended. This may make
the system run a little bit hot when using suspend to disk, since
writing all the pages to disk may take some time and the fans are turned
off then. However it works very well for suspend to RAM.

I also modified /etc/acpi/resume.d/72-acpi-pain.sh, but did not test
yet, if this modification is really necessary. I just commented out the
"modprobe -r thermal", "modprobe -r fan" and "modprobe fan" lines as
well the "NNGH FAN HATE" part.

-- 
After hibernate, cooling on nc6220 does not restart
https://launchpad.net/bugs/35455




More information about the kernel-bugs mailing list