Summary: | x11-base/xorg-server-1.5.2: Keypresses ignored unless held for ~1 second | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeremy Murphy <jeremy.william.murphy> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED INVALID | ||
Severity: | minor | CC: | heiko.baums |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | log file showing drivers, etc |
Description
Jeremy Murphy
2008-11-03 06:47:55 UTC
Whoops, here's "emerge --info": Portage 2.2_rc13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r2 x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-r2-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-glibc2.2.5 Timestamp of tree: Mon, 03 Nov 2008 00:26:01 +0000 distcc 3.0 x86_64-pc-linux-gnu [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.4.8 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0-r1 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=core2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=core2" DISTDIR="/home/portage/distfiles" FEATURES="collision-protect distlocks fixpackages parallel-fetch prelink preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.iinet.net.au/pub/Gentoo " LANG="en_AU.UTF-8" LC_ALL="en_AU.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_AU.UTF-8 en_AU en_GB.UTF-8 en_GB" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/home" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="X a52 aac aalib acpi alsa amd64 ao bash-completion berkdb bluetooth branding bzip2 cairo cddb cdr cli cracklib crypt curl dbus dia doc dvd dvdr dvdread emboss encode exif expat fam ffmpeg fftw firefox flac fontconfig fortran gd gdbm gif gnome gnutls gpm graphviz gstreamer gtk hal iconv icq imagemagick imlib ipod ipv6 isdnlog java javascript jpeg jpeg2k kde libnotify lm_sensors lzo mad matroska midi mikmod mmap mmx mng mp3 mpeg mplayer msn mudflap multilib mysql mysqli ncurses nls nptl nptlonly nsplugin ntfs offensive ogg openal opengl openmp pam pch pcre pdf png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session sharedmem spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs syslog tcpd theora tiff timidity truetype unicode usb vcd vorbis wavpack wxwindows xcomposite xml xorg xpm xulrunner xv xvid xvmc 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_AU.UTF-8 en_AU en_GB.UTF-8 en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Looking back through my emerge history, I've realised that I upgraded x11-drivers/xf86-input-keyboard from 1.1 to 1.3 around the same time that I upgraded xorg-server from 1.3 to 1.5 and this bug appeared. Coincidence? Hmmmm... Any useful dmesg output or Xorg.?.log output? Oh and do you use evdev or keyboard as X11 driver? Nothing in dmesg, but I always restart X before I think to look in the log file. :) I have this section: Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection in my xorg.conf and it is referred to in the server layout. I have also tried with no keyboard referred to in the server layout, and the bug still happens, so what driver does it use there? I have the evdev driver installed, so it is available. Could you please attach Xorg.0.log? It might contain some useful info. Thanks I've since downgraded to xorg-server-1.5.1, so it remains to be seen if the bug will manifest in this version. Will let you know how things go. Created attachment 170712 [details]
log file showing drivers, etc
My X log file suggests that evdev is being used as the keyboard driver; how can I force X to use the old-fashioned keyboard driver that comes with xf86-input-keyboard? Or is all input "evdev" in 7.4?
(==) Automatically adding devices Ahha :) That's the problem right there. Just shove this bit into your xorg.conf : Section "ServerFlags" Option "AutoAddDevices" "false" EndSection With this, Xorg won't talk to HAL to add evdev devices and you'll be back with the old Xorg behavior. Thanks (In reply to comment #9) > (==) Automatically adding devices > > Ahha :) That's the problem right there. Great, thanks. That resolves my subquestion about configuring the keyboard driver, but it does not actually resolve the bug in question. There still seems to be a problem with the evdev driver for the keyboard. Another slightly off-topic subquestion is, now that I've explicitly configured my mouse and keyboard, how do I get rid of these errors at the end of Xorg.0.log? (II) evaluating device (Mouse-evdev) (II) XINPUT: Adding extended input device "Mouse-evdev" (type: MOUSE) (II) evaluating device (Keyboard0) (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD) (II) config/hal: Adding input device HID 1241:1177 (EE) config/hal: NewInputDeviceRequest failed (II) config/hal: Adding input device AT Translated Set 2 keyboard (EE) config/hal: NewInputDeviceRequest failed (II) Open ACPI successful (/var/run/acpid.socket) (II) NVIDIA(0): Setting mode "1600x1200@100" (II) Mouse-evdev: Device reopened after 1 attempts. If you want to use evdev, then you should configure your devices through HAL. If you setup your input devices through xorg.conf, you should disable HAL probing (like I posted in comment #9) and use the older "mouse" and "keyboard" drivers. This is what upstream now officially recommends... (not simple, eh :) ) Thanks (In reply to comment #11) > If you want to use evdev, then you should configure your devices through HAL. > If you setup your input devices through xorg.conf, you should disable HAL > probing (like I posted in comment #9) and use the older "mouse" and "keyboard" > drivers. Hmmm, those errors occurred even though I had disabled HAL probing. I just experienced the bug again for the first time in days, which is after I switched to using the traditional "keyboard" driver. Just want to say, that I've got the same problem as Jeremy Murphy, which is discussed since comment #9. # qlist -I -C x11-drivers/ re-emerge the driver and try. The confirmation dialogue for gesture-activated slow keys in KDE was disabled. :\ (And apparently that's the default!) Thanks for sticking with me! :) |