[PATCH] config: only match sane devices in 10-evdev.conf

Peter Hutterer peter.hutterer at who-t.net
Wed Apr 7 15:19:05 PDT 2010


On Wed, Apr 07, 2010 at 11:02:46PM +0200, Julien Cristau wrote:
> On Wed, Apr  7, 2010 at 11:49:35 -0700, Keith Packard wrote:
> 
> > On Wed, 7 Apr 2010 13:24:38 +1000, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> > 
> > > Having a generic catchall also adds devices like accelerometers. These
> > > devices make X unusable, hence restrict matching to "known sane" devices
> > > like pointers, touchpads, keyboards, tablets and touchscreens.
> > 
> > Should we install a config file for synaptics too? Note that due to how
> > config file search works, any existing xorg.conf.d in /etc/X11 will
> > override *all* of the config files we put in
> > ${prefix}/etc/X11/xorg.conf.d, so we should be able to put more than one
> > file and have things work.
> > 
> If the server installs a config file for synaptics, and I don't install
> the synaptics driver, then my touchpad doesn't work, instead of working
> with evdev just fine.  I'd rather have synaptics (and vmmouse, and
> wacom, and what have you) install its own config snippet.

I agree with Julien here, the special-case drivers are better off to keep
their own snippets around. I'll add that once we have Dan's changes in to
export the location from the pkgconfig file.

Cheers,
  Peter


More information about the xorg-devel mailing list