From owner-freebsd-stable Sun Sep 8 8:26:19 2002 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 C383337B400 for ; Sun, 8 Sep 2002 08:26:15 -0700 (PDT) Received: from fsp1.physik.ruhr-uni-bochum.de (fsp1.physik.ruhr-uni-bochum.de [134.147.168.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE99443E72 for ; Sun, 8 Sep 2002 08:26:14 -0700 (PDT) (envelope-from strattbo@fsp1.physik.ruhr-uni-bochum.de) Received: (from strattbo@localhost) by fsp1.physik.ruhr-uni-bochum.de (8.11.6/8.11.6/SuSE Linux 0.5) id g88FQH609035 for stable@freebsd.org; Sun, 8 Sep 2002 17:26:17 +0200 Date: Sun, 8 Sep 2002 17:26:17 +0200 From: Thomas Stratmann To: stable@freebsd.org Subject: moused in man and realita - ps/2 vs auto w/ wheel Message-ID: <20020908172617.A8536@fsp1.physik.ruhr-uni-bochum.de> Mail-Followup-To: stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.22.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi everyone, I finally figured out how to set up my confs for my wheel button mouse - I wanted moused(8) to do the z-axis mapping and the X server to see five buttons. It took a whole lot of time due to misleading manpage (or a bug in the binary?). But slowly. I run recent (~ 3 weeks or so) stable code. My mouse is a M$ IntelliMouse PS/2 compatible. Running moused -i all -p /dev/psm0 gave /dev/psm0 ps/2 sysmouse IntelliMouse The moused command line which finally did the trick is moused -t auto -p /dev/psm0 -z 4 whereas the manpage suggested using "-t ps/2": For the PS/2 mouse: ps/2 This is the only protocol type available for the PS/2 mouse and should be specified for any PS/2 mice, regardless of the brand. Using "moused -t ps/2 -p /dev/psm0 -z 4" would, however, not issue any wheel events. (I played around in gdb and believe to know that the point is whether mouse(4) or sysmouse(4) protocol is used. Maybe wrong here) So, this is either undesired moused(8) behaviour or bad documentation on the manpage. Please let me know if I'm missing something here, or if this is a point. If so, maybe some contributor listens? (Or, should I open a PR?) Happy discussing, ;-) Thomas thomas.stratmann@ruhr-uni-bochum.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message