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

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



On Mon, Feb 12, 2007 at 21:11:54 -0800, Kenward Vaughan wrote:
> 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:

[...]

> > > (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

That certainly looks OK to me, too.

> None of this has changed since before the problematic update. 
> 
> Perhaps I should do a --force purge/reinstall of the packages you
> mentioned?

[...]

> "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

[...]

Again, the same as for me (also the output for the other keys which I
removed).

It might indeed be the time to try purging xlibs, xlibs-data and/or
xkb-data. The quickest way is probably to use "dpkg -P --force-depends"
and then to reinstall immediately. You could also try to downgrade to
the previous versions of these packages to see if the bug was really
caused by the upgrade. (You probably still have the necessary .deb files
in your /var/cache/apt/archives/ unless you clean that out since the
upgrade.)

Another thing to check is the output of xmodmap. Here is what I get:

$ 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),  Alt_L (0x7d),  Meta_L (0x9c)
mod2        Num_Lock (0x4d)
mod3
mod4        Super_L (0x7f),  Hyper_L (0x80)
mod5        Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)

$ xmodmap -pk | grep 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)

-- 
Regards,
          Florian



Reply to: