From owner-freebsd-questions@FreeBSD.ORG Sat Apr 28 22:58:39 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 1388A106564A for ; Sat, 28 Apr 2012 22:58:39 +0000 (UTC) (envelope-from jherman@dichotomia.fr) Received: from mail.dichotomia.fr (hydrogen.dichotomia.net [91.121.82.228]) by mx1.freebsd.org (Postfix) with ESMTP id C58E58FC12 for ; Sat, 28 Apr 2012 22:58:38 +0000 (UTC) Received: from [192.168.2.11] (unknown [109.190.13.180]) (Authenticated sender: kha@dichotomia.fr) by sslmail.dichotomia.fr (Postfix) with ESMTPSA id D3EDA3DD08A for ; Sun, 29 Apr 2012 00:57:25 +0200 (CEST) Message-ID: <4F9C75F9.9070907@dichotomia.fr> Date: Sun, 29 Apr 2012 00:58:01 +0200 From: Jerome Herman User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> In-Reply-To: <20120428205201.GB65903@pcjas.obspm.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (sslmail.dichotomia.fr); Sun, 29 Apr 2012 00:57:25 +0200 (CEST) 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: Sat, 28 Apr 2012 22:58:39 -0000 On 28/04/2012 22:52, Albert Shih wrote: > Le 27/04/2012 ? 12:14:04-0500, Adam Vande More a écrit >> On Fri, Apr 27, 2012 at 11:13 AM, Albert Shih wrote: >> >>> Hi all >>> >>> I've got two very strange problem >>> >>> I'm running 9-stable on a Dell Laptop E4200. >>> >>> Since this morning when I put a USB mouse (I've try three mouses to be >>> sure) it's not working. The kernel and HAL see the mouse but Xorg don't >>> seem do anything. >>> >>> The second point is the load of the system is alway more than 1 (~1.5-2) >>> event I do nothing. I kill all services, daemon, software and the load >>> never drop. >>> >>> I've stop : >>> >>> hald >>> dbus >>> powerd >>> etc... >>> >>> and ps don't show any process eating some ressource. But the load is high >>> (and the laptop is very hot). >>> >>> I make a csup of world and build new userland, and news kernel. And nothing >>> change.... >>> >> http://www.wonkity.com/~wblock/docs/html/aei.html > Well I don't see why this can be from a misconfiguration, the usb mouse > work well before I update hald and world. > > But I read you link and I don't have those option in my configuration of > xorg. > > Any other idea ? > > But thanks. > > For the problem about performance I submit this problem on stable mailing > list. > > Regards > > JAS > I was afraid this would happen. And I fear it is just the begining. I assume you did not create any custom hald rule. Did you ? 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. Jerome Herman