From owner-freebsd-questions Sun Dec 1 17:12:43 2002 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 1813437B401 for ; Sun, 1 Dec 2002 17:12:42 -0800 (PST) Received: from ns.itga.com.au (ns.itga.com.au [202.53.40.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9230543EB2 for ; Sun, 1 Dec 2002 17:12:40 -0800 (PST) (envelope-from gnb@itga.com.au) Received: from lightning.itga.com.au (lightning.itga.com.au [192.168.71.20]) by ns.itga.com.au (8.9.3/8.9.3) with ESMTP id MAA56060 for ; Mon, 2 Dec 2002 12:12:33 +1100 (EST) (envelope-from gnb@itga.com.au) Received: from lightning.itga.com.au (localhost [127.0.0.1]) by lightning.itga.com.au (8.9.3/8.9.3) with ESMTP id MAA25189; Mon, 2 Dec 2002 12:12:33 +1100 (EST) Message-Id: <200212020112.MAA25189@lightning.itga.com.au> X-Mailer: exmh version 2.4 05/15/2001 with nmh-1.0.4 From: Gregory Bond To: questions@freebsd.org Subject: Re: debugging wheel mouse Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 02 Dec 2002 12:12:33 +1100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've solved the problem. If you configure XFree86 to use "Protocol sysmouse" then wheel scrolling will not work, because this puts the mouse into 5-byte mode which only supports 3 buttons. You have to use "protocol auto" in the XFree86 config to enable sysmouse 8-byte protocol with support for buttons 4 & 5. This is not mentioned anywhere that I can find. I'll get the FAQ updated. Debugging was a pain, basically I ran kdump on the X server and looked at the I/O from the mouse device, then had a read of the appropriate machine/mouse.h header and discovered that the 5-byte protocol was not good enough. A lot more fiddling and trial-and-error produced the fix. Greg. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message