Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49936 - hu keymap won't work with others in xorg-x11 6.8.0
Summary: hu keymap won't work with others in xorg-x11 6.8.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-04 00:09 UTC by Zsombor G.
Modified: 2005-11-13 15:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zsombor G. 2004-05-04 00:09:03 UTC
After I emerged gnome 2.6, every time I log in, the following error showing:

"Hiba az XKB konfigur
Comment 1 Zsombor G. 2004-05-04 00:09:03 UTC
After I emerged gnome 2.6, every time I log in, the following error showing:

"Hiba az XKB konfigurációjának aktiválásakor.
Valószínűleg belső X szerver probléma.

X szerver verzió adatok:
Gentoo Linux (XFree86 4.3.0, revision r5)
40300001

Ha ezt a helyzetet hibaként jelenti, kérem, csatolja az alábbiakat:
- xprop -root | grep XKB eredményét
- gconftool-2 -R /desktop/gnome/peripherals/keyboard/xkb eredményét
"

And the output of the xkbmap commands:
$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xfree86", "pc105", "us", "", ""
_XKB_RULES_NAMES(STRING) = "xfree86", "pc105", "us", "", ""

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/xkb
 layouts = [us,hu_qwerty]
 model = pc105
 overrideSettings = false
 options = [grp grp:alt_shift_toggle,altwin     altwin:menu,caps  caps:shift]

The same error occurs when I try to modify my keyboard layout in the keyboard-configuring applet. And I unable to switch layouts with one keypress as  before. I suspect that setxkbmap has some strange problems, because if I run:

$ setxkbmap -rules xfree86 -model pc105 -layout "us" -option "grp:alt_shift_toggle"

Then, it's switch to us keyboard, 
$ setxkbmap -rules xfree86 -model pc105 -layout "hu_qwerty" -option "grp:alt_shift_toggle"

Switch to hungarian layout, however when I try to specify to use both layout:
$ setxkbmap -rules xfree86 -model pc105 -layout "us,hu_qwerty" -option "grp:alt_shift_toggle"
Error loading new keyboard description

And everything stays as before.
re-emerging xfree doesnt helped.

I saw some bug reports, concerning xkb and xorg-x11, but as I still use xfree, so I think this is a general X (or gnome) bug.


Reproducible: Always
Steps to Reproduce:
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-05-04 11:44:38 UTC
Which version of libxklavier? Please try 1.02.
Comment 3 Zsombor G. 2004-05-04 12:15:00 UTC
My libxklavier version is 1.02
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2004-06-08 00:17:17 UTC
I'd appreciate it if you would try the latest xorg-x11 (make sure you've synced since June 3).
Comment 5 Zsombor G. 2004-06-08 14:41:02 UTC
Okay, I will try.
 Meanwhile I found an interesting line in my XFree86.0.log :

(II) Keyboard "Keyboard0" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(II) Mouse0: ps2EnableDataReporting: succeeded
Error loading keymap /usr/X11R6/lib/X11/xkb/compiled/server-0.xkm

Infact, it has error ... my /usr/X11R6/lib/X11/xkb/compiled just contains a README file about compiled keymaps.
 Any clue? 
Comment 6 Zsombor G. 2004-06-08 17:41:57 UTC
After switching to Xorg, still the same

"Hiba az XKB konfigur
Comment 7 Zsombor G. 2004-06-08 17:41:57 UTC
After switching to Xorg, still the same

"Hiba az XKB konfigurációjának aktiválásakor.
Valószínűleg belső X szerver probléma.

X szerver verzió adatok:
Gentoo Linux (The X.Org Foundation 6.7.0, revision r0-1.0)
60700000

Ha ezt a helyzetet hibaként jelenti, kérem, csatolja az alábbiakat:
- xprop -root | grep XKB eredményét
- gconftool-2 -R /desktop/gnome/peripherals/keyboard/xkb eredményét"

