From owner-freebsd-questions@FreeBSD.ORG Fri May 4 12:51:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E1413106566B for ; Fri, 4 May 2012 12:51:39 +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 8944D8FC12 for ; Fri, 4 May 2012 12:51:39 +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 q44CpVO6019906 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 4 May 2012 14:51:32 +0200 Date: Fri, 4 May 2012 14:51:31 +0200 From: Albert Shih To: Jerome Herman Message-ID: <20120504125131.GA12022@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 4FA3D0D3.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4FA3D0D3.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: Fri, 04 May 2012 12:51:40 -0000 Le 02/05/2012 ? 22:44:19+0200, Jerome Herman a écrit > 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. > > 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) > b) forbid hal from probing the touchpad. If solution a fails, I would > explain to you how to do this if solution a) fails. I try this. I do a hal-device find the unique udi to have /dev/psm0 in input.device, udi = '/org/freedesktop/Hal/devices/psm_0' freebsd.driver = 'psm' (string) freebsd.unit = 0 (0x0) (int) platform.id = 'psm.0' (string) freebsd.device_file = '/dev/psm0' (string) info.capabilities = { 'input', 'input.mouse' } (string list) info.category = 'input' (string) input.device = '/dev/psm0' (string) input.x11_driver = 'mouse' (string) info.addons = { 'hald-addon-mouse-sysmouse' } (string list) info.udi = '/org/freedesktop/Hal/devices/psm_0' (string) info.parent = '/org/freedesktop/Hal/devices/atkbdc_0' (string) info.product = 'PS/2 Mouse' (string) info.subsystem = 'platform' (string) and add a new file in /usr/local/etc/hal/fdi/policy/ with true restart hald, reboot and...nothing :-( I've try also with something like true but same result. The touchpad still working and most important the mouse still NOT working. Any help ? Thanks. 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: ven 4 mai 2012 14:42:00 CEST