Bug 103009

Summary: numlock LED flashes down but numlock is still active when changing from X to console and back
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Ladislav Michnovic <lmichnovic>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Normal    
Priority: P2 - High CC: eich, sndirsch
Version: Beta 1   
Target Milestone: ---   
Hardware: i586   
OS: SUSE Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ladislav Michnovic 2005-08-09 12:38:21 UTC
When numlock is active and LED is flashed on, when I change to system console
(pressing e.g. ctrl+alt+F2) and after that back to X (pressing alt+F7) numlock
indicating LED is off, but the behavior of numpad is as the numlock is still
active. After pressing Capslock or pressing numlock twice, the numlock LED
indicator flashes on. Tested on different graphic cards (ATi,nVidia,non 3rd
party modules). Same bug is in SL 9.3.
Comment 1 Stefan Dirsch 2005-08-10 10:26:19 UTC
Indeed. I can reproduce this. Sounds like a bug to me.
Comment 2 Felix Miata 2006-01-04 20:09:17 UTC
Must be some sort of upstream bug, as Mandriva 2006 has the same problem: http://qa.mandriva.com/show_bug.cgi?id=13211
Comment 3 Ladislav Michnovic 2006-02-24 10:25:12 UTC
Any progres? It is also in 10.1 Beta 4.
Comment 4 Stefan Dirsch 2006-02-24 10:29:46 UTC
Not at all.
Comment 5 Egbert Eich 2006-03-01 10:27:37 UTC
This is a very old problem. The internal keyboard state is held in a data structure but the state of the LEDs is not recoreded when they are set and therefore is also not restored.
This has been around for a while and I don't know how much time and efford we should invest in fixing this. Progress pings seem to be inapproporate here.
Setting it to enhancement and assigning it to myself.
Comment 6 Stefan Dirsch 2006-03-01 10:38:55 UTC
Thanks!
Comment 7 Stefan Dirsch 2007-02-05 20:07:49 UTC
Looks like we have a fix for this problem.

  https://bugs.freedesktop.org/show_bug.cgi?id=313
Comment 8 Matthias Hopf 2007-02-22 10:56:42 UTC
Patch looks good.
I don't know the code there, but if it fixes the problem, you have a go from me :)
Comment 9 Stefan Dirsch 2007-02-22 11:36:40 UTC
Will include the patch, which has also been commited to git (master) meanwhile.
Comment 10 Stefan Dirsch 2007-02-22 11:52:20 UTC
fixed for STABLE/Factory.