Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 67695

Summary: xorg changed driver "Keyboard" to driver "kbd"
Product: Gentoo Linux Reporter: ivo welch <ivo.welch>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED WORKSFORME    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description ivo welch 2004-10-15 11:39:27 UTC
if you update to the latest version of xorg (which for me was x11-6.7.0-r2), be careful to fix your XF86Config.  they changed the name of the Driver from "Keyboard" to "kbd".  This will prevent starting up.

The fix is easy---just edit your XF86Config file.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r11 (gcc34-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r1,
2.6.7-gentoo-r14)
=================================================================
System uname: 2.6.7-gentoo-r14 x86_64 4
Gentoo Base System version 1.4.16
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-pipe -O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS=" http://mirror.clarkson.edu/pub/distributions/gentoo/
ftp://gentoo.mirrors.pair.com/ http://ftp.heanet.ie/pub/gentoo/
ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa amd64 apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups
directfb encode esd f77 fam flac foomaticdb g77 gdbm ggi gif gnome gphoto2 gpm
gtk gtk2 gtkhtml guile imagemagick imlib java jpeg kde ldap libg++ libwww mad
mikmod motif mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib
perl png postgres python qt quicktime readline ruby scanner sdl slang snmp spell
ssl tcltk tcpd tetex tiff truetype ungif usb xml xml2 xmms xprint xv zlib"
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-15 21:47:43 UTC
This is in the ebuild and should fix things:
# "keyboard" driver is deprecated and will be removed,
# switch to "kbd"
sed -i 's~^\([ \t]*Driver[ \t]\+\)"[kK]eyboard"~\1"kbd"~' \
    ${IMAGE}${FILE}

What is the exact setup of that line in your X config, including whitespace?
Comment 2 ivo welch 2004-10-16 18:22:16 UTC
Section "InputDevice"                                                                                                               
                                                                                                                                    
    Identifier  "Keyboard1"                                                                                                         
    Driver      "kbd"                                                                                                               

...

Actually, I think the spacing does not matter, as long as there is any.  quotation marks probably do matter.

regards,  /iaw
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-29 00:00:36 UTC
Can't figure out why it didn't match.