Hello, I installed xorg-server-1.7.1 (with all appropriate deps). After restart I found that there is only one keyboard layout, instead of two. I added 'input.xkb' style options in addition to 'input.x11_options' in hal, and switching layout is working. But gnome and 'setxkbmap -print' doesn't see any layouts besides US.
Created attachment 208445 [details] HAL FDI file for keyboard layouts
Haven't checked it, but first try changing type of input.x11_options.XkbOptions to string, as strlist was deprecated even in 1.5.
It doesn't help. Problem is that xorg doesn't see layouts. So changing XkbOption to string can't help with that.
Is the output of lshal correct? Could you attach it here? Thanks
Yes, it's correct, and I didn't change it between xorg-server-1.6.x and xorg-server-1.7.1. Here it is: udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input' info.addons.singleton = {'hald-addon-input'} (string list) info.capabilities = {'input', 'input.keyboard', 'input.keypad', 'input.keys', 'button'} (string list) info.category = 'input' (string) info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port' (string) info.product = 'AT Translated Set 2 keyboard' (string) info.subsystem = 'input' (string) info.udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input' (string) input.device = '/dev/input/event0' (string) input.originating_device = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port' (string) input.product = 'AT Translated Set 2 keyboard' (string) input.x11_driver = 'evdev' (string) input.x11_options.XkbLayout = 'us,ru' (string) input.x11_options.XkbOptions = 'grp:caps_toggle,grp_led:scroll,erminate:ctrl_alt_bksp' (string) input.x11_options.XkbVariant = ',winkeys' (string) input.xkb.layout = 'us,ru' (string) input.xkb.model = 'evdev' (string) input.xkb.options = 'grp:caps_toggle,grp_led:scroll,erminate:ctrl_alt_bksp' (string) input.xkb.rules = 'base' (string) input.xkb.variant = ',winkeys' (string) linux.device_file = '/dev/input/event0' (string) linux.hotplug_type = 2 (0x2) (int) linux.subsystem = 'input' (string) linux.sysfs_path = '/sys/devices/platform/i8042/serio0/input/input0/event0' (string)
Oops, "erminate" here is because of typo in .fdi file, when I change type from strlist to string.
Changing back to 'terminate' didn't help, either
Could you attach your Xorg.0.log please? Thanks
Created attachment 208561 [details] Xorg.0.log
Sorry, I'm out of ideas, please file a bug upstream [1] and paste the URL here so I can track the issue. Thanks [1] https://bugs.freedesktop.org/ => "xorg" product
Created attachment 209575 [details] Xorg.0.log and one reconnect keaboard (last lines). I have bug too. All work if I reconnect my usb keyboard. And some strange in keyboard detect.
I'm really out of ideas, could either of you open a bug upstream [1] and paste the URL here? Thanks [1] https://bugs.freedesktop.org/
I opened the bug, but they didn't see it... https://bugs.freedesktop.org/show_bug.cgi?id=24791
Reopening
Let's track the bug upstream directly. Thanks
Oh hold on, could you switch the "strlist" to "string" in your fdi file? Thanks
Please see comments #2 and #3
Could you attach the full output of lshal? Thanks
Created attachment 209613 [details] lshal output
Ok, so everything looks ok to me. Could you try going to Gnome's keyboard configuration applet and click on the "reset" button that's in one of the tabs? Log out and then log back in. Oh and does the layout switching work in GDM or in a simpler desktop like fluxbox? Thanks
Reset button in gnome keyboard config reset layout to only one - US layout. Also I restart Xorg with XSESSION=Xsession, and in xterm I also got one layout
Just a minor note: there doesn't seem to be a 'winkeys' variant of 'ru' layout. Such variant exist for 'by', 'ro' and 'ua' layouts - see if it works with a proper variant. Oh, and set the file type of your fdi file in the upstream bug to text/plain (even if it happens to be INVALID).
ru(winkeys) is in symbols/ru file (first section). Anyway, I delete appropriate line in FDI file, and after restarting server, found that problem still here. PS. Thanks for tip, I changed mime type