Performance and mouse problems

Albert Shih Albert.Shih at obspm.fr
Fri Jun 8 21:09:21 UTC 2012


 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 at jabber.obspm.fr
Heure local/Local time:
ven 8 jui 2012 23:06:01 CEST


More information about the freebsd-questions mailing list