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>
Status: RESOLVED CANTFIX    
Severity: normal CC: polar88bear
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://users.tkk.fi/~jkarlson/tavaraa/Xorg.0.log
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 112004    
Attachments: appropriate xorg log
xorg.conf
the xorg log of functional vanilla 2.6.14.3
/proc/bus/input/devices of functional vanilla-2.6.14.3
/proc/bus/input/devices of 2.6.14-gentoo-r4
dmesg from the functional vanilla-2.6.14.3
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-2.6.14.2 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  
3.  
  
Actual Results:  
startx fails, "(WW) Mouse1: does not have core pointer capabilities" 

Expected Results:  
start X (obviously)  

Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r1, 
2.6.14.2 i686) 
================================================================= 
System uname: 2.6.14.2 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 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" 
CHOST="i686-pc-linux-gnu" 
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" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ 
ftp://trumpetti.atm.tut.fi/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ 
ftp://ftp.linux.ee/pub/gentoo/distfiles/ ftp://ftp.du.se/pub/os/gentoo 
http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo 
http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo" 
LANG="en_US.UTF-8" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/usr/local/tmp/" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage/omat" 
SYNC="rsync://trumpetti.atm.tut.fi/gentoo-portage" 
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 
elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
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]
xorg.conf

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 2.6.14.3

"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-2.6.14.3

/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-2.6.14.3
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. ***