Page 1 of 1

IBM ThinkPad T42p: Numlock issue in xorg-x11 [SOLVED]

Posted: Wed Apr 20, 2005 11:36 am
by Master One
This is a very strange problem. On my ThinkPad, the "Num" key for toggling numlock is on the combined button "Num/Roll", so to toggle numlock, I need to press Shift+Num/Roll.

It is working as expected in a console, but not in xorg-x11.

If I press Shift+Num/Roll in xorg-x11, the numlock-led does not go on, and instead of beeing able to use the proper keys of the numpad-keymapping (e.g. "1" instead of "J", "2" instead of "K", and so on), those keys either control the mouse-cursor (e.g. "U" moves left, "O" moves right, and so on) or seem to do nothing (except when holding the Shift button in addition, then I get the desired behaviour!).

Maybe this is a problem with the button function mapping, but I could not find any hint or solution until now.

I used the following keyboard settings in my xorg.conf:

Code: Select all

Section "InputDevice"
    Identifier  "Keyboard"
    Driver      "keyboard"
    Option      "AutoRepeat" "500 30"
    Option      "XkbModel"   "pc102"
    Option      "XkbLayout"  "de"
    Option      "XkbVariant" "nodeadkeys"
EndSection
I thought, it may be the "XkbModel" option, but trying some other settings (pc104, pc105, pc89, acpi) did not change anything.

I am really stuck here. This has to be a common problem, but searching in the forum did not give me any result.

Posted: Thu Apr 21, 2005 8:42 am
by Master One
And here comes the solution:

Code: Select all

xmodmap -e "keycode 77 = Num_Lock"