From owner-freebsd-questions@FreeBSD.ORG Thu May 3 07:32:03 2012 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 D26F6106566B for ; Thu, 3 May 2012 07:32:03 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) by mx1.freebsd.org (Postfix) with ESMTP id 6A6CC8FC0A for ; Thu, 3 May 2012 07:32:03 +0000 (UTC) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.3/8.14.3/SIO Observatoire de Paris - 07/2009) with ESMTP id q437VxOi025957 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 3 May 2012 09:32:01 +0200 Date: Thu, 3 May 2012 09:31:59 +0200 From: Albert Shih To: Jerome Herman Message-ID: <20120503073159.GA4481@pcjas.obspm.fr> References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> <20120430113910.GC74076@pcjas.obspm.fr> <4F9EAD87.2000005@dichotomia.fr> <20120502150626.GF99014@pcjas.obspm.fr> <4FA19CA3.50903@dichotomia.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4FA19CA3.50903@dichotomia.fr> User-Agent: Mutt/1.5.21 (2010-09-15) X-Miltered: at smtp-int-m.obspm.fr with ID 4FA2346F.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4FA2346F.000/145.238.184.233/pcjas.obspm.fr/pcjas.obspm.fr/ Cc: freebsd-questions@freebsd.org Subject: Re: Performance and mouse problems 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: Thu, 03 May 2012 07:32:03 -0000 Le 02/05/2012 ? 22:44:19+0200, Jerome Herman a écrit > > Hi. > Ok here is what happens, > > In your system you have your touchpad declared both in a static way in > your xorg config, and probed by HAL. > What happens is that when xorg starts it first install the touchpad as > required by the config file, and then tries to install it again via > autodetection. Of course the second installation of the same device > doesn't work as the device is already busy with xorg, and xorg stops to > try to auto-install devices. > When you plug another mouse, xorg is notified that there are new > devices, but starts by trying to reinstall the touchpad, fails again for > the same reason as above and stops trying. OK. > > In order to solve your problem you can try the following : > a) remove the touchpad lines from your xorg config. This way the > touchpad should be installed by auto detection. (simply comment it as > you might be needing it back soon) I've no idea how I can do that. Here my xorg.conf (without font/driver for graphics etc..): Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 # InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Module" Load "extmod" Load "record" Load "dbe" Load "glx" Load "dri" Load "dri2" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection I've try to comment out Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" without any result. > b) forbid hal from probing the touchpad. If solution a fails, I would > explain to you how to do this if solution a) fails. Any solution ;-) Thanks again. Regards. JAS -- Albert SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex Téléphone : 01 45 07 76 26/06 86 69 95 71 xmpp: jas@obspm.fr Heure local/Local time: jeu 3 mai 2012 09:27:51 CEST