Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 193993
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 194026
Assigned To: Gentoo X packagers <x11@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matteo Azzali <mattepiu@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 193993 depends on: Show dependency tree
Bug 193993 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-09-27 13:23 0000
After upgrading 0.9 to 1.1 and getting the new keyboard config files through
etc-update , I rebooted and now all the shortcuts to obtain special chars
not present on my keyboard are gone (i.e.: I can't even insert the c
parenthesis "{" or the tilde without Kcharselect) while I'm in X.

Reproducible: Always

Actual Results:  
Alt-gr + (7-0') produces nothing

Expected Results:  
Alt-gr + (7-0' and igrave) produces special chars not present here

------- Comment #1 From gblist@communicationvalley.it 2007-09-27 13:34:41 0000 -------
It is setting the keymap that fails, both on X startup:

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

and manually with setxkbmap.

(I don't have an actual error message from setxkbmap handy, I downgraded to
0.9).

------- Comment #2 From Lars Wendler (Polynomial-C) 2007-09-27 15:01:17 0000 -------
Hi,

I can confirm this error. I got rid of it after I recompiled libX11,
xorg-server and xf86-input-keyboard.
I don't know if recompilation of all three packages is really necessary but I
was lazy and so didn't test package by package ;)

Cheers
Poly-C

------- Comment #3 From Markus Rathgeb 2007-09-27 15:16:01 0000 -------
Can you prepare if it works after the command:
setxkbmap -keycodes xfree86 -geometry pc -model pc105 -layout de
(replace the layout if you want).

------- Comment #4 From Markus Rathgeb 2007-09-27 15:24:50 0000 -------
Hm, now it is enough for me to do "setxkbmap -layout de".
Perhaps you are able to test if the AltGr key is working with layout de.

------- Comment #5 From hmk 2007-09-27 15:47:19 0000 -------
(In reply to comment #2)
> Hi,
> 
> I can confirm this error. I got rid of it after I recompiled libX11,

Just a "me too".

> xorg-server and xf86-input-keyboard.

A shorter version to fix this error might be emerge -C xkeyboard-config &&
emerge xkbdata
Actually I do not know where the precise difference between these is, but it
fixed the issue for me.

------- Comment #6 From Davide Pesavento 2007-09-27 15:54:58 0000 -------
Here AltGr, ctrl + alt (to switch VTs), win keys and accented vowels in the
right part of the italian keyboard stopped working after upgrading to 1.1.

`setxkbmap -layout <enter whatever you want here>` fails with an error message
like
"Could not load description for...."
I don't remember the exact message because I downgraded to 0.9.

------- Comment #7 From Matteo Azzali 2007-09-27 15:55:45 0000 -------
I'll have to re-emerge something, setxkbmap doesn't seems to work here:

-setxkbmap -keycodes xfree86 -geometry pc -model pc105 -layout it
Error loading new keyboard description
-setxkbmap -layout it
Error loading new keyboard description

------- Comment #8 From Matteo Azzali 2007-09-27 15:57:26 0000 -------
P.S.: xkbdata is deprecated, see:
http://lists.freedesktop.org/archives/xorg-announce/2006-December/000203.html

------- Comment #9 From Markus Rathgeb 2007-09-27 16:39:21 0000 -------
I think the cause of "Error loading new keyboard description" is the warning
"(WW) Couldn't load XKB keymap, falling back to pre-XKB keymap".
I did not get this warning.
Also I know now (when you do not get this warning), what you have change in the
e.g. us layout to get a working alt-gr with setxkbmap.

------- Comment #10 From gblist@communicationvalley.it 2007-09-28 09:37:46 0000 -------
(In reply to comment #2)
> Hi,
> I can confirm this error. I got rid of it after I recompiled libX11,
> xorg-server and xf86-input-keyboard.
> I don't know if recompilation of all three packages is really necessary but I
> was lazy and so didn't test package by package ;)

I recompiled xf86-input-keyboard, libX11, xorg-server in that order and only
after xorg-server did it work.
So emerge --oneshot xorg-server is necessary and probably sufficient.
Someone else may check that, perhaps?

------- Comment #11 From Togge 2007-09-28 11:32:31 0000 -------
(In reply to comment #10)
> So emerge --oneshot xorg-server is necessary and probably sufficient.
> Someone else may check that, perhaps?

That did it for me.

------- Comment #12 From Miroslav Šulc 2007-09-28 12:28:46 0000 -------
I can confirm that re-emerge of xorg-xserver fixed it for me too. I just recall
I had similar problem with xorg mouse driver (mouse has died) and re-emerge of
xorg-xserver fixed that too. So it seems upgrades of some components need
xorg-xserver to be re-emerged.

------- Comment #13 From Davide Pesavento 2007-09-28 14:01:33 0000 -------
Re-emerging xorg-server fixed all of my issues with the keyboard.

@x11: what about adding a warning to xkeyboard-config's pkg_postmerge() telling
users to rebuild xorg-server?

Anyway this bug is INVALID...

------- Comment #14 From Rémi Cardona 2007-09-30 18:17:42 0000 -------
Confirming rebuilding xorg-server fixes the issue.

This is definitely worth some kind of announcement at least in the ebuild, but
GWN might be a good place too. Losing one's keyboard is not exactly fun to see
:)

Cheers

------- Comment #15 From Donnie Berkholz 2007-10-01 06:15:32 0000 -------
This looks like a dupe.

*** This bug has been marked as a duplicate of bug 194026 ***

------- Comment #16 From Patrick ALLAERT 2007-12-23 12:01:32 0000 -------
Indeed, this is a dupe of #194026 and a quicker fix than recompiling
xorg-server is:

ln -s /var/lib/xkb /usr/share/X11/xkb/compiled

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug