public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.21 -- polling /proc/acpi/battery/*/state breaks ibm_acpi
@ 2007-05-14 11:53 Andreas Messer
  2007-05-15  3:04 ` Henrique de Moraes Holschuh
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Messer @ 2007-05-14 11:53 UTC (permalink / raw)
  To: linux-acpi

[-- Attachment #1: Type: text/plain, Size: 753 bytes --]

Hello,

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.

greetings
Andreas
-- 
gnuPG keyid: 8C2BAF51
fingerprint: 28EE 8438 E688 D992 3661 C753 90B3 BAAA 8C2B AF51

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.21 -- polling /proc/acpi/battery/*/state breaks ibm_acpi
  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
  2007-05-15 20:18   ` [solved] " Andreas Messer
  0 siblings, 1 reply; 3+ messages in thread
From: Henrique de Moraes Holschuh @ 2007-05-15  3:04 UTC (permalink / raw)
  To: Andreas Messer; +Cc: linux-acpi

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [solved] 2.6.21 -- polling /proc/acpi/battery/*/state breaks ibm_acpi
  2007-05-15  3:04 ` Henrique de Moraes Holschuh
@ 2007-05-15 20:18   ` Andreas Messer
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Messer @ 2007-05-15 20:18 UTC (permalink / raw)
  To: linux-acpi; +Cc: hmh

[-- Attachment #1: Type: text/plain, Size: 715 bytes --]

On Tue, May 15, 2007 at 12:04:25AM -0300, Henrique de Moraes Holschuh wrote:
> 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)
> 
> Are you using the latest BIOS and EC firmware for the X21?
> 

Thanks, that was the solution. Now everything working fine.

greetings
Andreas
-- 
gnuPG keyid: 8C2BAF51
fingerprint: 28EE 8438 E688 D992 3661 C753 90B3 BAAA 8C2B AF51

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-15 20:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2007-05-15 20:18   ` [solved] " Andreas Messer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox