[Pm-utils] sometimes on resume, fan very loud until power off

John H. mistamaila at gmail.com
Wed Nov 22 00:45:56 PST 2006


 uname -a
Linux laptop 2.6.18-1.2849.fc6 #1 SMP Fri Nov 10 12:45:28 EST 2006
i686 i686 i386 GNU/Linux


On 11/21/06, Stefan Seyfried <seife at suse.de> wrote:
> On Tue, Nov 21, 2006 at 10:18:20AM -0500, John H. wrote:
> > Sometimes on resume from suspend to ram on my dell e1505, the fan is
> > VERY loud until I power off computer.
>
> what kernel version?
>
> does this hook maybe help?
> -------/etc/pm/hooks/80acpi-fan-------
> #!/bin/bash
> # mostly taken from the powersave project
> #
> # triggers the ACPI fan(s) after resume. Since ACPI drivers
> # have no suspend support, this is sometimes necessary.
> # see http://article.gmane.org/gmane.linux.acpi.devel/16643
> kick-fan()
> {
>         local FAN DUMMY STATE
>         for FAN in /proc/acpi/fan/*/state; do
>                 [ ! -e $FAN ] && continue
>                 read DUMMY STATE < $FAN
>                 if [ "$STATE" = "on" ]; then
>                         echo "kicking $FAN"
>                         echo -n 3 > $FAN
>                         echo -n 0 > $FAN
>                 fi
>         done
> }
>
> case $1 in
>         thaw|resume)
>                 kick-fan
>                 ;;
> esac
>
> exit 0
> -------------------------------------------
>
> but looking at the kernel code, this does not seem to be necessary
> in 2.6.18 and later (that's why i did not send this hook upstream).
> --
> Stefan Seyfried
> QA / R&D Team Mobile Devices        |              "Any ideas, John?"
> SUSE LINUX Products GmbH, Nürnberg  | "Well, surrounding them's out."
>


More information about the Pm-utils mailing list