From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 19:25:15 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9EF8916A401 for ; Sat, 10 Mar 2007 19:25:15 +0000 (UTC) (envelope-from jon-bsd@comcast.net) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [216.148.227.153]) by mx1.freebsd.org (Postfix) with ESMTP id 902A113C48E for ; Sat, 10 Mar 2007 19:25:15 +0000 (UTC) (envelope-from jon-bsd@comcast.net) Received: from [24.3.82.205] (c-24-3-82-205.hsd1.pa.comcast.net[24.3.82.205]) by comcast.net (rwcrmhc13) with ESMTP id <20070310192514m13007fs98e>; Sat, 10 Mar 2007 19:25:15 +0000 Message-ID: <45F3061A.409@comcast.net> Date: Sat, 10 Mar 2007 14:25:14 -0500 From: Jon Wolfgang User-Agent: Thunderbird 1.5.0.10 (X11/20070306) MIME-Version: 1.0 To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: mouse wheel sends incorrect buttons 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: Sat, 10 Mar 2007 19:25:15 -0000 I am using a Microsoft Intellimouse Explorer in xwindows on FreeBSD 6.2-RELEASE. The mouse works correctly (except for the side buttons - I'll worry about those later), but the mouse wheel has some odd behaviour in apps like firefox and thunderbird. Scrolling down works correctly, but scrolling up seems to send a button click as well as a scroll event. I played around with xev and found that when scrolling up, a button4 event is (correctly) sent, but then any other action sends a button9 and button8 event as well. Scrolling down only sends a button5 event which is correct. Here is the relevant section in xorg.conf: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" #Option "Buttons" "7" Option "Buttons" "5" Option "Device" "/dev/psm0" Option "ZAxisMapping" "4 5" EndSection I added the `Option "Buttons" "5"' line hoping to remove the possibility of button 8 and 9 existing, but it didn't seem to work: [jon@charon ~]$ xmodmap -pp There are 9 pointer buttons defined. Physical Button Button Code 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 Then I tried mapping the button 8 and 9 keys to other buttons, but xmodmap didn't allow it. Also, I'm not running moused if that is significant. Does anyone have any suggestions? I have seen some similar questions on forums and the mailing list archives, but no definitive solutions. Any help would be great. Thanks, Jon