Tobias Ulmer schreef op 2015-07-15 05:42:
On Wed, Jul 15, 2015 at 05:12:41AM +0300, Paul Irofti wrote:
I am not familiar with all the fan hack specifics so please keep that
in mind
if my questions and comments seem trivial.
> This is an attempt to solve the problem slightly differently.
> - Hook into acpitz and only speed the fan up when it is requesting active
> cooling
> - Never set the fan to a mode that would endanger the hardware should we
> crash
Your diff applies to all Thinkpad models. Is that okay?
It applies to all Thinkpads that have a sensible value in
THINKPAD_ECOFFSET_FANLEVEL, as you noticed. There is no flag or
documentation indicating the existence of this register as far as I
know. It's somewhat of a tradition, every TP I've owned had it.
My hope is if they drop support or move the offset, the value will
change and we won't do any damage.
The Linux thinkpad-acpi driver suggests that accessing (and especially
writing to) the
THINKPAD_ECOFFSET_FANLEVEL register should not be done if the GFAN
and/or SFAN ACPI method
exists.
The Linux driver also says that full blast mode might damage the fan.