Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2007 09:13:23 -0700 (PDT)
From:      Kevin Oberman <oberman@es.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/116664: Mouse gets "stuck" in second screen with 2 headed nVidia card
Message-ID:  <20070926161323.7CD8D45014@ptavv.es.net>
Resent-Message-ID: <200709261620.l8QGK2rf097596@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         116664
>Category:       ports
>Synopsis:       Mouse gets "stuck" in second screen with 2 headed nVidia card
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 26 16:20:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Oberman
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD ptavv.es.net 6.2-STABLE FreeBSD 6.2-STABLE #11: Thu Aug 16 17:18:58 PDT 2007 root@ptavv.es.net:/usr/obj/usr/src/sys/PTAVV i386


>Description:
	On an nVidia system with two or more displays, the mouse can move
to the second display, but can't move back to the primary display. This
makes the system nearly useless.

This is described in http://bugs.freedesktop.org/show_bug.cgi?id=12145 and
hads been corrected in the freedesktop git repo.
>How-To-Repeat:
	Start Xorg, move the cursor to the secondary screen and try to
move it back to the primary sceeen.
>Fix:
--- x11-drivers/xf86-input-mouse/work/xf86-input-mouse-1.2.2/src/mouse.c.orig
+++ x11-drivers/xf86-input-mouse/work/xf86-input-mouse-1.2.2/src/mouse.c
@@ -1740,10 +1740,10 @@ MouseProc(DeviceIntPtr device, int what)
                                 );
 
         /* X valuator */
-        xf86InitValuatorAxisStruct(device, 0, 0, -1, 1, 0, 1);
+        xf86InitValuatorAxisStruct(device, 0, -1, -1, 1, 0, 1);
         xf86InitValuatorDefaults(device, 0);
         /* Y valuator */
-        xf86InitValuatorAxisStruct(device, 1, 0, -1, 1, 0, 1);
+        xf86InitValuatorAxisStruct(device, 1, -1, -1, 1, 0, 1);
         xf86InitValuatorDefaults(device, 1);
 #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0
         xf86MotionHistoryAllocate(pInfo);
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070926161323.7CD8D45014>