keymapping -> numlock doesn't work anymore

Alain G. Fabry alainfabry at belgacom.net
Mon Jun 30 09:44:03 UTC 2008


FreeBSD 7.0-RELEASE (qemu host)
X.Org X Server 1.4.2
HP Compaq nc8430 laptop

Hi, recently I performed a portupgrade (-R xorg-server) and now my numlock doesn't work anymore under Xorg.
Since I was having problems with my key-mapping in Qemu (key 1 and 4 did not work), I used the numlock to boot my FreeBSD guest in single user mode.

In the CTRL+ALT+F1 session (not sure who you call this non-X tty session), the num_lock works fine.

I've looked at the xev and from what I see this confirms that my num_lock is not working.

REGULAR "j"
+++++++++

KeyPress event, serial 32, synthetic NO, window 0x3200001,
    root 0x4c, subw 0x0, time 15118461, (-133,-349), root:(966,270),
    state 0x0, keycode 44 (keysym 0x6a, j), same_screen YES,
    XLookupString gives 1 bytes: (6a) "j"
    XmbLookupString gives 1 bytes: (6a) "j"
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x3200001,
    root 0x4c, subw 0x0, time 15118511, (-133,-349), root:(966,270),
    state 0x0, keycode 44 (keysym 0x6a, j), same_screen YES,
    XLookupString gives 1 bytes: (6a) "j"
    XFilterEvent returns: False

LEFT SHIFT + CAPITAL "J"
++++++++++++++++++++++++

KeyPress event, serial 32, synthetic NO, window 0x3200001,
    root 0x4c, subw 0x0, time 15120328, (-133,-349), root:(966,270),
    state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 32, synthetic NO, window 0x3200001,
    root 0x4c, subw 0x0, time 15120628, (-133,-349), root:(966,270),
    state 0x1, keycode 44 (keysym 0x4a, J), same_screen YES,
    XLookupString gives 1 bytes: (4a) "J"
    XmbLookupString gives 1 bytes: (4a) "J"
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x3200001,
    root 0x4c, subw 0x0, time 15120689, (-133,-349), root:(966,270),
    state 0x1, keycode 44 (keysym 0x4a, J), same_screen YES,
    XLookupString gives 1 bytes: (4a) "J"
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x3200001,
    root 0x4c, subw 0x0, time 15120980, (-133,-349), root:(966,270),
    state 0x1, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

NUM LOCK followed by j
++++++++++++++++++++++

KeyPress event, serial 32, synthetic NO, window 0x3200001,
    root 0x4c, subw 0x0, time 15135961, (-133,-349), root:(966,270),
    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 32, synthetic NO, window 0x3200001,
    root 0x4c, subw 0x0, time 15136005, (-133,-349), root:(966,270),
    state 0x10, keycode 77 (keysym 0xff7f, Num_Lock), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 32, synthetic NO, window 0x3200001,
    root 0x4c, subw 0x0, time 15138611, (-133,-349), root:(966,270),
    state 0x10, keycode 44 (keysym 0x6a, j), same_screen YES,
    XLookupString gives 1 bytes: (6a) "j"
    XmbLookupString gives 1 bytes: (6a) "j"
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x3200001,
    root 0x4c, subw 0x0, time 15138662, (-133,-349), root:(966,270),
    state 0x10, keycode 44 (keysym 0x6a, j), same_screen YES,
    XLookupString gives 1 bytes: (6a) "j"
    XFilterEvent returns: False


What can I do to solve this?

Thanks,

Alain


More information about the freebsd-questions mailing list