Date: Wed, 02 May 2012 22:44:19 +0200 From: Jerome Herman <jherman@dichotomia.fr> To: Albert Shih <Albert.Shih@obspm.fr> Cc: freebsd-questions@freebsd.org Subject: Re: Performance and mouse problems Message-ID: <4FA19CA3.50903@dichotomia.fr> In-Reply-To: <20120502150626.GF99014@pcjas.obspm.fr> References: <20120427161316.GA60361@pcjas.obspm.fr> <CA%2BtpaK2fLYgwqXFj%2B0qjyNGy2UPiOq=v2=XYLjT2GCMJKHMCng@mail.gmail.com> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> <20120430113910.GC74076@pcjas.obspm.fr> <4F9EAD87.2000005@dichotomia.fr> <20120502150626.GF99014@pcjas.obspm.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
On 02/05/2012 17:06, Albert Shih wrote: > Le 30/04/2012 ? 17:19:35+0200, Jerome Herman a écrit >>>> I was afraid this would happen. And I fear it is just the begining. >>> Why you say that ? >> Short answer : I am a proud member of the "HAL and DBus are evil" group. >> Middle answer : HAL and DBus were made, maintained and tuned with pretty >> much nothing but Linux in mind. As a result they hardly play well with >> other OS, and will tend to play worse as the time goes by. In fact >> general opinion is that HAL never truly worked under Linux either, it is >> now officially deprecated. > OK. I'm just a basic user. Event I use FreeBSD since 3.x > > I'm sysadmin so I use lot of FreeBSD for the server side. On my laptop I > use...vim/X11/Firefox/ion3 and that is almost everything I knwon. > > I remenber when hal is release I lost lot of time to configure X11 to use > my keyboard map (us_intl) and hate hal for that ;-) > >>> ugen5.2:<vendor 0x413c> at usbus5 >>> ums1:<vendor 0x413c Dell Premium USB Optical Mouse, class 0/0, rev 2.00/0.09, addr 2> on usbus5 >>> ums1: 5 buttons and [XYZT] coordinates ID=0 >> Ok looking at your files, it does not appear to be a hal/dbus problem >> either : >> The device is correctly probed and registered with DBus, known as >> /dev/ums1, and the x11 driver is mapped to "mouse" which should be correct. >> For one reason or another, xorg is not catching/processing the info. >> >> Can you send the Xorg log ? Just wait until X is up and then plug the >> mouse. I am curious to see what happens inside xorg. > I think the problem is indeed comme from Xorg. > > Before I plug (Notice my touchpad working) > > http://dl.free.fr/nkZEuk5nZ > > I plug the mouse > > http://dl.free.fr/vEn4bnirv > > Thanks. > > Regards. > > JAS > 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. Jerome Herman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FA19CA3.50903>