Re: Couldn't load XKB keymap... Can't switch to terminal mode



On Mon, 2007-02-12 at 22:40 +0100, Florian Kulzer wrote:
On Sun, Feb 11, 2007 at 18:20:55 -0800, Kenward Vaughan wrote:
On Sun, 2007-02-11 at 19:57 +0100, Florian Kulzer wrote:
On Sun, Feb 11, 2007 at 08:37:48 -0800, Kenward Vaughan wrote:
Hi,

I recently updated Sid, and found that Ctrl-Alt-Fx does not work
anymore. Video mode switching is also out, but I can kill the server
with Ctrl-Alt-Bsp (though the normal shutdown works fine). This happens
with Fluxbox, Xfce, and Gnome.

Everything else seems to be fine.

Tried to reconfigure Xorg, the kbd module, etc., with no luck.

Anyone have any thoughts/hints about a fix?

[...]

(WW) Couldn't load XKB keymap, falling back to pre-XKB keymap

Which versions of "xlibs" and "xkb-data" do you have installed?

[...]

(edited)

daddy:~# dpkg -l xlibs\*
...
||/ Name Version
+++-==============-==============
ii xlibs 6.9.0.dfsg.1-6
ii xlibs-data 7.1.0-11

06:16:25
daddy:~# dpkg -l xkb-data\*
...
||/ Name Version
+++-==============-============
ii xkb-data 0.9-4
un xkb-data-legac <none>

I have the same versions and everything is OK for me. (AFAIK these
packages should have the XKB definitions.)

What is your xorg keyboard config? You can run

awk '/Section "InputDevice/,/EndSection/' /etc/X11/xorg.conf

to see the relevant part.



Seems same as usual to me:

09:03:46
daddy:~# awk '/Section "InputDevice/,/EndSection/' /etc/X11/xorg.conf
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "false"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
EndSection

None of this has changed since before the problematic update.

Perhaps I should do a --force purge/reinstall of the packages you
mentioned?

Another way to poke at this is to run "xev" from an xterm (or similar)
and check what kind of key press/release events are reported for ALT,
CTRL and the function keys. Maybe this will give us a hint what is wrong
with your keyboard configuration. Do you have a special/old/unusual
keyboard?

Don't think so--it's AT&T brand and has worked fine for quite a while.

"xev" reports what I assume is a normal output for all those keys:
-----------
KeyPress event, serial 30, synthetic NO, window 0x1400001,
root 0x119, subw 0x0, time 3112150093, (604,209), root:(752,380),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0x1400001,
root 0x119, subw 0x0, time 3112150188, (604,209), root:(752,380),
state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:

KeyPress event, serial 30, synthetic NO, window 0x1400001,
root 0x119, subw 0x0, time 3112169465, (700,126), root:(848,297),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0x1400001,
root 0x119, subw 0x0, time 3112169565, (700,126), root:(848,297),
state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:

KeyPress event, serial 30, synthetic NO, window 0x1400001,
root 0x119, subw 0x0, time 3112173704, (699,131), root:(847,302),
state 0x0, keycode 67 (keysym 0xffbe, F1), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0x1400001,
root 0x119, subw 0x0, time 3112173777, (699,131), root:(847,302),
state 0x0, keycode 67 (keysym 0xffbe, F1), same_screen YES,
XLookupString gives 0 bytes:
-----------

--
Regards,
Florian

Thanks for help with probing this--it's certainly not up my particular
alley.


Kenward
--
In a completely rational society, the best of us would aspire to be
_teachers_ and the rest of us would have to settle for something less,
because passing civilization along from one generation to the next
ought to be the highest honor and the highest responsibility anyone
could have. - Lee Iacocca


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Lenovo keyboards and the FN key. Still no way to remap?
    ... Control Key. ... PropertyNotify event, serial 31, synthetic NO, window 0x3200001, ... XLookupString gives 0 bytes: ... XFilterEvent returns: False ...
    (Ubuntu)
  • keymapping -> numlock doesnt work anymore
    ... KeyPress event, serial 32, synthetic NO, window 0x3200001, ... XLookupString gives 1 bytes: "j" ... XFilterEvent returns: False ... KeyRelease event, serial 32, synthetic NO, window 0x3200001, ...
    (freebsd-questions)
  • ctrl-alt-+ doesnt work for me
    ... KeyPress event, serial 33, synthetic NO, window 0x3800001, ... XLookupString gives 0 bytes: ... XFilterEvent returns: False ...
    (Fedora)
  • key works in sawfish but does not in icewm
    ... character on some keys on German keyboards. ... default sawfish window manager or to ICEWm. ... |KeyPress event, serial 28, synthetic NO, window 0x1200001, ... | XLookupString gives 1 bytes: ...
    (comp.os.linux.setup)