From owner-freebsd-questions@FreeBSD.ORG Tue Nov 4 17:36:07 2003 Return-Path: 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 EED6E16A4CE for ; Tue, 4 Nov 2003 17:36:07 -0800 (PST) Received: from smtp05.wxs.nl (smtp05.wxs.nl [195.121.6.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF53443FE1 for ; Tue, 4 Nov 2003 17:36:04 -0800 (PST) (envelope-from akruijff@www.kruijff.org) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186]) by smtp05.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HNU0036JUZXAL@smtp05.wxs.nl> for freebsd-questions@FreeBSD.ORG; Wed, 05 Nov 2003 02:33:34 +0100 (MET) Received: from Alex.lan (localhost [127.0.0.1]) by kruij557.speed.planet.nl (8.12.8p2/8.12.8) with ESMTP id hA51Xc47013745; Wed, 05 Nov 2003 02:33:38 +0100 (CET envelope-from akruijff@Alex.lan) Received: (from akruijff@localhost) by Alex.lan (8.12.8p2/8.12.8/Submit) id hA51XcZ6013744; Wed, 05 Nov 2003 02:33:38 +0100 (CET) Date: Wed, 05 Nov 2003 02:33:38 +0100 From: Alex de Kruijff In-reply-to: <20031104141428.GI621@npkfbsd> To: Adam Flaherty , freebsd-questions@FreeBSD.ORG Message-id: <20031105013338.GA13699@dds.nl> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.1i References: <20031104004831.GC4037@dds.nl> <20031104141428.GI621@npkfbsd> Subject: Re: Mouse under X X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2003 01:36:08 -0000 On Tue, Nov 04, 2003 at 08:14:28AM -0600, Nathan Kinkade wrote: > On Tue, Nov 04, 2003 at 01:48:31AM +0100, Alex de Kruijff wrote: > > On Sun, Nov 02, 2003 at 10:34:09PM +1000, Adam Flaherty wrote: > > > Hello, > > > > > > I have recently installed FreeBSD 4.8 and am having trouble getting my > > > PS/2 mouse to work with X11/ Gnome. The mouse works when setting up > > > moused with /stand/sysinstall and xf86cfg but when gnome loads any > > > mouse movement translates into the cursor moving to the top right of > > > the screen. I have tried the various protocols under xf86cfg and > > > followed the instructions in the FAQ that suggest adding lines to the > > > config file, and also linking /dev/mouse and /dev/sysmouse. I am at a > > > loss so any help would be highly appreciated. > > > > > > > This also enable a mouse wheel if you have one. > > > > This is my setup: > > /etc/rc.conf: > > moused_flags="-a .4" > > moused_enable="YES" > > moused_port="/dev/psm0" > > moused_type="auto" > > > > /etc/X11/XF86Config: > > Section "InputDevice" > > Identifier "Mouse0" > > Driver "mouse" > > Option "Protocol" "auto" > > Option "Device" "/dev/sysmouse" > > Option "Buttons" "5" > > Option > > "ZAxisMapping" "4 5" > > EndSection > > FWIW: > On my own system - 5.1-RELEASE - I have found that if I pass the '-a 4' > argument to moused, that adding the ZAxisMapping declaration to > XF86Config causes the mouse wheel to not work. When passing '-a 4' to > moused I only declare "Options Buttons 5" in XF86Config and the mouse > wheel works as expected. This could be a bug in proberly moused. I'm affraid I can't tell you any more than that. It works on 4.x. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/