From owner-freebsd-questions@FreeBSD.ORG Fri Feb 3 01:31:11 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A27CA16A420 for ; Fri, 3 Feb 2006 01:31:11 +0000 (GMT) (envelope-from gfazio@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE80D43D5D for ; Fri, 3 Feb 2006 01:31:07 +0000 (GMT) (envelope-from gfazio@gmail.com) Received: by wproxy.gmail.com with SMTP id i5so727966wra for ; Thu, 02 Feb 2006 17:31:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=N+Du7tNGUs6IlENPJSczV/YPKov2CwLu14Jla+IrCKQZOTbI6x4/HkFKfjPuQ+msBafbVGhC7YxoFpysWhsQKaRteQhk1Ijx7Btwgvk+FGadMr6Evl7L5n40pCVdJ9I62D6tGw4g31jeQwIQzMdRkvNTbKFiuZPa4mPlzIVArUk= Received: by 10.54.151.15 with SMTP id y15mr16241wrd; Thu, 02 Feb 2006 17:31:06 -0800 (PST) Received: by 10.54.80.9 with HTTP; Thu, 2 Feb 2006 17:31:06 -0800 (PST) Message-ID: <3ed41cef0602021731j54b1cacco14ac01409c735f1e@mail.gmail.com> Date: Thu, 2 Feb 2006 20:31:06 -0500 From: George Fazio To: freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 References: <20060127130817.GA4157@aurora.oekb.co.at> <3ed41cef0601270711k40730c94ke55c3c1d27391fec@mail.gmail.com> <20060202110652.GA82026@aurora.oekb.co.at> <43E1EB02.9050106@netfence.it> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: portupgrade xorg-* -> mouse-wheel stops working under X X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2006 01:31:11 -0000 A friend of mine pointed me to this message from one of the Xorg lists. I have not yet had time to test it, and it will probably be a couple days before I do. Hope this helps everyone out. -George From: xorg-bounces@lists.freedesktop.org [mailto:xorg-bounces@lists.freedesktop.org] On Behalf Of Matthias Hopf Sent: Thursday, February 02, 2006 7:19 AM To: Discuss issues related to the xorg tree Subject: Re: ms intellimouse not working right On Feb 01, 06 11:16:06 -0600, Jason Dravet wrote: > I am using rawhide (fedora core development). They just updated to xorg = 7 > final and I was hoping that my mouse problem would be fixed, but it wasn't. > I have a 5 button + scrollwheel mouse (MS intellimouse explorer). I want > to use the side buttons. In xorg 6.8 it worked great, but in 7 it does not > work. Here is the mouse part of my xorg.conf: > > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "ExplorerPS/2" > Option "Device" "/dev/input/mice" > Option "Buttons" "7" > Option "Emulate3Buttons" "no" > Option "ZAxisMapping" "6 7" > EndSection > > I also have this file called mouse.sh in /etc/X11/xinit/xinitrc.d/ > #!/bin/sh > # /etc/X11/xinit/xinitrc.d/mouse > # Required for the configuration of a 5-button mouse > xmodmap -e "pointer =3D 1 2 3 6 7 4 5" No longer required, actually harmfull now. man mouse (default was wrong, have commited that now): Option "ButtonMapping" "N1 N2 [...]" Specifies how physical mouse buttons are mapped to logical but- tons. Physcial button 1 is mapped to logical button N1, physi- cal button 2 to N2, and so forth. This enables the use of phys- ical buttons that are obscured by ZAxisMapping. Default: "1 2 3 8 9 10 ...". So if you want to get buttons events 6 and 7 with physical buttons 4 and 5 you want Option "Buttons" "5" Option "ZAxisMapping" "4 5" Option "ButtonMapping" "1 2 3 6 7" But as mice with two wheels are getting more available now, applications might be configured to use buttons 6 and 7 for horizontal scrolling soon. You might want to use the default configuration and configure applications to use buttons 8 and 9 for button actions. Though it is largely undecided right now whether the default like it is now is a good idea, or whether other buttons should be reserved for the secondary wheel. > If I run mouse.sh I get this: > xmodmap: commandline:1: bad number of buttons, must have 11 instead of = 7 > xmodmap: 1 error encountered, aborting. This is because due to default ButtonMapping you get 4 more buttons than configured. But you don't want to use xmodmap any more. > I was run xorg7 rc something and there was a discussion about the number of > buttons being hard coded or something like that the point is this is/was = a > known problem. I can't find the thread now that I need it. No. Different thing. Matthias -- Matthias Hopf __ __ __ Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__ mat@mshopf.de Phone +49-911-74053-715 __) |_| __) |__ labs www.mshopf.de _______________________________________________ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg