Bug 80744 - Xorg fails to recognise the wheel on a Logitech MediaPlay optical mouse.
Summary: Xorg fails to recognise the wheel on a Logitech MediaPlay optical mouse.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-08 06:20 UTC by Cy Schubert
Modified: 2005-05-09 08:24 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cy Schubert 2005-05-08 06:20:03 UTC
Xorg fails to recognise wheel motion on Logitech MediaPlay mouse.

Fix: 

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.--G42CDAa0ZxMTQGCm59YZJx6h3GrQ7Uj23MnLhbC0E32lN2gJ
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

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_ */
How-To-Repeat: Try to make use of the wheel.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2005-05-08 06:42:42 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-x11

Over to maintainer(s).
Comment 2 lesi freebsd_committer freebsd_triage 2005-05-09 08:24:01 UTC
State Changed
From-To: open->closed

Comitted, thanks!