Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2002 13:33:23 +1100
From:      Gregory Bond <gnb@itga.com.au>
To:        questions@freebsd.org
Subject:   debugging wheel mouse
Message-ID:  <200211260233.NAA16611@lightning.itga.com.au>

next in thread | raw e-mail | index | archive | help
[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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211260233.NAA16611>