From owner-freebsd-mobile@FreeBSD.ORG Fri Apr 11 01:53:10 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 0F66A37B401 for ; Fri, 11 Apr 2003 01:53:10 -0700 (PDT) Received: from koa.aloha.com (koa.aloha.com [206.127.224.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58DB043F93 for ; Fri, 11 Apr 2003 01:53:09 -0700 (PDT) (envelope-from knowtree@aloha.com) Received: from vaiosr7k.ozland (atm-251-63.pixi.com [206.127.251.63]) by koa.aloha.com (8.12.2/8.12.2) with SMTP id h3B8qkjJ010025; Thu, 10 Apr 2003 22:52:47 -1000 (HST) Date: Thu, 10 Apr 2003 22:49:03 -1000 From: Gary Dunn To: Christoph Kukulies Message-Id: <20030410224903.741c58ad.knowtree@aloha.com> In-Reply-To: <200304050959.h359xbc10358@accms33.physik.rwth-aachen.de> References: <200304050959.h359xbc10358@accms33.physik.rwth-aachen.de> Organization: Open Slate X-Mailer: Sylpheed version 0.8.8claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 08:53:10 -0000 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. > > 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 -- _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ Gary Dunn _/ _/ Open Slate Project _/ _/ http://openslate.sourceforge.net/ _/ _/ http://www.aloha.com/~knowtree/ _/ _/ Honolulu _/ _/ registered Linux user #273809 _/ _/ _/ _/ This tagline is umop apisdn. _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/