ports/80744: Xorg fails to recognise the weel on a Logitech MediaPlay optical mouse.

Cy Schubert cy at cwsent.com
Sun May 8 05:20:04 UTC 2005


>Number:         80744
>Category:       ports
>Synopsis:       Xorg fails to recognise the weel on a Logitech MediaPlay optical mouse.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 08 05:20:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Cy Schubert
>Release:        FreeBSD-2.0
>Organization:
FreeBSD
>Environment:
System: FreeBSD cwsys 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri May 6 13:10:43 PDT 2005 root at cwsys:/export/obj/opt/src/cvs-stable5/src/sys/KOMQUATS i386


>Description:
Xorg fails to recognise wheel motion on Logitech MediaPlay mouse.
>How-To-Repeat:
Try to make use of the wheel.
>Fix:


Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/x11-servers/xorg-server/Makefile,v
retrieving revision 1.23
diff -u -r1.23 Makefile
--- Makefile	19 Mar 2005 04:32:37 -0000	1.23
+++ Makefile	8 May 2005 03:53:03 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	xorg-server
 PORTVERSION=	6.8.2
+PORTREVISION=	1
 CATEGORIES=	x11-servers
 MASTER_SITES=	${MASTER_SITE_XORG}
 MASTER_SITE_SUBDIR=	X11R${PORTVERSION}/src
Index: files/patch-xf86OSmouse.h
===================================================================
RCS file: files/patch-xf86OSmouse.h
diff -N files/patch-xf86OSmouse.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-xf86OSmouse.h	8 May 2005 03:53:03 -0000
@@ -0,0 +1,11 @@
+--- programs/Xserver/hw/xfree86/os-support/xf86OSmouse.h.orig	Sat Jul 24 10:35:39 2004
++++ programs/Xserver/hw/xfree86/os-support/xf86OSmouse.h	Sat May  7 20:47:45 2005
+@@ -281,7 +281,7 @@
+ /* Generalize for other axes. */
+ #define MSE_NOAXISMAP	MSE_NOZMAP
+ 
+-#define MSE_MAXBUTTONS	12
++#define MSE_MAXBUTTONS	16
+ #define MSE_DFLTBUTTONS	 3
+ 
+ #endif /* _XF86OSMOUSE_H_ */


Freedesktop.org 2389 already documents the bug but no fix has been
documented there. To fully use this mouse the above patch must be applid,
then.

    Option "Buttons"     "15"
    Option "ZAxisMapping" "14 15"
    Option "Resolution" "800

... must be added to xorg.conf

And finally,

xmodmap -e "pointer = 1 2 3 6 7 8 9 10 11 12 13 14 15 4 5"

must be added to .xsession.

A similar bug exists in XFree86 to which a patch will supplied in another
PR.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list