Bug 194465 - xf86-input-evdev-1.1.5-r1 in combination with >=xorg-server-1.4 mouse locked at one screen w/ multi-head
Bug#: 194465 Product:  Gentoo Linux Version: 2007.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: x11@gentoo.org Reported By: timonvo@gmail.com
Component: Ebuilds
URL: 
Summary: xf86-input-evdev-1.1.5-r1 in combination with >=xorg-server-1.4 mouse locked at one screen w/ multi-head
Keywords:  Inclusion
Status Whiteboard: 
Opened: 2007-10-02 00:20 0000
Description:   Opened: 2007-10-02 00:20 0000
I'm using xorg-server-1.4-r2 with a dual-head setup.
I had a problem with my mouse being locked at one screen and then I found this
bug http://bugs.gentoo.org/show_bug.cgi?id=192657

I had the exact same behaviour, and at first I thought the fix would also
affect me but I forgot I was using the xf86-input-evdev driver for my mouse.

So I applied the patch to the xf86-input-evdev-1.1.5-r1 ebuild by creating
another ebuild and adding the patch.
It was succesful.

Reproducible: always

Steps to reproduce:
The problem occurs every time

Actual results:
X started to Screen 1, Mouse is at Screen 1. If I go to Screen 2 with Mouse,
the Mouse can't go back to Screen 1, but to Screen 3. If the Mouse is at Screen
3, the same Problem.

Expected Results:  
The Mouse should go over every Screen and back again.

emerge --info 

Portage 2.1.3.11 (default-linux/amd64/2007.0, gcc-4.2.0, glibc-2.6.1-r0,
2.6.22.1 x86_64)
=================================================================
System uname: 2.6.22.1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Mon, 01 Oct 2007 22:50:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0_rc4-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache confcache distlocks metadata-transfer noinfo parallel-fetch
sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ "
LINGUAS="en nl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/java-gcj-overlay /usr/portage/local
/usr/portage/local/kvm/maintainer /usr/portage/local/foldingathome"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl alsa amd64 apache2 asf async audacious
automount avi bash-completion berkdb bitmap-fonts browserplugin busybox bzip2
cairo cdr cgi cli color-console cpudetection cracklib crypt ctype cups curl
curlwrappers dbus device-mapper divx divx4linux dri dts dvd dvdread encode
examples exif extraengine fat ffmpeg flac fluxbox fortran ftp gd gdbm gif glut
gmedia gpm gtk gtk+ gtk2 hash iconv idle imagemagick imap imlib ipv6 isdnlog
java javascript jfs jpeg json latin1 libnotify mad mhash midi ming mmx mmxext
mozdevelop mozilla mp3 mp4 mpeg mplayer msn mudflap mysql mysqli ncurses
netboot nls nptl nptlonly nsplugin ntfs nvidia ogg opengl openmp oss pam pango
pcre pdf perl png pnm ppds pppd python quicktime rar readline realmedia
reflection reiser4 reiserfs sdl session smp soap sockets spl sqlite srt sse
sse2 ssl ssse3 svg sysfs tables tcltk tcpd theora threads tidy tiff tk trayicon
truetype truetype-fonts type1-fonts unicode usb vhosts vim-syntax vorbis wma
wmf wmp wmv x264 xforms xfs xhtml xine xinerama xml2 xorg xpm xsl xv xvid xvmc
zip zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym
copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat
linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl"
LIRC_DEVICES="logitech mceusb2" USERLAND="GNU" VIDEO_CARDS="vesa nv vga fbdev
nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I included the patch and the new ebuild.

For further info see bug: http://bugs.gentoo.org/show_bug.cgi?id=192657

------- Comment #1 From Timon Van Overveldt 2007-10-02 00:20:52 0000 -------
Created an attachment (id=132357) [details]
Updated ebuild

------- Comment #2 From Timon Van Overveldt 2007-10-02 00:21:41 0000 -------
Created an attachment (id=132359) [details]
Patch to the affected file in the driver

------- Comment #3 From Robin Johnson 2007-10-02 21:32:56 0000 -------
Cardoe: I confirm that this patch works and fixes the issue! Please put it in
the tree.

------- Comment #4 From Doug Goldstein 2007-10-02 21:42:25 0000 -------
Thanks for the patch. Committed in xf86-input-evdev-1.1.5-r2