From owner-freebsd-questions Thu Jul 19 8:35: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fnal.gov (heffalump.fnal.gov [131.225.9.20]) by hub.freebsd.org (Postfix) with ESMTP id C6F4B37B401 for ; Thu, 19 Jul 2001 08:35:05 -0700 (PDT) (envelope-from crawdad@gungnir.fnal.gov) Received: from gungnir.fnal.gov ([131.225.80.1]) by smtp.fnal.gov (PMDF V6.0-24 #37519) with ESMTP id <0GGQ000AU8MHSI@smtp.fnal.gov> for freebsd-questions@freebsd.org; Thu, 19 Jul 2001 10:35:05 -0500 (CDT) Received: from gungnir.fnal.gov (localhost [127.0.0.1]) by gungnir.fnal.gov (8.10.2+Sun/8.10.2) with ESMTP id f6JFYXF23511; Thu, 19 Jul 2001 10:34:33 -0500 (CDT) Date: Thu, 19 Jul 2001 10:34:33 -0500 From: Matt Crawford Subject: Problem with sysmouse protocol or XFree86 4.0 To: newbie@XFree86.Org, freebsd-questions@freebsd.org Message-id: <200107191534.f6JFYXF23511@gungnir.fnal.gov> 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 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