Bug 13011 - xkb resets configuration loaded with xkbcomp
Summary: xkb resets configuration loaded with xkbcomp
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.3 (2007.09)
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-30 13:59 UTC by Konstantin Sobolev
Modified: 2018-12-13 22:18 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
my xkb configuration (3.65 KB, application/octet-stream)
2007-10-30 13:59 UTC, Konstantin Sobolev
no flags Details

Description Konstantin Sobolev 2007-10-30 13:59:08 UTC
I have a Microsoft Natural Ergonomic Keyboard 4000. My 2.6.23 kernel is patched with liyu's patch mentioned here:
http://ubuntuforums.org/showthread.php?t=229559&page=11

I'm loading my custom xkb settins using "xkbcomp -a -R/home/kos/.xkb xkb $DISPLAY" command after server startup. Configuration files are attached, but they basically follow this howto: http://gentoo-wiki.com/HOWTO_Microsoft_Natural_Ergonomic_Keyboard_4000

It used to work perfectly on xorg-server-1.3, but I've installed 1.4 on my new box and have a couple of problems with it.

First, 'My Favorites' button crashes X:

Backtrace:
0: /usr/bin/X(xf86SigHandler+0x6a) [0x476f52]
1: /lib/libc.so.6 [0x2b0ada7ad470]
2: /lib/libc.so.6 [0x2b0ada7f2d1b]
3: /lib/libc.so.6(memmove+0x73) [0x2b0ada7f1c23]
4: /usr/bin/X(SetKeySymsMap+0x1b6) [0x446394]
5: /usr/bin/X(SwitchCoreKeyboard+0xe3) [0x45ba70]
6: /usr/bin/X(mieqProcessInputEvents+0x167) [0x4cfd80]
7: /usr/bin/X(ProcessInputEvents+0x1c) [0x477661]
8: /usr/bin/X(Dispatch+0x7d) [0x44d1d7]
9: /usr/bin/X(main+0x47f) [0x436f75]
10: /lib/libc.so.6(__libc_start_main+0xf4) [0x2b0ada79ab74]
11: /usr/bin/X(FontFileCompleteXLFD+0x249) [0x436339]

May be it has something to do with https://bugs.freedesktop.org/show_bug.cgi?id=9180

Next, updated XKB configuration works for some time (for instance, Esc and Win keys are swapped as I like it), but is reset to the default one defined in xorg.conf as soon as I press any additional key. It happens silently, there are no messages in Xorg.0.log or dmesg or anywhere else.

My keyboard is configured in xorg.conf as two devices (see gentoo's howto above for details), main keys use 'kbd' driver, and aux keys use 'evdev' driver. It looks like XKB configuration is reset as soon as evdev sends any event, i.e. any aux key is pressed.

Once again, the same configuration works in xorg-server-1.3 flawlessly.

System info: EM64T, (64-bit) Gentoo, 2.6.23 gentoo sources with liyu's patch. System was compiled from scratch, it wasn't an upgrade from 7.1 or something else.
Comment 1 Konstantin Sobolev 2007-10-30 13:59:47 UTC
Created attachment 12268 [details]
my xkb configuration
Comment 2 Daniel Stone 2007-10-30 15:28:23 UTC
Yeah, loading XKMs is currently broken, IIRC.  Loading by name should be fine.
Comment 3 Konstantin Sobolev 2008-06-10 01:25:35 UTC
See also:  https://bugs.freedesktop.org/show_bug.cgi?id=16288
Comment 4 GitLab Migration User 2018-12-13 22:18:34 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/358.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.