[PATCH] man: list the drivers that are ignored when hotplugging (#35209)

Peter Hutterer peter.hutterer at who-t.net
Wed Mar 16 17:05:52 PDT 2011


On Wed, Mar 16, 2011 at 09:58:56AM +0100, Vincent Lefevre wrote:
> On 2011-03-16 09:14:10 +0100, Julien Cristau wrote:
> > On Wed, Mar 16, 2011 at 12:51:00 +1000, Peter Hutterer wrote:
> > > driver conflict. since hotplugging is enabled, the device will be picked
> > > up once through the config, once through hotplugging. when it is picked up
> > > through the config everything is fine and the log looks good.
> 
> However such conflicts are not documented. One could have thought
> that the options were merged instead of being ignored.

you have two different drivers that happen to listen to the same device
path. the options can't be merged as each driver only sees the options
configured for it, and even if not all options are available in the
respective other driver.

> > > the device is a touchpad so in your distro's default configurations it will
> > > be picked up with the synaptics driver when hotplugging. that driver grabs
> > > the event device, thus no events go through to the device you've configured.
> > > 
> > > remove the synaptics.conf from /etc/X11/xorg.conf.d and you should be fine.
> > > 
> > Or tell evdev to grab the device, as I said in that bug, and as in
> > evdev(4) synopsis...
> 
> Unless this have changed uptream, under Debian, the evdev(4) synopsis
> doesn't tell to grab the device:
> 
> SYNOPSIS
>        Section "InputDevice"
>          Identifier "devname"
>          Driver "evdev"
>          Option "Device"   "devpath"
>          Option "Emulate3Buttons"     "True"
>          Option "Emulate3Timeout"     "50"
>          Option "GrabDevice"     "False"
                   ^^^^^^^^^^

with the ConfigurationDetail section explaining what this means.

Cheers,
  Peter

>          ...
>        EndSection
> 
> The synopsis should probable mention the InputClass directive instead.



More information about the xorg-devel mailing list