From owner-freebsd-questions@FreeBSD.ORG Fri Jun 8 21:09:21 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 7B080106566C for ; Fri, 8 Jun 2012 21:09:21 +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 0C0038FC18 for ; Fri, 8 Jun 2012 21:09:20 +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 q58L9BDZ029190 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 8 Jun 2012 23:09:13 +0200 Date: Fri, 8 Jun 2012 23:09:11 +0200 From: Albert Shih To: Jerome Herman Message-ID: <20120608210911.GA11210@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 4FD269F7.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4FD269F7.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, 08 Jun 2012 21:09:21 -0000 Le 29/04/2012 ? 00:58:01+0200, Jerome Herman a écrit > >>> > >>> 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. > After some time, and read new messages ont this mailing list, I find a solution. Deactivate hald deactivate dbus Option "AutoAddDevices" "Off" put moused_enable="On" in /etc/rc.conf .... and.... reboot and everything work fine again. I don't known why by using /usr/local/etc/rc.d/hald stop /usr/local/etc/rc.d/dbus stop /etc/rc.d/moused start it's not working.... Thank all those help. Regards. -- 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@jabber.obspm.fr Heure local/Local time: ven 8 jui 2012 23:06:01 CEST