From owner-freebsd-questions@FreeBSD.ORG Wed Aug 17 23:05:15 2005 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 F063F16A41F for ; Wed, 17 Aug 2005 23:05:15 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from smtp1.utdallas.edu (smtp1.utdallas.edu [129.110.10.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6F3643D46 for ; Wed, 17 Aug 2005 23:05:15 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from utd59514.utdallas.edu (utd59514.utdallas.edu [129.110.3.28]) by smtp1.utdallas.edu (Postfix) with ESMTP id 108853890C3 for ; Wed, 17 Aug 2005 18:05:15 -0500 (CDT) Date: Wed, 17 Aug 2005 18:05:14 -0500 From: Paul Schmehl To: freebsd-questions@freebsd.org Message-ID: <8351CCFCAECF1B7B139D2FB2@utd59514.utdallas.edu> X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Xorg and mice 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: Wed, 17 Aug 2005 23:05:16 -0000 I'm running 5.4 SECURITY with Xorg 6.8.2. I just got a new mouse. It's a Logitech Wireless Optical Mouse. I'm trying to get it working in Xorg. I have the following in my xorg.conf file: Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" RightOf "Screen0" InputDevice "Mouse0" "CorePointer" InputDevice "Mouse1" "SendCoreEvents" InputDevice "Keyboard0" "CoreKeyboard" Option "Xinerama" "on" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "sysmouse" Option "Device" "/dev/ums1" Option "Emulate3Buttons" "true" Option "Buttons" "12" Option "XAxisMapping" "6 7" Option "YAxisMapping" "11 12" Option "ZAxisMapping" "4 5" Option "Resolution" "800" Option "Vendor" "Logitech" EndSection Cursor movement across the screens is normal. The left and right mouse buttons work as expected, as does the wheel mouse (as a third button.) So does the wheel, scrolling vertically. But I can't seem to figure out the magic combo to get the horizontal scroll to work or the two "side" buttons to work. Does anyone have a working example? (I'm not interested in using xmodmap unless that's the only way to get it working.) Is there a utility that can tell you which button (number) you pressed so you can test all the buttons and wheels on a mouse? I tried xev, but it did nothing at all. Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/