Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have trouble with the numeric keypad (NumLock keys) being unusable while typing.

While I don't think it's GUI specific, this happens both in Gnome and KDE. Sometimes it works in TTY, other times it fails. If I press the NumLock key nothing happens, and the response is the same.

I cannot use any of the keys except Ins, which repeats text after Backspace is used.

EDIT:

xev output, on NumLock press/release

KeyPress event, serial 33, synthetic NO, window 0x2800001,
    root 0x101, subw 0x0, time 389867, (311,217), root:(319,313),
    state 0x0, keycode 77 (keysym 0xff7f, Num_Lock), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x2800001,
    root 0x101, subw 0x0, time 389867, (311,217), root:(319,313),
    state 0x10, keycode 77 (keysym 0xff7f, Num_Lock), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False
share|improve this question
    
What does xev say when you run it and then press numlock? –  Ulrich Schwarz Mar 13 '12 at 5:30
    
@UlrichSchwarz I have edited the question. –  Joe Barr Mar 14 '12 at 23:49
    
That looks good, so it appears the keystroke is getting up to the X server, which then doesn't do anything with it. I'm stumped, I'm afraid. –  Ulrich Schwarz Mar 15 '12 at 6:36
    
@UlrichSchwarz Thanks for trying. –  Joe Barr Apr 2 '12 at 0:34
add comment

3 Answers

There are some keyboard layouts that just don’t have the numlock key in use. For example the German neo layout which is part of de. Maybe you are using this or a similar layout.

share|improve this answer
add comment

You may have accidentally enabled mouse keys (not sure if that's the right name for it). If it happens again, see if the keypad is moving the mouse (e.g. hold down the '4' and see if the mouse starts moving to the left), and try using shift-NumLock to turn that mode off.

share|improve this answer
add comment

Is this a PS/2 keyboard being accessed from a USB adapter? The inexpensive ones always give trouble on keyboard that draw over 100ma from the system, such as the famous IBM Model M keyboard. For those you need a heavy-duty "active" adaptor, such as discussed at Geekhack, Deskthority and other keyboarding forums.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.