Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82712 - fglrxconfig creates 1. no XF86Setup-4 but XF86Config and 2. an uppercase mistake, that lead startx to fail because no keyboard module can be found
Summary: fglrxconfig creates 1. no XF86Setup-4 but XF86Config and 2. an uppercase mist...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-20 11:15 UTC by Sascha Wuestemann
Modified: 2005-02-21 03:22 UTC (History)
1 user (show)

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


Attachments
I renamed the file, it was XF86Config when it was created and I have symlinked it to XF86Config (XF86Config-4.ati,19.66 KB, text/plain)
2005-02-20 14:23 UTC, Sascha Wuestemann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Wuestemann 2005-02-20 11:15:27 UTC
I changed to x11-base/xorg-x11 v6.8.2 and to media-video/ati-drivers v8.8.25-r3.
I have changed to sys-kernel/gentoo-dev-sources v2.6.10-r7, too, to meet the requirements as I have found by bugzilla.

1.
I have executed /opt/ati/bin/fglrxconfig and expected it to overwrite my existing /etc/X11/XF86Config-4 as it said to do so, but it didn't but took my older XF86Config at /etc/X11.

2.
fglrxconfig make an uppercase mistake at the config file:
---snippet on---
Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "Keyboard"
---snippet off---

which causes startx to fail, because it can't find a keyboard module.
The word "Keyboard" at the Driver line is wrong, it has to be all small cases:
    Driver      "keyboard"




Reproducible: Always
Steps to Reproduce:
1. executing /opt/ati/bin/fglrxconfig
2. Not touching /etc/X11/XF86Config
3. startx
Actual Results:  
X failed to start because it can't find a keyboard module

Expected Results:  
mind the case settings X needs to find its modules.

Gentoo Base System version 1.5.2
Portage 2.0.51-r14 (!/usr/portage/profiles/default-linux/x86/2004.0, gcc-3.3.4, 
glibc-2.2.5-r2,glibc-2.3.4.20040619-r1, 2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 AMD Athlon(tm) XP 2000+
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1, 
Jun 13 2004, 02:39:06)]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.4
sys-devel/autoconf:  2.59-r4
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.11.92.0.12.3-r2, 2.14.90.0.8-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.4.18, 2.4.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=athlon-xp -mcpu=athlon-xp -pipe -ffast-math -fomit-frame-
pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/
3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/
config/ /usr/share/texmf/dvips/config/ /usr/share/texm
f/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ 
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=athlon-xp -mcpu=athlon-xp -pipe -ffast-math -fomit-frame-
pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.
oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/daten/links4gentoo/var/tmp"
PORTDIR="/daten/links4gentoo/usr/portage"
SYNC="rsync://killerghost/portage"
USE="x86 3dnow X Xaw3d aalib alsa apache2 apm arts audiofile avi berkdb bindist 
bitmap-fonts bonobo cdr crypt curl dga directfb doc dvd encode esd f77 fam fbcon 
flac flash font-server foomaticdb fortran gd gdb
m ggi gif gmp gpm gstreamer gtk gtk2 gtkhtml guile icc imagemagick imlib innodb 
ipv6 java jikes jpeg kde lcms lesstiff libg++ libwww lirc mad memlimit mikmod 
mmx motif mozilla mpeg mpi mysql nas ncurses nls no
cardbus nocd odbc offensive oggvorbis opengl pam pda pdflib perl png python qt 
quicktime readline samba scanner sdl slang snmp speex spell sse ssl svga tcltk 
tcpd tetex theora tiff truetype truetype-fonts type
1-fonts unicode videos wmf xinerama xml xml2 xmms xosd xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Luca Barbato gentoo-dev 2005-02-20 12:15:59 UTC
Please try the .10.19, it has a better xorg-x11 support.

The kernel issues are now solved, the 2.6.11 support is working now.
Comment 2 Luca Barbato gentoo-dev 2005-02-20 12:17:34 UTC
the driver name is kbd
Comment 3 Sascha Wuestemann 2005-02-20 14:23:40 UTC
Created attachment 51720 [details]
I renamed the file, it was XF86Config when it was created and I have symlinked it to XF86Config

Hi Luca,

thanx for your work concerning the kernel, but my issue was targeting the
ebuild or a missing patch for fglrxconfig.
Sorry for not having mentioned this.

It is the wrong config file named (XF86Config-4, but XF86Config is used) by
fglrxconfig and the fact about the wrong case _in_ the config file which is
also done by fglrxconfig. BTW: the module "keyboard" works fine and I have
tried bzflag and Wolfenstein "Enemy Territory" so far with excellent results
and no problems at all.
So I thought, the ebuild or a patch could fix these problems I have
encountered.
I have enclosed the config file, slightly altered by me to get it running.
Comment 4 Luca Barbato gentoo-dev 2005-02-21 03:22:12 UTC
I can't do so much about fglrxconfig since I don't have the source for it.