[ltp] Tracking down a EC firmware bug (fan reading)

Enrico Tröger linux-thinkpad@linux-thinkpad.org
Tue, 3 Oct 2006 16:37:57 +0200


--Signature=_Tue__3_Oct_2006_16_37_57_+0200_LhDuYTpCMIqHTOAm
Content-Type: text/plain; charset=UTF-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

On Tue, 3 Oct 2006 11:00:41 -0300, Henrique de Moraes Holschuh
<hmh@hmh.eng.br> wrote:

> On Tue, 03 Oct 2006, Enrico Tröger wrote:
> > I think it has the bug. I patched my kernel(2.6.18 vanilla) module
> > with your three-step-patch and it was loaded with experimental=1.
> >
> > After booting, cat /proc/acpi/ibm/fan reports the following:
> > status:         disabled
> > speed:          3439
> > commands:       enable, disable
> >
> > So, my Thinkpad has the bug?
>
> Yes, the fan is running isn't it?
The fan wasn't running when I checked the state. But then I made
cat /dev/zero | bzip2 >/dev/null
to produce some heat and checked again, and the status was still
"disabled" while the fan was running.

> > What do you mean with "auto mode", where to check it?
>
> Please read http://thinkwiki.org/wiki/How_to_control_fan_speed for
> more information.  Your ThinkPad is normally in either "auto" or fan
> level 7, depending on the ACPI DSDT deciding that there is a critical
> thermal limit being approached or not.
Oops, after reading this and after reading again your about your
three-step-patch I know that I hadn't a fan-control patched kernel.
After applying the fan-control patch, the status after a cold boot is
"enabled" at level 7.
So, my Thinkpad probably doesn't have the bug? Sorry for confusion.

I guess, your thermal sensor patch is completely independent of this
behaviour?

Regards,
Enrico

--
Get my GPG key from http://www.uvena.de/pub.key

--Signature=_Tue__3_Oct_2006_16_37_57_+0200_LhDuYTpCMIqHTOAm
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFInXFzANjP3AJkPIRAmzeAJ90tUXDePn7a8v7W67QGNkJE4bUNACfVHMo
0G2tdZoxG02Ev7F6onLiC6M=
=ZKqR
-----END PGP SIGNATURE-----

--Signature=_Tue__3_Oct_2006_16_37_57_+0200_LhDuYTpCMIqHTOAm--