Re: [PATCH 1/1] x86: Added support for Acer Aspire 5755G fan control.
From: Tero Keski-Valkama
Date: Wed Sep 26 2012 - 16:47:24 EST
2012/9/26 Tero Keski-Valkama <tero.keski-valkama@xxxxxxxx>:
> 2012/9/26 Tero Keski-Valkama <tero.keski-valkama@xxxxxxxx>:
>
> Now I have confirmed that:
> a) In default state fan does not speed up even in temperatures above
> 90 degrees, and
> b) Now, fan provably sped up, two times, at temperature of about 77 degrees.
>
> Somehow the fan speedup has always coincided with "acer_ec.pl regs"
> command, which might be caused by:
> a) Processor warms up in that command, or
> b) Reading EC has some consequences.
>
> The above register dump differs from the default boot-up state by
> obviously registers to read, with volatile values, and:
> - Register 0xAB from original value 0x08 to 0x0E.
> - Register 0xAD from original value 0x17 to 0x1F.
> This means that some of these register changes seem to enable
> automatic BIOS fan control:
> - FAN2 0 -> 1
> - FANT 0 -> 1
> - FANU 0x7 -> 0xF
>
> I have been trying to do some web searches for these register names to
> determine their meaning, but while many people have found them, they
> have only made invalid or no documented guesses about their purpose.
>
> --
> Kind Regards / Ystävällisin terveisin,
>
> Tero Keski-Valkama, MSc(Tech)
>
> +358 (0)46 876 0485
>
> tero.keski-valkama@xxxxxxxx
> http://www.neter.fi
The automatic fan speed up has now been confirmed under CPU stress,
without running acer_ec.pl regs, so reading the registry is not the
cause.
It seems that setting the above register values actually changes the
FAN to be BIOS controlled correctly, as opposed to the default values,
which seem to keep the fan at a constant, medium speed.
At the moment it's my best guess that FANU register change does
nothing, but this needs to be confirmed. I'll check that out at some
point. At least playing around with its different values does not seem
to have any effect whatsoever.
After checking that, the patch should probably be changed from just
continuing the default boot up status in AUTO mode, because that seems
not to be truly automatic, and use the value 0x0E instead of 0x08 for
this setting.
However, this means that people not running this module will still be
left with the non-automatic fan mode for these laptops.
--
Kind Regards / Ystävällisin terveisin,
Tero Keski-Valkama, MSc(Tech)
+358 (0)46 876 0485
tero.keski-valkama@xxxxxxxx
http://www.neter.fi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/