[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Fwd: Re: Since chvt works, the problem must be the keymap]



Florian Kulzer wrote:

It would be interesting to see which keycodes and keysyms are reported
if you run "xev", press (and hold) both CTRL and ALT, and then press F1,
F2, etc. Does xev really display the keycodes for the Fn keys and the
keysyms "XF86_Switch_VT_n"? Are the hexadecimal keysym values the same
as the ones that you get with "grep VT /usr/share/X11/XKeysymDB"?


As another "sufferer" of this problem I thought I would give this a try
- I get ...

KeyPress event, serial 29, synthetic NO, window 0x2600001,
    root 0x3e, subw 0x0, time 1066810844, (622,696), root:(630,759),
    state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 29, synthetic NO, window 0x2600001,
    root 0x3e, subw 0x0, time 1066810861, (622,696), root:(630,759),
    state 0x14, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 29, synthetic NO, window 0x2600001,
    root 0x3e, subw 0x0, time 1066815357, (622,696), root:(630,759),
    state 0x1c, keycode 67 (keysym 0xffbe, F1), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 29, synthetic NO, window 0x2600001,
    root 0x3e, subw 0x0, time 1066815411, (622,696), root:(630,759),
    state 0x1c, keycode 67 (keysym 0xffbe, F1), same_screen YES,
    XLookupString gives 0 bytes:

KeyRelease event, serial 29, synthetic NO, window 0x2600001,
    root 0x3e, subw 0x0, time 1066816162, (622,696), root:(630,759),
    state 0x1c, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:

KeyRelease event, serial 29, synthetic NO, window 0x2600001,
    root 0x3e, subw 0x0, time 1066816188, (622,696), root:(630,759),
    state 0x18, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes:

And "grep VT /usr/share/X11/XKeysymDB" returns :

XF86_Switch_VT_1        :1008FE01
XF86_Switch_VT_2        :1008FE02
XF86_Switch_VT_3        :1008FE03
XF86_Switch_VT_4        :1008FE04
XF86_Switch_VT_5        :1008FE05
XF86_Switch_VT_6        :1008FE06
XF86_Switch_VT_7        :1008FE07
XF86_Switch_VT_8        :1008FE08
XF86_Switch_VT_9        :1008FE09
XF86_Switch_VT_10       :1008FE0A
XF86_Switch_VT_11       :1008FE0B
XF86_Switch_VT_12       :1008FE0C

Does this tell anyone anything?

Dave.



Reply to: