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

Bug 114509

Summary: gentoo-sources evdev fails with xorg-7
Product: Gentoo Linux Reporter: emil karlson <jekarlson>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Severity: normal CC: polar88bear
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 112004    
Attachments: appropriate xorg log
the xorg log of functional vanilla
/proc/bus/input/devices of functional vanilla-
/proc/bus/input/devices of 2.6.14-gentoo-r4
dmesg from the functional vanilla-
dmesg from the 2.6.14-gentoo-r4

Description emil karlson 2005-12-05 00:54:38 UTC
startx fails (see Xorg.0.log), evdev lacking core pointer capabilities.  
startx works without evdev.  
startx works at least with vanilla-sources- and   
<mm-sources-2.6.14_rc4-r1 with evdev  

Reproducible: Always
Steps to Reproduce:
1.use gentoo-sources-2.6.14-* with evdev  
2.use xorg-7 with evdev  
Actual Results:  
startx fails, "(WW) Mouse1: does not have core pointer capabilities" 

Expected Results:  
start X (obviously)  

Portage (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r1, i686) 
System uname: i686 mobile AMD Athlon(tm) XP 2600+ 
Gentoo Base System version 1.6.13 
dev-lang/python:     2.3.5-r2, 2.4.2 
sys-apps/sandbox:    1.2.12 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 
sys-devel/binutils:  2.16.1-r1 
sys-devel/libtool:   1.5.20 
virtual/os-headers:  2.6.11-r2 
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/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="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
USE="x86 3dnow 3dnowext X a52 aac acpi alsa audiofile avi bash-completion 
berkdb bitmap-fonts boundschecking browserplugin bzip2 bzlib c++ cdda cdr 
cdrom codecs corba crypt curl dbcp dhcp directfb divx4linux dlloader dri dvd 
dvdread eds encode escreen exif expat fam fbcon ffmpeg firefox flac fortran 
freetype gd gif gimp glibc glut gmp gpm gstreamer gtk gtk2 iconv idn 
imagemagick imlib ipv6 java javascript jpeg kdeenablefinal latex lcd lcms 
lm_sensors lua matroska mikmod mime mmx mng mod motif mozilla mozsvg mp3 mpeg 
mpeg4 mplayer multitarget ncurses nls no-old-linux no-opts no-suexec nptl 
nptlonly nsplugin objc octave ogg oggvorbis opengl pam pcre pdflib perl png 
print python qt quicktime readline real samba screen sdl sensord shout snmp 
speex sse ssl svg svga symlink tcltk tcpd tetex theora tiff truetype 
truetype-fonts type1-fonts udev unicode urandom userlocales utf8 v4l vcd 
vorbis win32codecs xine xml2 xv xvid zlib userland_GNU kernel_linux 
Comment 1 emil karlson 2005-12-05 00:56:11 UTC
Created attachment 74087 [details]
appropriate xorg log

This is the log I get
Comment 2 emil karlson 2005-12-05 02:26:12 UTC
Created attachment 74089 [details]

this is my xorg.conf (with evdev mouse)
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2005-12-08 04:20:52 UTC
The (WW) message you posted is not an error, only a warning. Not sure if it
matters or not.

Please attach an xorg log from a vanilla-sources kernel where xorg works.

Please also attach full dmesg output from a working vanilla-sources and a broken
gentoo-sources , and /proc/bus/input/devices from both kernels.
Comment 4 emil karlson 2005-12-08 05:33:34 UTC
Created attachment 74304 [details]
the xorg log of functional vanilla

"xorg log from a vanilla-sources kernel where xorg works."
Comment 5 emil karlson 2005-12-08 05:38:55 UTC
Created attachment 74305 [details]
/proc/bus/input/devices of functional vanilla-

/proc/bus/input/devices  from a vanilla-sources kernel where xorg works,
Comment 6 emil karlson 2005-12-08 07:00:10 UTC
Created attachment 74310 [details]
/proc/bus/input/devices of 2.6.14-gentoo-r4

/proc/bus/input/devices  from a gentoo-sources-2.6.14-r4 kernel where xorg
doesn't work
Comment 7 emil karlson 2005-12-08 07:03:34 UTC
Created attachment 74311 [details]
dmesg from the functional vanilla-
Comment 8 emil karlson 2005-12-08 10:18:39 UTC
Created attachment 74317 [details]
dmesg from the 2.6.14-gentoo-r4
Comment 9 Daniel Drake (RETIRED) gentoo-dev 2005-12-10 04:42:32 UTC
One of Gentoo's patches (speakup) alters the driver loading order which means
keyboard gets loaded before mouse. You can use /dev/input/event1 on
gentoo-sources which is equivalent to what you know normally as event0 (they
have swapped). Unfortunately this won't change in vanilla-sources until the
patch gets merged there.

Googling suggests that instead of specifying the device name, you can do
something like:

	Option "Dev Phys"	"usb-*/input0"

which would specify the first usb input device. Maybe even better, you could
instead do:

	Option "Dev Name"	"Logitech USB-PS/2 Optical Mouse"

Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-02-09 03:44:13 UTC
*** Bug 122229 has been marked as a duplicate of this bug. ***