public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: Andreas Messer <andreas.messer@stud-mail.uni-wuerzburg.de>
Cc: linux-acpi@vger.kernel.org
Subject: Re: 2.6.21 -- polling /proc/acpi/battery/*/state breaks ibm_acpi
Date: Tue, 15 May 2007 00:04:25 -0300	[thread overview]
Message-ID: <20070515030425.GD22949@khazad-dum.debian.net> (raw)
In-Reply-To: <20070514115354.GA16885@proton>

On Mon, 14 May 2007, Andreas Messer wrote:
> Up to Kernel 2.6.20 ibm_acpi was working fine on my TP X21.
> At least all Fn + <?> Keys worked. Now, since 2.6.21 it generally
> works but: When some Application is polling /proc/acpi/battery/*/state,
> the Fn - Keys (and perhaps the Lid-Button) became disfunctional until
> the next reboot. (Terminating the App didn't help)
> I can also produce the problem with a simple loop on cmd-line:
> 
> while true; do cat /proc/acpi/battery/BAT0/state; done
> 
> I figured out, that after system boot I can do a
> cat /proc/acpi/battery/BAT0/state for at least 3 times without
> breaking ibm_acpi. But then suddenly the keys FN - Keys are dead.

Are you using the latest BIOS and EC firmware for the X21?

Also, does ec_intr=0 on the kernel command line makes any difference?

-- 
  "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

  reply	other threads:[~2007-05-15  3:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-14 11:53 2.6.21 -- polling /proc/acpi/battery/*/state breaks ibm_acpi Andreas Messer
2007-05-15  3:04 ` Henrique de Moraes Holschuh [this message]
2007-05-15 20:18   ` [solved] " Andreas Messer

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=20070515030425.GD22949@khazad-dum.debian.net \
    --to=hmh@hmh.eng.br \
    --cc=andreas.messer@stud-mail.uni-wuerzburg.de \
    --cc=linux-acpi@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox