2.6.21 -- polling /proc/acpi/battery/*/state breaks ibm_acpi
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
Signature · 2 lines
gnuPG keyid: 8C2BAF51 fingerprint: 28EE 8438 E688 D992 3661 C753 90B3 BAAA 8C2B AF51
Quoted 7 lines · Andreas Messer
Up to Kernel 2.6.20
ibm_acpiwas 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:
Quoted 5 lines
while true; do cat
/proc/acpi/battery/BAT0/state; doneI figured out, that after system boot I can do a
cat/proc/acpi/battery/BAT0/statefor at least 3 times without breakingibm_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?
Signature · 4 lines
"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
Quoted 9 lines · Henrique de Moraes Holschuh
Quoted 5 lines · Andreas Messer
Up to Kernel 2.6.20
ibm_acpiwas 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
Signature · 2 lines
gnuPG keyid: 8C2BAF51 fingerprint: 28EE 8438 E688 D992 3661 C753 90B3 BAAA 8C2B AF51