I upgraded today to help test the next version of xorg. I was using the evdev driver to attach to my mouse. When I start xorg with the config using evdev for my mouse, xorg refuses to start, becase there is no mouse. It says that "the evdev driver is not found." The normal mouse driver works fine. Here is the mouse section of my xorg.conf: Identifier "Mouse1" Driver "mouse" Option "Protocol" "evdev" Option "Dev Name" "Logitech USB-PS/2 Optical Mouse" Option "Dev Phys" "usb-0000:00:02.2-3.2.2/input0" Option "Device" "/dev/input/mice" Option "Buttons" "10" Option "ZAxisMapping" "9 10" Option "Resolution" "800" My kernel does have evdev support built in: irasnyd@yuki ~ $ zcat /proc/config.gz | grep EVDEV CONFIG_INPUT_EVDEV=y Reproducible: Always Steps to Reproduce: 1. emerge xorg-x11-6.8.99.8 2. configure xorg to use evdev for the mouse 3. start xorg Actual Results: xorg fails to start, since evdev is not a valid mouse driver. Expected Results: The evdev driver should be valid, and I should be able to use it to access all of my mouse buttons. irasnyd@yuki ~ $ emerge info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-morph9 i686) ================================================================= System uname: 2.6.11-morph9 i686 AMD Athlon(tm) XP 3000+ Gentoo Base System version 1.6.12 ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.8 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.5 sys-devel/binutils: 2.16 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe -fforce-addr -fweb -ftracer -funit-at-a-time" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe -fforce-addr -fweb -ftracer -funit-at-a-time -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache distlocks fixpackages sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.llarian.net/ http://gentoo.osuosl.org/ http://cudlug.cudenver.edu/gentoo/" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex 3dnowext S3TC X a52 aac acpi aim alsa avi berkdb bigger-fonts bitmap-fonts bzip2 cdr cups curl dvd dvdr dvdread fbcon flac foomaticdb freetype gdbm gif gimpprint gpm gstreamer gtk gtk2 hal imlib imlib2 jabber java jpeg kdeenablefinal mad matroska mmap mmx mmx2 mmxext mozilla moznocompose moznoirc moznomail mp3 mpeg ncurses nptl nptlonly offensive ogg oggvorbis opengl oscar pam pdflib png ppds python radeon readline real rtc sdl slang spell sse ssl threads truetype truetype-fonts unicode usb userlocales vim-with-x vorbis win32codecs xine xml xml2 xprint xv xvid zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LINGUAS, MAKEOPTS irasnyd@yuki ~ $ emerge -pv xorg-x11 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] x11-base/xorg-x11-6.8.99.8 -3dfx +3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers -ipv6 -minimal +mmx -nls +opengl +pam -sdk +sse -static +truetype-fonts -type1-fonts (-uclibc) +xprint +xv 0 kB
Evdev is working fine. There's official evdev support in these new snapshots. The older ones had the hacky patches which used an evdev protocol under the old mouse driver.
You can look here for an example xorg configuration with the new evdev driver: http://floam.sh.nu/index.xhtml?page=guides§ion=mx1000
This does work. Apparently the evdev part of the configuration has changed from xorg-6.8.2 to xorg-6.8.99.8 I have it working just fine, and the scrollwheel works without any configuration. I cannot get my back and forward buttons working however. Any ideas how I should be configuring them? I tried your config and cannot get it to work. I've used the evtest from your site, and this is what I get: irasnyd@yuki ~ $ ./evtest /dev/input/mx510 Input driver version is 1.0.0 Input device ID: bus 0x3 vendor 0x46d product 0xc01d version 0x2100 Input device name: "Logitech USB-PS/2 Optical Mouse" Supported events: Event type 0 (Sync) Event type 1 (Key) Event code 272 (LeftBtn) Event code 273 (RightBtn) Event code 274 (MiddleBtn) Event code 275 (SideBtn) Event code 276 (ExtraBtn) Event code 277 (ForwardBtn) Event code 278 (BackBtn) Event code 279 (TaskBtn) Event type 2 (Relative) Event code 0 (X) Event code 1 (Y) Event code 8 (Wheel) Event type 4 (Misc) Event code 4 (ScanCode) Testing ... (interrupt to exit) And these are the two things in my .xinitrc (maybe these should change?) xmodmap -e "pointer = 1 2 3 6 7 8 9 10 4 5" & imwheel -k -b "67" Thanks again for your help!
I have changed my imwheel line to: imwheel -k -b "89" And now it all works fine (without using xvkbd at all). Thanks. I'm going to mark this as fixed, since it is all working and was just a misconfiguration.
I tried the 6.8.99.14 build and evdev seems to work ok with the changes suggested. I have a Logitech MX700 which has 10 buttons. Using the new evdev support all buttons except one of the cruise control buttons work. Additionally, for some reason it skips button 6 and 7. So I have buttons 1, 2, 3, 4, 5, 8, 9, 10, 11. Weird. The scrollwheel was set up automatically. (buttons 4 and 5)