From owner-freebsd-questions@FreeBSD.ORG Sun Mar 5 04:56:32 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 62A0316A422 for ; Sun, 5 Mar 2006 04:56:32 +0000 (GMT) (envelope-from mapsware@prodigy.net.mx) Received: from smtp.prodigy.net.mx (nlpproxy07.prodigy.net.mx [148.235.52.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DB7D43D45 for ; Sun, 5 Mar 2006 04:56:31 +0000 (GMT) (envelope-from mapsware@prodigy.net.mx) Received: from smtp.prodigy.net.mx (nlpproxy07 [148.235.52.27]) by smtp.prodigy.net.mx (iPlanet Messaging Server 5.2 HotFix 2.05 (built Mar 3 2005)) with ESMTP id <0IVN009Z11PLJ7@smtp.prodigy.net.mx>; Sat, 04 Mar 2006 22:56:10 -0600 (CST) Received: from morena.maps.mx(dsl-201-129-149-248.prod-infinitum.com.mx [201.129.149.248]) by smtp.prodigy.net.mx(iPlanet Messaging Server 5.2 HotFix 2.05 (built Mar 3 2005))with ESMTP id <0IVN00EFB1PLGP@smtp.prodigy.net.mx>; Sat, 04 Mar 2006 22:56:09 -0600 (CST) Date: Sat, 04 Mar 2006 21:56:30 -0700 From: Martin Alejandro Paredes Sanchez To: freebsd-questions@freebsd.org Message-id: <200603042156.30269.mapsware@prodigy.net.mx> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable Content-disposition: inline User-Agent: KMail/1.8.2 X-imss-version: 2.038 X-imss-result: Passed X-imss-scores: Clean:35.98942 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:3 C:4 M:4 S:4 R:4 (0.5000 0.5000) Subject: Configure the Scroll Ball of a Mighty Mouse in X11R6.8.2 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: Sun, 05 Mar 2006 04:56:32 -0000 Hi: The problem is that, when I move the scroll ball verticaly, nothing happen,= =20 but when I move it horizontally, X get the vertical moves. How can I configure the horizontal and vertical move of the scroll ball? =46reeBSD detected as: # dmesg | grep ums ums0: Mitsumi Electric Apple Optical USB Mouse, rev 1.10/1.08, addr 2, icla= ss=20 3/1 ums0: 4 buttons and Z dir. Here is what I have done till now, since I want to use it in X and FreeBSD = (to=20 copy and paste), I added usbd_enable=3D"YES" to my /etc/rc.conf, so the "moused" utility is up and running # ps axw | grep mouse =A0 268 =A0?? =A0Is =A0 =A0 0:04,44 /usr/sbin/moused -p /dev/ums0 -t auto=20 =2DI /var/run/moused.ums0.pid and the copy and paste works fine, since it has 4 buttons, no need to emula= te=20 the third (middle) button. So, in X I configure the sysMouse protocol: Section "InputDevice" =A0 =A0 =A0 =A0 Identifier =A0"Mouse0" =A0 =A0 =A0 =A0 Driver =A0 =A0 =A0"mouse" =A0 =A0 =A0 =A0 Option =A0 =A0 =A0"Protocol" "SysMouse" =A0 =A0 =A0 =A0 Option =A0 =A0 =A0"Device" "/dev/sysmouse" =A0 =A0 =A0 =A0 Option =A0 =A0 =A0"Buttons" "6" =A0 =A0 =A0 =A0 Option =A0 =A0 =A0"ZAxisMapping" "4 5" EndSection maps