From owner-freebsd-questions Mon Nov 25 18:33:35 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 93D1837B401 for ; Mon, 25 Nov 2002 18:33:34 -0800 (PST) Received: from ns.itga.com.au (ns.itga.com.au [202.53.40.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C33F43EAA for ; Mon, 25 Nov 2002 18:33:33 -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 NAA32680 for ; Tue, 26 Nov 2002 13:33:24 +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 NAA16611; Tue, 26 Nov 2002 13:33:24 +1100 (EST) Message-Id: <200211260233.NAA16611@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: debugging wheel mouse Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 26 Nov 2002 13:33:23 +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 [Please cc or reply direct. Thanks!] I've done something to fsckup my X setup (old monitor died and I was rerunning the config for the new monitor) and in the process my wheel mouse stopped working. I've triple-checked everything and I can't work out what's busted. I'm running moused with -z: 96407 ?? Ss 0:09.21 moused -p /dev/psm0 -z 4 I've added the "Buttons" command to the X config, which is being read and understood by the X Server: hellcat$ grep Buttons /var/log/XFree86.0.log (**) Option "Buttons" "5" (**) Mouse0: Buttons: 5 (I've stopped and restarted XDM and checked the timestamp on the log file, so I know this is the log from the current X server). imwheel is running: 97700 ?? Ss 0:01.44 imwheel but no events (in xev) from rolling the wheel, and hence he no workee. Running truss on the moused seems to show it injecting button up/down events when the wheel is rolled: read(0x3,0xbfbffb33,0x1) = 1 (0x1) select(0x400,0xbfbffb44,0x0,0x0,0x0) = 1 (0x1) read(0x3,0xbfbffb33,0x1) = 1 (0x1) gettimeofday(0xbfbffaf8,0x0) = 0 (0x0) ioctl(4,CONS_MOUSECTL,0xbfbffaec) = 0 (0x0) ioctl(4,CONS_MOUSECTL,0xbfbffaec) = 0 (0x0) but I'm stumped as to how to follow this further. Any clues? Greg. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message