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

Re: Cannot switch to VT (console)



On 27/07/08 20:40, Florian Kulzer wrote:
On Wed, Jul 23, 2008 at 23:41:37 +0100, Michal R. Hoffmann wrote:
On 23/07/08 14:38, Raj Kiran Grandhi wrote:
Michal R. Hoffmann wrote:
Hi,

Recently I tried to switch to VT (console) and I couldn't - Ctrl+Alt+F1 didn't work (and they used to couple of weeks ago). I don't even know where to look for the problem; xev detects KeyRelease XF86_Switch_VT_1 event, /etc/inittab contain getty respawns.
Does is also report the KeyPress event for XF86_Switch_VT_1?
No, only KeyRelease.

Check your xorg.conf and see if the DontVTSwitch option is present.
No, it's not.
Also, it could be some problem with your XkbModel setting, like pc105 instead of pc104.
Hmmm, that's possible - I have that Microsoft ergonomical USB keyboard, connected via Avocent KVM. But it worked previously... And xev detects the XF86_Switch_VT_1 event so it seems to be OK.
Post the output of these commands:

setxkbmap -print

$ setxkbmap -print
xkb_keymap {
	xkb_keycodes  { include "xfree86+aliases(qwerty)"	};
	xkb_types     { include "complete"	};
	xkb_compat    { include "complete"	};
xkb_symbols { include "pc+gb+inet(microsoftprousb)+pl:2+level3(ralt_switch_for_alts_toggle):1+level3(ralt_switch_for_alts_toggle):2+group(alts_toggle)+eurosign(4)+keypad(oss)" };
	xkb_geometry  { include "microsoft(natural)"	};
};

xmodmap
$ xmodmap
xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock        Caps_Lock (0x42)
control     Control_L (0x25),  Control_R (0x6d)
mod1        Alt_L (0x40),  Meta_L (0x9c)
mod2        Num_Lock (0x4d)
mod3
mod4        Super_L (0x7f),  Hyper_L (0x80)
mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x71), ISO_Level3_Shift (0x7c)


xmodmap -pk | grep XF86_Switch_VT

$ xmodmap -pk | grep XF86_Switch_VT
     67    	0xffbe (F1)	0x1008fe01 (XF86_Switch_VT_1)	
     68    	0xffbf (F2)	0x1008fe02 (XF86_Switch_VT_2)	
     69    	0xffc0 (F3)	0x1008fe03 (XF86_Switch_VT_3)	
     70    	0xffc1 (F4)	0x1008fe04 (XF86_Switch_VT_4)	
     71    	0xffc2 (F5)	0x1008fe05 (XF86_Switch_VT_5)	
     72    	0xffc3 (F6)	0x1008fe06 (XF86_Switch_VT_6)	
     73    	0xffc4 (F7)	0x1008fe07 (XF86_Switch_VT_7)	
     74    	0xffc5 (F8)	0x1008fe08 (XF86_Switch_VT_8)	
     75    	0xffc6 (F9)	0x1008fe09 (XF86_Switch_VT_9)	
     76    	0xffc7 (F10)	0x1008fe0a (XF86_Switch_VT_10)	
     95    	0xffc8 (F11)	0x1008fe0b (XF86_Switch_VT_11)	
     96    	0xffc9 (F12)	0x1008fe0c (XF86_Switch_VT_12)	


--
Kind regards,
Michal R. Hoffmann


Reply to: