ports/116664: Mouse gets "stuck" in second screen with 2 headed nVidia card

Kevin Oberman oberman at es.net
Wed Sep 26 16:20:02 UTC 2007


>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 at 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:



More information about the freebsd-ports-bugs mailing list