Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193899 - x11-misc/xkeyboard-config-1.1 breaks xdm
Summary: x11-misc/xkeyboard-config-1.1 breaks xdm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-26 18:46 UTC by Sylvain BERTRAND
Modified: 2007-10-14 10:16 UTC (History)
3 users (show)

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 Sylvain BERTRAND 2007-09-26 18:46:24 UTC
After cleanely removing xkeyboard-config 0.9 (rm -Rf /usr/share/X11/xkb), I installed xkeyboard-config 1.1, then xdm broke down.
I have a brief dark screen each time I type a key. The key is ignored. My input driver is evdev. I recompiled xf86-input-evdev and xdm with no success afterwards.
Back to xkeyboard-config 0.9, everything worked again fine.
  
Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22.7 i686)
=================================================================
System uname: 2.6.22.7 i686 Intel(R) Pentium(R) M processor 2.00GHz
Timestamp of tree: Wed, 26 Sep 2007 16:50:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://mirror.ovh.net/gentoo-distfiles/ "
LANG="fr_FR.UTF-8"
LINGUAS="fr"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa apache2 audiofile bash-completion bitmap-fonts bzip2 cairo cddb cdparanoia cdr cli cracklib crypt cscope cups curl dbus dri dts dvd dvdr dvdread eds emboss encode evo exif fam fftw firefox flac gdbm gnutls gstreamer gtk hal iconv idn isdnlog javascript jpeg jpeg2k libsamplerate mad matroska midi mikmod mmap mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python qt3support quicktime readline reflection session sndfile spell spl sse sse2 ssl startup-notification svg symlink theora threads tiff truetype truetype-fonts type1-fonts unicode vorbis wifi wxwindows x86 xcomposite xml xorg xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="i810 none"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2007-09-26 23:33:02 UTC
Could you try the keyboard driver for your keyboard instead of evdev, with 1.1?
Comment 2 Jan Smout 2007-09-27 14:15:38 UTC
I have the same problem when I select "enable keyboard layouts" in the "keyboard layout" module of the KDE control center.

Following the guidelines from http://www.freebsd.org/cgi/query-pr.cgi?pr=114876 I created the directory /usr/X11R6/share/X11/xkb/compiled as root which resolved my issues with xkeyboard-config. Although the directory remains empty (upto now), it seems to be mandatory.
Comment 3 Sylvain BERTRAND 2007-09-27 17:41:54 UTC
With the keyboard driver, it does not make xdm crash, but the layout of keys is vastly disfunctionning: shift keys do not work, vt switching keys neither...

xorg.conf section relation to my layout:
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "evdev"
        Option      "name"       "*AT*keyboard*"
        Option      "XkbRules"   "xorg"
        Option      "XkbModel"   "evdev"
        Option      "XkbLayout"  "fr"
        Option      "XkbVariant" "oss_nodeadkeys"
EndSection
Comment 4 Oldrich Jedlicka 2007-09-27 18:14:18 UTC
I do not know if this caused problems, but maybe this helps. I tried to run 

setxkbmap -model evdev -layout fr -variant oss_nodeadkeys -print | xkbcomp - /dev/null

and you can see problems with configuration: missing keysyms (XF86KbdLightOnOff, XF86KbdBrightnessDown, XF86KbdBrightnessUp). libX11-1.1.3 has XKeysymDB (keysym database), but it doesn't contain those names. Is there some update of libX11 available?
Comment 5 Oldrich Jedlicka 2007-09-27 19:37:39 UTC
I realized that I'm also missing /usr/share/X11/xkb/compiled, so I created a link that points to /var/lib/xkb (as root user):

ln -s /var/lib/xkb /usr/share/X11/xkb/compiled

Now I'm able to compile your keymap successfully with command (as normal user from X)

setxkbmap -model evdev -layout fr -variant oss_nodeadkeys

Also VT switching works fine. Hope this helped.
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-01 10:34:06 UTC
Does xorg-server-1.4-r2 work?
Comment 7 Jan Smout 2007-10-01 10:57:03 UTC
(In reply to comment #6)
> Does xorg-server-1.4-r2 work?

No idea, I'm using xorg-server-1.3.0.0 at the moment.
Comment 8 Sylvain BERTRAND 2007-10-02 00:52:21 UTC
(In reply to comment #6)
> Does xorg-server-1.4-r2 work?
> 
Works for me.
Comment 9 Oldrich Jedlicka 2007-10-02 16:28:16 UTC
(In reply to comment #6)
> Does xorg-server-1.4-r2 work?
>
Works for me too (no need to use workaround from comment #5).
Comment 10 Romain Riviere 2007-10-03 16:57:49 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Does xorg-server-1.4-r2 work?
> 
> No idea, I'm using xorg-server-1.3.0.0 at the moment.

I would like to add that I have exactly the same problem here : using xorg 1.3.0.0 and xkeyboard-config-1.1 breaks xdm (and X in general too), unless you manually create the symlink suggested in comment #5

Comment 11 Sylvain BERTRAND 2007-10-12 21:42:48 UTC
xkeyboard-config 1.1 is ~ like the 1.4 xorg server. You should use both ~ x11 packages to make them work properly. BTW, is the latest revision of 1.3 xorg server fixed the issue (which is stable) with xkeyboard-config 1.1 (which is ~)?
To have a mixup of stable and ~ packages is not recommended for such intermangled packages(x11 server related packages).
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-14 10:16:30 UTC
Should be fixed in 1.3-r2 and 1.4-r2.