Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 May 2012 09:31:59 +0200
From:      Albert Shih <Albert.Shih@obspm.fr>
To:        Jerome Herman <jherman@dichotomia.fr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Performance and mouse problems
Message-ID:  <20120503073159.GA4481@pcjas.obspm.fr>
In-Reply-To: <4FA19CA3.50903@dichotomia.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> <4FA19CA3.50903@dichotomia.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
 Le 02/05/2012 ? 22:44:19+0200, Jerome Herman a écrit
> >
Hi.

> 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.

OK. 

> 
> 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)

I've no idea how I can do that. 

Here my xorg.conf (without font/driver for graphics etc..): 


Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
#	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection


Section "Module"
	Load  "extmod"
	Load  "record"
	Load  "dbe"
	Load  "glx"
	Load  "dri"
	Load  "dri2"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/sysmouse"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection


I've try to comment out 

	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/sysmouse"
	Option	    "ZAxisMapping" "4 5 6 7"

without any result. 



> b) forbid hal from probing the touchpad. If solution a fails, I would 
> explain to you how to do this if solution a) fails.

Any solution ;-)

Thanks again.

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:
jeu 3 mai 2012 09:27:51 CEST



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120503073159.GA4481>