All of lore.kernel.org
 help / color / mirror / Atom feed
From: r ll <crquan@gmail.com>
To: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Henrique de Moraes Holschuh <ibm-acpi@hmh.eng.br>,
	ibm-acpi-devel@lists.sourceforge.net,
	platform-driver-x86@vger.kernel.org,
	Borislav Deianov <borislav@users.sf.net>
Subject: Re: thinkpad_acpi fan stop working problem (was after resume) (speed becomes 65535)
Date: Sun, 6 May 2012 22:02:01 -0700	[thread overview]
Message-ID: <CAH5vBdK9xSb6iz9PuzNgZov2KSFZOkzaDA9PyPgFGLHOne4_hw@mail.gmail.com> (raw)
In-Reply-To: <20120507020626.GA28214@khazad-dum.debian.net>

On Sun, May 6, 2012 at 7:06 PM, Henrique de Moraes Holschuh
<hmh@hmh.eng.br> wrote:
> On Wed, 02 May 2012, r ll wrote:
>> most of time the fan is working well, but usually every night I close the laptop
>> let the Linux suspend; then resume on next morning, occasionally the laptop
>> could become very hot, usually above 90℃ for long time, if I compile something
>> or do some heavy work, it may go up over 128℃ then machine
>> automatically shutdown,
>>
>> # cat /sys/devices/platform/thinkpad_hwmon/temp1_input
>> 97000
>> # cat /sys/devices/platform/thinkpad_hwmon/fan1_input
>> 65535
>
> "-1" (reported as 65535) *is* the standard ThinkPad EC lingo for "not
> available".  Getting this in the tachometer is really weird, but
> actually useful :p  It is also the first time I've ever heard of this.
>
> Change your kernel to disable thinkpad-acpi fan control, i.e. make
> *sure* thinkpad_acpi is always loaded with fan_control=0, even at the
> first time it is loaded.  You might need to mess with /etc/modprobe.d,
> and maybe even update your initramfs.

Once boot, I see it's "N", is it not enough to make sure?
I always compile in the hdd drivers and filesystem code for root, so
not using an initramfs;
this thinkpad_acpi module is just loaded automatically by some init script,
and my /etc/modprobe.d is empty, I'm using modprobe by kmod 7-2;

$ cat /sys/module/thinkpad_acpi/parameters/fan_control
N
$ cat /sys/devices/platform/thinkpad_hwmon/fan1_input
3578
$ pacman -Q |grep kmod
kmod 7-2



>
> Run it like that for a while, so that you can access whether the problem
> went away or not.  Let's find out whether it is thinkpad-acpi or
> something else that is getting the EC pissed off :-)
>
>> I tried unload & reload the kernel module but it still doesn't work;
>> I tried manually set a speed level but it's still 65535, the machine
>> is still hot
>
> So, whatever it is, it makes the EC ignore fan control commands.
>
> Are you using the "fan" ACPI module?

Do you mean this CONFIG_ACPI_FAN ? I found it's Y, but I can try disable it;
but do you think it's conflict with thinkpad_acpi fan ?

$ grep -i fan /boot/config
CONFIG_ACPI_FAN=y


>
> --
>  "One disk to rule them all, One disk to find them. One disk to bring
>  them all and in the darkness grind them. In the Land of Redmond
>  where the shadows lie." -- The Silicon Valley Tarot
>  Henrique Holschuh



-- 
Cheng Renquan (程任全)

      reply	other threads:[~2012-05-07  5:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-03  6:00 thinkpad_acpi fan stop working problem (was after resume) (speed becomes 65535) r ll
2012-05-07  2:06 ` Henrique de Moraes Holschuh
2012-05-07  5:02   ` r ll [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAH5vBdK9xSb6iz9PuzNgZov2KSFZOkzaDA9PyPgFGLHOne4_hw@mail.gmail.com \
    --to=crquan@gmail.com \
    --cc=borislav@users.sf.net \
    --cc=hmh@hmh.eng.br \
    --cc=ibm-acpi-devel@lists.sourceforge.net \
    --cc=ibm-acpi@hmh.eng.br \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.