Date: Sat, 21 Jul 2007 01:42:09 +0200 From: Nikola Lecic <nlecic@EUnet.yu> To: Zhang Weiwu <zhangweiwu@realss.com> Cc: freebsd-questions@freebsd.org Subject: Re: mouse wheel doesn't work Message-ID: <200707202346.l6KNkdTY019727@smtpclu-5.eunet.yu> In-Reply-To: <1184965369.6013.21.camel@joe.realss.com> References: <1184965369.6013.21.camel@joe.realss.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, On Sat, 21 Jul 2007 05:02:49 +0800 Zhang Weiwu <zhangweiwu@realss.com> wrote: > Dear everyone on the list >=20 > On my xorg-6.9.0 installed on FreeBSD 6.2, USB mouse work just fine > with mouse wheel; ps/2 mouse do not work. Nothing happens when > scrolling mouse wheel. >=20 > As I have only one ps/2 mouse I cannot test if all ps/2 mice suffer > from such problem or just this one, but I am sure this mouse works > fine on Windows and Ubuntu Linux with wheel. I think that then middle (wheel) click doesn't work; if it does, then just copy Ubuntu xorg.conf entry or check if trackpoint and external ps/2 mouse use different /dev. > The box is thinkpad 380XD with an IBM red check-point on the keyboard, > which as far as I know is also /dev/psm0, probably something on > hardware level is done to merge signal of check-point and real ps/2 > mouse together, and mouse wheel movement might be dropped during this > merge. Yes, this is more likely -- the trackpoint and external ps/2 mouse collide.=20 > Mouse section of xorg seems to be correct, and I think it's not useful > to tweak X configuration if moused cannot by itself detect mouse wheel > movement. >=20 > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "auto" > Option "Device" "/dev/sysmouse" > Option "Buttons" "5" > Option "ZAxisMapping" "4 5" > EndSection Generally, using two parallel mouse devices calls for two separate InputDevice mouse entries and for SendCoreEvents option. > xmodmap also shows there is no re-mapping of mouse buttons. Again if > moused isn't aware of scrolling, working on X level doesn't seem to be > helpful. Please read this page: http://salisburys.net/PetersNotes-TW.html (choose "External mouse wheels and wheel emulation...") and consider experimenting with this: http://tpctl.sourceforge.net =20 It doesn't seem ported, but they claim it runs on *BSD. Read the man page, --setup-pointing-device* options could maybe solve the problem. (tpctl should be started _before_ X.) Nikola Le=C4=8Di=C4=87
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707202346.l6KNkdTY019727>