I am not sure what is causing tis but enabling debug of xorg-server I get these: Popen: `"/usr/bin/xkbcomp" -w 1 "-R/usr/share/X11/xkb" -xkm "-" -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "/tmp/server-0.xkm"', fp = 0x8458e20 Pclose: fp = 0x8458e20 Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Group width mismatch between key and type Loaded XKB keymap /tmp/server-0.xkm, defined=0x7f Might be related to the problems with xmodmap breakages reported in bugs.gentoo.org?
Created attachment 179913 [details] Xorg.0.log x11-apps/setxkbmap-1.0.4, x11-apps/xkbcomp-1.0.5, x11-apps/xkbevd-1.0.2, x11-apps/xkbutils-1.0.1-r1, x11-libs/libxkbfile-1.0.5, x11-libs/libxkbui-1.0.2
x11-base/xorg-server-1.5.3-r1 was compiled with "--enable-debug" CFLAGS="-ggdb -O0 -DDEBUG -DNDEBUG" CXXFLAGS=$CFLAGS
If nothing's wrong, then why worry? If you enable debug output, you'll get lots of garbage. Unless you have a _real_ bug, I see nothing to fix here. Thanks
I do not see the Video Bus appearing anymore in /var/log/Xorg.0.log. However, the alt+shift keyboard layout switch still does not work. I suspect this is the real cause. Have at the moment: x11-drivers/xf86-input-evdev-2.1.1 x11-drivers/xf86-input-keyboard-1.3.2 x11-drivers/xf86-input-mouse-1.4.0 x11-base/xorg-server-1.5.3-r1
please attach your xorg.conf and your new Xorg.0.log. Which version of xkeyboard-config are you using? Thanks
Created attachment 180273 [details] Xorg.0.log This is a CFLAGS="-DDEBUG -DNDEBUG" build of 1.5.3-r1.
Created attachment 180274 [details] xorg.conf
Have x11-misc/xkeyboard-config-1.4: $ setxkbmap -print xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+us+cz(qwerty):2+inet(evdev)" }; xkb_geometry { include "pc(pc104)" }; }; $
Created attachment 180275 [details] use-multiple-layouts.fdi
Everything looks correct though. Does anything change if you remove the asserts? Thanks
(In reply to comment #10) > Everything looks correct though. Does anything change if you remove the > asserts? Your mean not compiling with "-DDEBUG -DNDEBUG"? Then I don't see anything from the output in the original report. I do not understand the X11 details it I am naively thinking that /usr/share/X11/xkb/ contents are wrong. Yes, it seems nobody knew about that because the patch to allow one to compile using ./configure --enable-debug "-DDEBUG -DNDEBUG" was committed only recently. So, I think this is likely a hint to bug, otherwise masked by the many cases that "keyboard layout is broken after an upgrade from 1.3.99". ;-) Shall I file that in bugzilla at freedesktop.org? I hope somebody can interpret those messages.
Heh, another Gentoo user: https://bugs.freedesktop.org/show_bug.cgi?id=12660
Thing is, you've never even stated what your bug was. I assumed you were only talking about the asserts. Now please restate what your *real* issue is and please change the bug title accordingly so that I don't lose my mind trying to figure out what is wrong. Thanks
Please reopen this bug once you can properly explain what your *real* bug is. Thanks
The (warning/error?) messages reported in the initial bug report did NOT disappear with correct keyboard layout definition (I will attach it as well for completeness). However, nobody even on the xorg@ mailing list (http://lists.freedesktop.org/mailman/listinfo/xorg under thread "[Bug 19947] xkbcomp-1.0.5: Group width mismatch between key and type" on Fe23 2009) explained me what do they really mean. If no developers know what is generating that ... I do not care either. Definitely, it was not related to my keyboard layout problem. Currently am running with: (II) config/hal: Adding input device AT Translated Set 2 keyboard (**) AT Translated Set 2 keyboard: always reports core events (**) AT Translated Set 2 keyboard: Device: "/dev/input/event4" (II) AT Translated Set 2 keyboard: Found keys (II) AT Translated Set 2 keyboard: Configuring as keyboard (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD) (**) Option "xkb_rules" "evdev" (**) Option "xkb_model" "pc105" (**) Option "xkb_layout" "us,cz" (**) Option "xkb_variant" ",qwerty" (**) Option "xkb_options" "grp:alt_shift_toggle,grp_led:scroll,caps:shift_nocancel" <deviceinfo version="0.2"> <device> <match key="info.capabilities" contains="input.mouse"> <merge key="input.x11_driver" type="string">mouse</merge> <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="Linux"> <merge key="input.x11_driver" type="string">evdev</merge> </match> </match> <match key="info.capabilities" contains="input.keyboard"> <merge key="input.x11_driver" type="string">evdev</merge> <merge key="input.xkb.rules" type="string">xorg</merge> <merge key="input.xkb.model" type="string">pc105</merge> <merge key="input.xkb.layout" type="string">us,cz</merge> <merge key="input.xkb.variant" type="string">,qwerty</merge> <merge key="input.xkb.options" type="string">grp:alt_shift_toggle,grp_led:scroll,caps:shift_nocancel</merge> </match> <match key="info.product" contains="Video Bus"> <remove key="input.x11_driver"/> <remove key="input.xkb"/> </match> </device> </deviceinfo>