From owner-freebsd-questions Thu Jul 19 14: 4:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtprelay2.adelphia.net (smtprelay2.adelphia.net [64.8.25.7]) by hub.freebsd.org (Postfix) with ESMTP id 0834937B403 for ; Thu, 19 Jul 2001 14:04:53 -0700 (PDT) (envelope-from ipthomas_77@yahoo.com) Received: from scraemondaemon.my.domain ([24.49.96.3]) by smtprelay2.adelphia.net (Netscape Messaging Server 4.15) with ESMTP id GGQNWU01.QF4; Thu, 19 Jul 2001 17:05:18 -0400 Received: (from ipt@localhost) by scraemondaemon.my.domain (8.11.4/8.11.4) id f6JL2rF01665; Thu, 19 Jul 2001 17:02:53 -0400 (EDT) (envelope-from ipt) Date: Thu, 19 Jul 2001 17:02:53 -0400 From: User & Ian Patrick Thomas To: Matt Crawford Cc: freebsd-questions@freebsd.org Subject: Re: Problem with sysmouse protocol or XFree86 4.0 Message-ID: <20010719170253.B1458@localhost> References: <200107191534.f6JFYXF23511@gungnir.fnal.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200107191534.f6JFYXF23511@gungnir.fnal.gov>; from crawdad@fnal.gov on Thu, Jul 19, 2001 at 10:34:33AM -0500 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 As it was put forth by Matt Crawford on Thu, Jul 19, 2001 at 10:34:33AM -0500... > I've just done a from-scratch reinstallation of FreeBSD 4.3 with > XFree86 4.0.2 on a Sony Vaio laptop with an ALPS glidepoint > touchpad. (I don't know how much of this is relevant.) If I run > "moused -3 -p /dev/psm0" the mouse works find in the system console > mode. But then using the following mouse definitions in XF86Config: > > Section "InputDevice" > # Identifier and driver > Identifier "Mouse1" > Driver "mouse" > Option "Protocol" "SysMouse" > Option "Device" "/dev/sysmouse" > EndSection > # ... > Section "ServerLayout" > # The Identifier line must be present > Identifier "Simple Layout" > Screen "Screen 1" > InputDevice "Mouse1" "CorePointer" > InputDevice "Keyboard1" "CoreKeyboard" > EndSection > > > I diagnose the following problem with the help of xev: ButtonRelease > events are not being received until the next ButtonPress or > MotionNotify event. > > If I kill moused and run the server as 'XFree86 -layout "Raw Mouse Device"' > with the following sections added to XF86Config, everything works > great, including taps on the touchpad being interpretted as button 1: > > > Section "InputDevice" > # Identifier and driver > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "PS/2" > Option "Device" "/dev/psm0" > # Emulate3Buttons is an option for 2-button Microsoft mice > # Emulate3Timeout is the timeout in milliseconds (default is 50ms) > Option "Emulate3Buttons" > Option "Emulate3Timeout" "100" > EndSection > # ... > Section "ServerLayout" > # The Identifier line must be present > Identifier "Raw Mouse Device" > Screen "Screen 1" > InputDevice "Mouse0" "CorePointer" > InputDevice "Keyboard1" "CoreKeyboard" > EndSection > > > So I don't know if this is a problem in moused or in X .. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message I have had problems using sysmouse in X also. This is a regular ps/2 logitech with three buttons. Buttons do not respond well and it takes alot more movement to get the pointer across the screen. I switched to using the raw mouse support in X as it works much better. I'm currently working on a script that would suspend moused or stop it once X starts and restart it once I exit out of an X session. I'll post it to the list if it is any good. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message