From owner-freebsd-stable@FreeBSD.ORG Tue Aug 5 20:12:31 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B4C537B401 for ; Tue, 5 Aug 2003 20:12:31 -0700 (PDT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E0EB43F3F for ; Tue, 5 Aug 2003 20:12:30 -0700 (PDT) (envelope-from bfoz@terrandev.com) Received: from terrandev.com (12-234-26-98.client.attbi.com[12.234.26.98](untrusted sender)) by comcast.net (sccrmhc11) with SMTP id <2003080603122901100cfas7e> (Authid: bfoz); Wed, 6 Aug 2003 03:12:29 +0000 Message-ID: <3F3072FC.5040508@terrandev.com> Date: Tue, 05 Aug 2003 20:16:12 -0700 From: Brandon Fosdick User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030706 X-Accept-Language: en-us, en MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: A USB mouse, a scroll wheel, moused and moused_flags X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 03:12:31 -0000 In previous cases where I set up X to use a wheel mouse I told it to use moused and then had XFree do the wheel translation with the ZAxisMapping option. After looking at the FAQ again I decided to try doing the translation with moused on my new 5.1-R desktop box. So I did a ps ax | grep moused and got what I expected... /usr/sbin/moused -p /dev/ums0 -I /var/run/moused.ums0.pid so as root I killed it and ran it with the same options plus "-z 4" just like the FAQ said. I changed xfree's config file to suit and started up X. Everything worked great so I added "-z 4" to moused_flags in /etc/rc.conf and moved on to more important things. I noted that somehow moused was starting itself despite being disabled in /etc/defaults/rc.conf and not enabled in /etc/rc.conf, and then remembered it had something to do with usbd or some such. Some time later I rebooted, and afterwards noticed that the wheel stopped working in XFree. Quickly checking ps ax | grep moused showed that moused isn't being run with "-z 4" even though it is in moused_flags. I can't find anywhere else to set options for moused. What am I missing?