From owner-freebsd-questions@FreeBSD.ORG Fri Jul 20 23:46:49 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B07F316A419 for ; Fri, 20 Jul 2007 23:46:49 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from smtpclu-5.eunet.yu (smtpclu-5.eunet.yu [194.247.192.230]) by mx1.freebsd.org (Postfix) with ESMTP id 4148013C457 for ; Fri, 20 Jul 2007 23:46:49 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from nyx.localhost (adsl-226-3.eunet.yu [213.198.226.3]) by smtpclu-5.eunet.yu (8.13.6/8.13.6) with ESMTP id l6KNkdTY019727; Sat, 21 Jul 2007 01:46:41 +0200 Message-Id: <200707202346.l6KNkdTY019727@smtpclu-5.eunet.yu> Date: Sat, 21 Jul 2007 01:42:09 +0200 From: Nikola Lecic To: Zhang Weiwu In-Reply-To: <1184965369.6013.21.camel@joe.realss.com> References: <1184965369.6013.21.camel@joe.realss.com> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.13; i386-portbld-freebsd6.2) X-Operating-System: FreeBSD 6.2-RELEASE X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-EUNET-AVAS-Milter-Version: 2.0.0 X-AVAS-Virus-Status: clean X-AVAS-Spamd-Symbols: BAYES_50,UNPARSEABLE_RELAY X-AVAS-Spam-Score: 0.0 Cc: freebsd-questions@freebsd.org Subject: Re: mouse wheel doesn't work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2007 23:46:49 -0000 Hello, On Sat, 21 Jul 2007 05:02:49 +0800 Zhang Weiwu 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