Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290782 - x11-base/xorg-server: after update to 1.7.1 there are problems with keyboard layouts.
Summary: x11-base/xorg-server: after update to 1.7.1 there are problems with keyboard ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-27 17:45 UTC by Yaroslav Isakov
Modified: 2009-11-17 16:29 UTC (History)
1 user (show)

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


Attachments
HAL FDI file for keyboard layouts (10-x11-input.fdi,933 bytes, text/plain)
2009-10-27 17:50 UTC, Yaroslav Isakov
Details
Xorg.0.log (Xorg.0.log,36.82 KB, text/plain)
2009-10-28 17:52 UTC, Yaroslav Isakov
Details
Xorg.0.log and one reconnect keaboard (last lines). (Xorg.0.log,16.91 KB, text/plain)
2009-11-07 20:30 UTC, Yury Zhuravlev
Details
lshal output (lshal.out,112.62 KB, text/plain)
2009-11-08 10:18 UTC, Yaroslav Isakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yaroslav Isakov 2009-10-27 17:45:05 UTC
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.
Comment 1 Yaroslav Isakov 2009-10-27 17:50:29 UTC
Created attachment 208445 [details]
HAL FDI file for keyboard layouts
Comment 2 Rafał Mużyło 2009-10-27 18:41:32 UTC
Haven't checked it, but first try changing type
of input.x11_options.XkbOptions to string,
as strlist was deprecated even in 1.5.
Comment 3 Yaroslav Isakov 2009-10-27 19:50:00 UTC
It doesn't help. Problem is that xorg doesn't see layouts. So changing XkbOption to string can't help with that.
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-10-28 16:14:01 UTC
Is the output of lshal correct? Could you attach it here?

Thanks
Comment 5 Yaroslav Isakov 2009-10-28 17:17:16 UTC
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)
Comment 6 Yaroslav Isakov 2009-10-28 17:21:05 UTC
Oops, "erminate" here is because of typo in .fdi file, when I change type from strlist to string.
Comment 7 Yaroslav Isakov 2009-10-28 17:21:51 UTC
Changing back to 'terminate' didn't help, either
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2009-10-28 17:43:45 UTC
Could you attach your Xorg.0.log please?

Thanks
Comment 9 Yaroslav Isakov 2009-10-28 17:52:01 UTC
Created attachment 208561 [details]
Xorg.0.log
Comment 10 Rémi Cardona (RETIRED) gentoo-dev 2009-10-29 00:32:31 UTC
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
Comment 11 Yury Zhuravlev 2009-11-07 20:30:18 UTC
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.
Comment 12 Rémi Cardona (RETIRED) gentoo-dev 2009-11-07 23:09:50 UTC
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/
Comment 13 Yaroslav Isakov 2009-11-07 23:42:01 UTC
I opened the bug, but they didn't see it...
https://bugs.freedesktop.org/show_bug.cgi?id=24791
Comment 14 Rémi Cardona (RETIRED) gentoo-dev 2009-11-08 08:46:47 UTC
Reopening
Comment 15 Rémi Cardona (RETIRED) gentoo-dev 2009-11-08 08:47:11 UTC
Let's track the bug upstream directly.

Thanks
Comment 16 Rémi Cardona (RETIRED) gentoo-dev 2009-11-08 08:49:11 UTC
Oh hold on, could you switch the "strlist" to "string" in your fdi file?

Thanks
Comment 17 Yaroslav Isakov 2009-11-08 09:03:39 UTC
Please see comments #2 and #3
Comment 18 Rémi Cardona (RETIRED) gentoo-dev 2009-11-08 09:32:51 UTC
Could you attach the full output of lshal?

Thanks
Comment 19 Yaroslav Isakov 2009-11-08 10:18:12 UTC
Created attachment 209613 [details]
lshal output
Comment 20 Rémi Cardona (RETIRED) gentoo-dev 2009-11-08 10:58:38 UTC
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
Comment 21 Yaroslav Isakov 2009-11-14 18:31:54 UTC
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
Comment 22 Rafał Mużyło 2009-11-17 07:41:25 UTC
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).
Comment 23 Yaroslav Isakov 2009-11-17 16:29:25 UTC
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