From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 11:39:14 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 213321065680 for ; Mon, 30 Apr 2012 11:39:14 +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 A73B28FC08 for ; Mon, 30 Apr 2012 11:39:13 +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 q3UBdBKA008604 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 30 Apr 2012 13:39:12 +0200 Date: Mon, 30 Apr 2012 13:39:10 +0200 From: Albert Shih To: Jerome Herman Message-ID: <20120430113910.GC74076@pcjas.obspm.fr> References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4F9C75F9.9070907@dichotomia.fr> User-Agent: Mutt/1.5.21 (2010-09-15) X-Miltered: at smtp-int-m.obspm.fr with ID 4F9E79DF.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4F9E79DF.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: Mon, 30 Apr 2012 11:39:14 -0000 Le 29/04/2012 ? 00:58:01+0200, Jerome Herman a écrit > > I was afraid this would happen. And I fear it is just the begining. Why you say that ? > I assume you did not create any custom hald rule. Did you ? I have one, but I try with him (I use since hal existe on BSD) and without him. For the same result. The pad in the laptop working but not the usb mouse. In fact I don't think the cpu load is connected to this problem. I already send a email to freebsd-stable. Well but that not a solve the Xorg don't see the mouse. > > The first thing to do is to add > > Option "AutoAddDevices" "Off" > > In your ServerLayout section of xorg.conf. > Then restart X and try to plug a mouse again. It may result in your mouse not working in X, but at least it should stop your computer from using all it's CPU trying to map the mouse. > > > If indeed the CPU load does not reach skyhigh levels when you plug a USB > mouse, we will be able to conclude that there is a DBus/hald problem. > > Also could you do the following > > - Mouse unplugged : > > # /usr/local/etc/rc.d/hald stop > # /usr/local/sbin/hald --daemon=no --verbose=yes>> /tmp/hald_debug.log 2>&1 > # dbus-launch lshal>> /tmp/dbus_hal_debug.log 2>&1 > > - plug mouse > > # dbus-launch lshal>> /tmp/dbus_hal_debug.log 2>&1 > > > And post the content of both log files ? That should help in understanding what is going on. In the worst case there are mecanism that will keep HAL from tinkering/probing usb mouse. > Here : the hald log file : http://dl.free.fr/rqLTgOvPS (I put some blank ligne juste before I plug the mouse) the dbus log file before I plug the mouse : http://dl.free.fr/iDgqyLgu6 and the dbus log file after I plug the mouse : http://dl.free.fr/lZuRadJFx I'm not qualified to said if it's hald/dbus problem, FreeBSD-Stable problem or both. I don't think it's a FreeBSD-Stable problem because in the dmesg we see the mouse plug ugen5.2: at usbus5 ums1: on usbus5 ums1: 5 buttons and [XYZT] coordinates ID=0 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: lun 30 avr 2012 13:22:45 CEST