From owner-freebsd-mobile@FreeBSD.ORG Fri Apr 11 03:02:46 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67C9B37B401 for ; Fri, 11 Apr 2003 03:02:46 -0700 (PDT) Received: from accms33.physik.rwth-aachen.de (accms33.physik.RWTH-Aachen.DE [137.226.46.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18FA043FB1 for ; Fri, 11 Apr 2003 03:02:45 -0700 (PDT) (envelope-from kuku@accms33.physik.rwth-aachen.de) Received: (from kuku@localhost) by accms33.physik.rwth-aachen.de (8.11.6/8.9.3) id h3BA2dE08642; Fri, 11 Apr 2003 12:02:39 +0200 Date: Fri, 11 Apr 2003 12:02:39 +0200 From: "Christoph P. Kukulies" To: Gary Dunn Message-ID: <20030411100239.GA8338@gilberto.physik.rwth-aachen.de> References: <200304050959.h359xbc10358@accms33.physik.rwth-aachen.de> <20030410224903.741c58ad.knowtree@aloha.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030410224903.741c58ad.knowtree@aloha.com> User-Agent: Mutt/1.4i cc: Christoph Kukulies cc: freebsd-mobile@freebsd.org Subject: Re: X server, touchpad, mouse X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 10:02:46 -0000 On Thu, Apr 10, 2003 at 10:49:03PM -1000, Gary Dunn wrote: > On Sat, 5 Apr 2003 11:59:37 +0200 > Christoph Kukulies wrote: > > > When I run X (FreeBSD 5.0R, XFree86 4.?.?) and use the touchpad, > > everything's fine. Do I plug in the mouse later, the cursor freezes > > and the current session becomes unusable. Unfortunately I couldn't get it working with either of the suggestions that came up on this subject (to enable moused and add an entry with /dev/sysmouse in XF86Config. In the latter case I 'm getting an "init spawning too rapidly" indicating that X dies during startup. from dmesg: psm0: irq 12 on atkbdc0 psm0: model 4D Mouse, device ID 6 > > > > Is there a way to handle this smoothly? Needless to say that Windows > > 2000 or ME handles this no problem. This ain't X, OTOH :-) > > I have XFree86-4 running on Mandrake Linux on a Sony VAIO PCG-SR7K. This > laptop has a touchpad and a USB mouse. With a "standard" configuration I > could only use the USB mouse when it was plugged in during boot-up. > Someone suggested some modifications to /etc/X11/XF86Config-4 and with > those I can hot-plug the USB mouse at any time. Below are two relevant > sections from that file. Mouse1 is the touchpad, Mouse2 is the USB mouse. > I don't know if "/dev/input/mice" is a valid device on FreeBSD. > > # ********************************************************************** > # Pointer section > # ********************************************************************** > > Section "InputDevice" > Identifier "Mouse1" > Driver "mouse" > Option "Protocol" "PS/2" > Option "Device" "/dev/mouse" > Option "Emulate3Buttons" > Option "Emulate3Timeout" "50" > > # ChordMiddle is an option for some 3-button Logitech mice > > # Option "ChordMiddle" > > EndSection > > Section "InputDevice" > Identifier "Mouse2" > Driver "mouse" > Option "Protocol" "IMPS/2" > # Option "Device" "/dev/usbmouse" > Option "Device" "/dev/input/mice" > Option "ZAxisMapping" "4 5" > EndSection > > ... later, at the end of the file: > > Section "ServerLayout" > Identifier "layout1" > Screen "screen1" 0 0 > Option "Xinerama" "on" > InputDevice "Mouse1" "CorePointer" > InputDevice "Mouse2" "SendCoreEvents" > InputDevice "Keyboard1" "CoreKeyboard" > EndSection > -- Chris Christoph P. U. Kukulies kukulies@rwth-aachen.de