Infinite loop of Xf86battery key presses

Bug #308594 reported by Sympy
6
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Incomplete
Undecided
Unassigned
Nominated for Intrepid by Andrew Paprocki

Bug Description

Binary package hint: gnome-power-manager

I have Intrepid installed on a Dell Vostro 1400.

Pressing Fn+F3, the battery button, had no effect until recently, when Bug 281134 was
fixed. Now, it starts an infinite loop of key presses that opens a neverending sequence
of battery popups. This eventually hangs my system and forces me to reboot.

Though I'm reporting this against gnome-power-manager, I've confirmed that xev in
fact reports a loop of Xf86battery key presses, so g-p-m is just doing its job. But I
didn't know where exactly I should report this against.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thank you for your bug report. I suspect this is related to missing key release events from the kernel, and nothing to do with gnome-power-manager. Could you please switch to a console (CTRL+ALT+F1), run "showkey -s", press your battery key and tell me what you see?

Thanks

Changed in gnome-power-manager:
status: New → Incomplete
Revision history for this message
Sympy (sympathy4no1) wrote :

Chris,

Running "showkey -s" and then pressing Fn+F3 gave me "0xe0 0x71".
Then I just waited the 10 seconds for the program to finish.

When I returned to X, I ran xev just to make sure that infinite loop
wasn't running on background. Apparently, it wasn't.

One interesting thing: xev accuses the same infinite loop for Fn+F1
(Xf86standby). I didn't notice this before because it has no effect
(perhaps it suffers from the same bug that was recently fixed for
Xf86battery? I can open a new report for that...)

Revision history for this message
Andrew Paprocki (andrew-ishiboo) wrote :

This affects my XPS M1530 as well. There appears to be a kernel patch for this..

http://marc.info/?l=linux-kernel&m=123055061901679&w=2

Revision history for this message
Andrew Paprocki (andrew-ishiboo) wrote :

These are the links to the two patches which need to be applied to atkbd.c:

http://marc.info/?l=linux-kernel&m=121868482014229&w=2
http://marc.info/?l=linux-kernel&m=123056100215208&w=2

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.