View previous topic :: View next topic |
Author |
Message |
Aquatopia n00b
Joined: 21 Aug 2002 Posts: 5 Location: Copenhagen, Denmark
|
Posted: Mon Nov 15, 2004 12:09 am Post subject: Xorg: Error loading new keyboard description |
|
|
I've spent a good deal of tonight trying to figure this one out. I searched through the forums and googled a bit and I wasn't able to figure it out.
When I started Xorg I was getting the following error (in Xorg.0.log):
Code: | (EE) Couldn't open compiled keymap file /usr/X11R6/lib/X11/xkb/compiled/server-0.xkm
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap |
Whenever I tried running setxkbmap it gave me:
Code: | Error loading new keyboard description |
Now, I was able to find a solution to this problem (which is the reason I'm posting this, so if anyone else is about to spend a night fixing this. He or she won't have to):
Code: | cp /usr/X11R6/bin/xkbcomp /usr/X11R6/lib/X11/xkb |
Voila. I don't exactly know what happened but when ran ls -la on the file in /usr/X11R6/lib/X11/xkb it showed that the file was 0b.
Anywho, I wish to thank the people on the Italian forum here for this solution (https://forums.gentoo.org/viewtopic.php?t=198530)
Enjoy,
Aquatopia |
|
Back to top |
|
|
rshadow Apprentice
Joined: 28 Nov 2003 Posts: 176
|
Posted: Mon Nov 15, 2004 12:32 am Post subject: |
|
|
Perhaps you would be kind enough to translate that solution into english? I am having a similiar problem (I think) in that I can't get a korean layout to load.
Edit: Nevermind about the translation bit.. I should have read your post more carefully
I really need to learn Italian and German.. thats the forums where I always find the solutions.. I just can't understand them =) |
|
Back to top |
|
|
Aquatopia n00b
Joined: 21 Aug 2002 Posts: 5 Location: Copenhagen, Denmark
|
Posted: Mon Nov 15, 2004 4:57 pm Post subject: |
|
|
rshadow wrote: | I really need to learn Italian and German.. thats the forums where I always find the solutions.. I just can't understand them =) |
Guessing your way out 'eh?
I hope my thing wasn't to cryptic though |
|
Back to top |
|
|
parsim Guru
Joined: 12 Aug 2004 Posts: 347 Location: Melbourne, Australia
|
Posted: Thu Nov 18, 2004 2:24 am Post subject: |
|
|
Bless you, Aquatopia! I was using Lynx from the command line to try to figure out why the hell my keyboard didn't work after this morning's emerge update of Xorg, and found your post. My problem was identical, and is now fixed. You saved me a lot of heartache! |
|
Back to top |
|
|
parsim Guru
Joined: 12 Aug 2004 Posts: 347 Location: Melbourne, Australia
|
Posted: Mon Nov 29, 2004 8:44 pm Post subject: |
|
|
I think I found the cause of this problem. I just recompiled X and ran
which wanted to replace xkbcomp. Before I let it do so, I checked the new '._cfg0001' version, and it looked fine (was approx. 200kb). I then pressed 'u' for 'use-new'.
My xkbcomp file was then reduced to 0 bytes and the '._cfg0001' file was deleted.
Where should I make a bug report about this, does anyone know? |
|
Back to top |
|
|
Suicidal l33t
Joined: 30 Jul 2003 Posts: 959 Location: /dev/null
|
Posted: Tue Dec 07, 2004 5:40 am Post subject: |
|
|
Same here,
Thx. |
|
Back to top |
|
|
gi1242 Tux's lil' helper
Joined: 29 Jul 2004 Posts: 146
|
Posted: Tue Dec 07, 2004 8:03 pm Post subject: |
|
|
Thanks a TON Aquatopia. I emerged X this morning, and the same thing happened to me. dispatch-conf first complained (saying something about /usr/bin/diff), but when I logged out and loged back in, dispatch-conf ran OK. It graciously replaced my xkbcomp file with one of 0 bytes, and sent' me packing. After restoring the file, everything works fine again
Thanks again! |
|
Back to top |
|
|
parsim Guru
Joined: 12 Aug 2004 Posts: 347 Location: Melbourne, Australia
|
Posted: Tue Dec 07, 2004 10:08 pm Post subject: |
|
|
I just checked bugs.gentoo.org and there are a few reports about this, dating back to February. The main one seems to be this. It's marked FIXED:
Quote: | Bug has been fixed and released in stable portages on or before 2.0.51-r2 |
Before -r2? Is that why I got the problem with -r3? What's up with that? |
|
Back to top |
|
|
f1n4rf1n n00b
Joined: 30 May 2004 Posts: 46 Location: Osnabrueck [ger]
|
Posted: Thu Dec 16, 2004 6:58 pm Post subject: |
|
|
same here
damn I like my dispatch-conf .. |
|
Back to top |
|
|
kdag Tux's lil' helper
Joined: 18 Mar 2004 Posts: 139 Location: Switzerland
|
Posted: Sat Dec 18, 2004 6:27 am Post subject: |
|
|
Quote: | cp /usr/X11R6/bin/xkbcomp /usr/X11R6/lib/X11/xkb |
just doing that saved me of expending more time tweaking the xorg.conf file...i have already invested 1 or 2 hours just for the keyboard..dont ask me about dual head mergedFB with DRI
im almost finishing! _________________ http://soup.znerol.ch |
|
Back to top |
|
|
l8bit n00b
Joined: 12 Feb 2006 Posts: 35
|
Posted: Tue Mar 28, 2006 6:41 pm Post subject: |
|
|
Worked great! I spent hrs trying to find a solution but wasnt as lucky as you! Great post dude! |
|
Back to top |
|
|
hinken Tux's lil' helper
Joined: 16 Jan 2004 Posts: 109
|
Posted: Thu May 18, 2006 5:15 pm Post subject: |
|
|
Thanks a lot!
Now my ALT-GR works again! |
|
Back to top |
|
|
parsim Guru
Joined: 12 Aug 2004 Posts: 347 Location: Melbourne, Australia
|
Posted: Fri May 19, 2006 2:42 pm Post subject: |
|
|
Gotta say, it seems bizarre that people are still hitting this bug 18 months later.
Can users please join the chorus of bug reports here? That bug needs to be re-opened. |
|
Back to top |
|
|
georkost n00b
Joined: 07 Nov 2006 Posts: 5 Location: Greece
|
Posted: Tue Nov 07, 2006 5:28 pm Post subject: |
|
|
Hello , first post for me,
I think i have the same problem but I can't find neither X11R6 directory nor xkb binary file. I use 2006.1 on amd64.
In log appears this
Code: | (WW) Couldn't load XKB keymap, falling back to pre-XKB keymap |
The kkbswitch appear a "1" instead of anything else.
I think the problem encountered when i reemerged X11-libs
Please help |
|
Back to top |
|
|
wynn Advocate
Joined: 01 Apr 2005 Posts: 2421 Location: UK
|
Posted: Tue Nov 07, 2006 5:49 pm Post subject: |
|
|
There hasn't been a /usr/X11R6 for some time, it's just been a symlink Code: | # ls -l /usr
0 lrwxrwxrwx 1 root root 6 Oct 14 14:20 X11R6 -> ../usr/ | The fix proposed (a very long time ago!) is to copy xkbcomp to /usr/X11R6/lib/X11/xkb which (with the symlink) translates to /usr/lib/X11/xkb which (xorg -7.1) no longer exists. There is another xkbcomp in /usr/share/X11/xkb/xkbcomp but is is another symlink Code: | # ls -l /usr/share/X11/xkb/xkbcomp
0 lrwxrwxrwx 1 root root 20 Sep 9 19:19 /usr/share/X11/xkb/xkbcomp -> ../../../bin/xkbcomp* | I should check whether this symlink exists. It should have been created by x11-apps/xkbcomp _________________ The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details. |
|
Back to top |
|
|
georkost n00b
Joined: 07 Nov 2006 Posts: 5 Location: Greece
|
Posted: Tue Nov 07, 2006 6:50 pm Post subject: |
|
|
wynn wrote: | There hasn't been a /usr/X11R6 for some time, it's just been a symlink Code: | # ls -l /usr
0 lrwxrwxrwx 1 root root 6 Oct 14 14:20 X11R6 -> ../usr/ | The fix proposed (a very long time ago!) is to copy xkbcomp to /usr/X11R6/lib/X11/xkb which (with the symlink) translates to /usr/lib/X11/xkb which (xorg -7.1) no longer exists. There is another xkbcomp in /usr/share/X11/xkb/xkbcomp but is is another symlink Code: | # ls -l /usr/share/X11/xkb/xkbcomp
0 lrwxrwxrwx 1 root root 20 Sep 9 19:19 /usr/share/X11/xkb/xkbcomp -> ../../../bin/xkbcomp* | I should check whether this symlink exists. It should have been created by x11-apps/xkbcomp |
The symlink exists and also created the xkb as a cpy of xkbcomp but no good result.
the xorg.conf is
Code: | Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us,el"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection
|
Any suggestions? |
|
Back to top |
|
|
georkost n00b
Joined: 07 Nov 2006 Posts: 5 Location: Greece
|
Posted: Tue Nov 07, 2006 7:02 pm Post subject: |
|
|
The problem solved. I changed the "xfree86" with "xorg".
(I had copied the xorg.conf because it is a laptop)
Thanx |
|
Back to top |
|
|
Oriver n00b
Joined: 15 Dec 2006 Posts: 12
|
Posted: Fri Dec 15, 2006 12:55 pm Post subject: |
|
|
Has realized this is a long time thred. But actually I had the same problem, even "XkbRules" is already set to "xorg" in 2006.1. What I found is that there is a symlink /usr/share/X11/xkb/compiled ->/var/lib/xkb but /var/lib/xkb deos not exist. It works after the /var/lib/xkb directory is created.
Not sure if it is the right fix, but hope it helps. |
|
Back to top |
|
|
|