$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc105", "us", "", ""
_XKB_RULES_NAMES(STRING) = "xorg", "pc105", "us", "","grp:alt_shift_toggle,grp_led:caps,grp:win_switch"

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/xkb
 layouts = [us,hu       uni_101_qwerty_dot]
 model = pc105
 overrideSettings = false
 options = [grp grp:alt_shift_toggle,grp_led    grp_led:caps,grp        grp:win_switch]

And there is an error message at the end of Xorg.0.log: 

(II) Keyboard "Keyboard0" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(II) Mouse0: ps2EnableDataReporting: succeeded
Could not init font path element /usr/share/fonts/Speedo/, removing from list!
Could not init font path element /usr/share/fonts/Type1/, removing from list!
Could not init font path element /usr/share/fonts/CID/, removing from list!
(EE) Error loading keymap /usr/X11R6/lib/X11/xkb/compiled/server-0.xkm
GetModeLine - scrn: 0 clock: 110000
GetModeLine - hdsp: 1280 hbeg: 1328 hend: 1512 httl: 1712
              vdsp: 1024 vbeg: 1025 vend: 1028 vttl: 1054 flags: 0
SetKbdSettings - type: 2 rate: 30 delay: 500 snumlk: 0
SetKbdSettings - Succeeded



Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2004-09-30 14:08:07 UTC
Is this still an issue in xorg-x11 6.8? Could you please supply English versions of those error messages? Also take a look at bug #47131 and bug #47243 and let me know whether one of those is your problem.
Comment 9 Adam Jackson 2004-09-30 14:33:01 UTC
http://freedesktop.org/bugzilla/show_bug.cgi?id=472

this is a user configuration error 9 times out of 10, the solution is to not specify an XkbRules line in xorg.conf.
Comment 10 Zsombor G. 2004-09-30 15:49:30 UTC
Yes, still issue. 
Currently my x config contains: 

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"

        Option "XkbModel" "pc105"
        Option "XkbLayout" "us"
#       Option "XKbOptions" "grp:alt_shift_toggle"
EndSection

And the error is the same.
Comment 11 Zsombor G. 2004-09-30 15:59:20 UTC
My XOrg version is:
 Gentoo Linux (The X.Org Foundation 6.8.0, revision r0-0.1) 60800000

And the described error with setxkbmap is still persist (eg. i am not able to specify 2 different layout, however from the man page I think it's possible) I'm think that this two errors are related, probably there is a corrupted config file? 
How can I check that?
Comment 12 Steven Hay 2004-10-26 18:27:50 UTC
See recent entries in Bug 47243.
Comment 13 Zsombor G. 2004-11-04 15:42:57 UTC
I think i found a reference to this bug:
 https://bugzilla.redhat.com/bugzilla/long_list.cgi?buglist=116669
Comment 14 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-04 16:38:37 UTC
That bug primarily addresses use of complex ca* layouts in combination with others. You appear to be trying to use -layout "us,hu_qwerty".
Comment 15 Zsombor G. 2004-11-05 00:28:52 UTC
Yes, I know. Probably the hungarian layout is similarly complex.

zsombor@trantor tmp $ setxkbmap -layout "ca"
zsombor@trantor tmp $ setxkbmap -layout "de,hu"
Error loading new keyboard description
zsombor@trantor p2p $ setxkbmap -layout "us,ru,fr"
zsombor@trantor p2p $ setxkbmap -layout "us,hu"
Error loading new keyboard description
zsombor@trantor tmp $ setxkbmap -layout "hu"

....

If I specify layout hu (or ca) with some other layout, then setxkbmap fails. In other cases it works as expected.
Comment 16 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-05 00:43:12 UTC
You might want to enter a new bug at bugs.freedesktop.org under xkeyboard-config on this.
Comment 17 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-28 23:56:07 UTC
hu and ca keymaps can't be combined with others. This is a known bug.
Comment 18 Joshua Baergen (RETIRED) gentoo-dev 2005-11-13 15:58:44 UTC
I just tried this and it appears to be fixed in 7.0 (no errors on layout changes
that include ca/hu).  Feel free to re-open if this is still a problem.
Comment 19 Joshua Baergen (RETIRED) gentoo-dev 2005-11-13 15:59:05 UTC
Marking fixed.