You are not logged in.
Using i3 window manager started with xinit
3 keyboards attached as of now, one handheld for use from across the room w/media (rf), my old logitech wireless (rf) and a new Thermaltake Poseidon Z.
After purchasing a new keyboard I have a problem.
Before I startx, it switches virtual terminals fine.
Once I startx, I cannot switch to another virtual terminal with the new keyboard. However, I still have my old keyboard hooked up and that keyboard CAN switch virtual terminals. Once I switch away from the terminal running X (tty1), the new keyboard works fine to switch virtual terminals, including switching back to X/tty1.
Once I switch back to X, the new keyboard is blocked from switching virtual terminals again.
Using xev
New keyboard
KeyRelease event, serial 33, synthetic NO, window 0x1e00001,
root 0xd8, subw 0x0, time 414539, (275,-237), root:(1623,333),
state 0x0, keycode 68 (keysym 0xffbf, F2), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: FalseOld
KeyRelease event, serial 39, synthetic NO, window 0x1e00001,
root 0xd8, subw 0x0, time 470403, (267,-202), root:(1615,368),
state 0x0, keycode 68 (keysym 0xffbf, F2), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: Falselooks to be the same key?
Kind of at a loss for what to even check here, considering it works with one keyboard and they are both reporting the same thing?
I tried rebooting with only the new keyboard attached but no luck.
What is X doing that would block only one keyboard from changing virtual terminals?
xmodmap is the only software I have installed to modify keybindings, no custom keymaps, no xmodmap profile running.
Offline
https://dvdhrm.wordpress.com/2013/08/24 … ing-works/
Read this. It does not have the solution, but might provide a vector to think about the problem.
Edit: Does the new keyboard work, if it is the only keyboard? Try C-A-Fn-F2, if there is an Fn.
Edit: It might be an n-key rollover/ghosting problem. Is there a second Ctrl key you could try? The VT key is A-F#, the X key is C-A-F#.
Last edited by Awebb (2015-07-01 07:24:49)
Offline
https://dvdhrm.wordpress.com/2013/08/24 … ing-works/
Read this. It does not have the solution, but might provide a vector to think about the problem.
Edit: Does the new keyboard work, if it is the only keyboard? Try C-A-Fn-F2, if there is an Fn.
Edit: It might be an n-key rollover/ghosting problem. Is there a second Ctrl key you could try? The VT key is A-F#, the X key is C-A-F#.
Thanks for the reply, and for the article. Definitely provided some new info, but nothing that is helping me wrap my head around this.
It does have a function key, but I am positive special functions are off by default... I did test holding function anyways, and it did not help. Alt + F# definitely works in text mode/VT's not running X...
There is a second control, as well as a second alt. It is a very very standard layout mechanical keyboard...However I think it is technically made as a "gaming keyboard". I tried all combinations of L_control R-alt, visa versa and all L or all R.
Your comment on ghosting got me thinking, so with xev I tried to see if the F2 keypress was reconized while holding ctrl and alt.
KeyRelease event, serial 45, synthetic NO, window 0x3600001,
root 0xd8, subw 0x0, time 429983596, (-54,-198), root:(1390,584),
state 0x10, keycode 55 (keysym 0x76, v), same_screen YES,
XLookupString gives 1 bytes: (76) "v"
XFilterEvent returns: False
KeyPress event, serial 45, synthetic NO, window 0x3600001,
root 0xd8, subw 0x0, time 429987932, (-54,-198), root:(1390,584),
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 45, synthetic NO, window 0x3600001,
root 0xd8, subw 0x0, time 429988756, (-54,-198), root:(1390,584),
state 0x14, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 45, synthetic NO, window 0x3600001,
root 0xd8, subw 0x0, time 429989973, (-54,-198), root:(1390,584),
state 0x1c, keycode 68 (keysym 0x1008fe02, XF86Switch_VT_2), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
MappingNotify event, serial 45, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248
KeyRelease event, serial 45, synthetic NO, window 0x3600001,
root 0xd8, subw 0x0, time 429995724, (-54,-198), root:(1390,584),
state 0x1c, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 46, synthetic NO, window 0x3600001,
root 0xd8, subw 0x0, time 429996140, (-54,-198), root:(1390,584),
state 0x14, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: FalseSo it is reconizing the combo of keys, as noted by pressing F2 producing XF86Switch_VT_2 when ctrl + alt are held.
And here is me changing VTs from the keyboard that works.
KeyPress event, serial 39, synthetic NO, window 0x3600001,
root 0xd8, subw 0x0, time 429442229, (187,297), root:(1631,1079),
state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 39, synthetic NO, window 0x3600001,
root 0xd8, subw 0x0, time 429442245, (187,297), root:(1631,1079),
state 0x18, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
VisibilityNotify event, serial 39, synthetic NO, window 0x3600001,
state VisibilityFullyObscured
KeyRelease event, serial 39, synthetic NO, window 0x3600001,
root 0xd8, subw 0x0, time 429442991, (187,297), root:(1631,1079),
state 0x1c, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 39, synthetic NO, window 0x3600001,
root 0xd8, subw 0x0, time 429442991, (187,297), root:(1631,1079),
state 0x18, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 39, synthetic NO, window 0x3600001,
root 0xd8, subw 0x0, time 429442991, (187,297), root:(1631,1079),
state 0x10, keycode 68 (keysym 0xffbf, F2), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
VisibilityNotify event, serial 39, synthetic NO, window 0x3600001,
state VisibilityUnobscuredI guess if nothing else, at least I know now to search around about XF86Switch_VT_#
For now I have just been using chvt to get away from the VT running X. Luckily I don't have the need to switch VTs that often.
Edit: found a similar complaint on stack exchange from another arch linux user with the same brand... Unfortunately no solution ![]()
http://unix.stackexchange.com/questions … -dont-work
Last edited by scryan (2015-07-03 20:34:26)
Offline