Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IBM ThinkPad T42p: Numlock issue in xorg-x11 [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Master One
l33t
l33t


Joined: 25 Aug 2003
Posts: 754
Location: Austria

PostPosted: Wed Apr 20, 2005 4:36 pm    Post subject: IBM ThinkPad T42p: Numlock issue in xorg-x11 [SOLVED] Reply with quote

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:
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.
_________________
Las torturas mentales de la CIA


Last edited by Master One on Thu Apr 21, 2005 1:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
ehud
n00b
n00b


Joined: 15 May 2004
Posts: 69
Location: Tel Aviv

PostPosted: Wed Apr 20, 2005 8:20 pm    Post subject: Reply with quote

Try this command while in X:
Quote:
xmodmap -e "keycode 77 = Num_Lock"
Back to top
View user's profile Send private message
Master One
l33t
l33t


Joined: 25 Aug 2003
Posts: 754
Location: Austria

PostPosted: Thu Apr 21, 2005 1:40 pm    Post subject: Reply with quote

Thank's a lot, that did the trick :D
_________________
Las torturas mentales de la CIA
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum