[PATCH xserver] config/udev: add input subsystem filter for udev events

Peter Hutterer peter.hutterer at who-t.net
Thu May 19 20:55:01 PDT 2011


On Thu, May 19, 2011 at 09:58:59PM +0200, Julien Cristau wrote:
> On Thu, May 19, 2011 at 16:22:22 +0800, Daniel Kurtz wrote:
> 
> > libudev allows adding an efficient in-kernel filter on udev events.
> > Since we manually filter for ID_INPUT anyway, it seems reasonable to ask the kernel to send only events for the input subsystem.
> > 
> > This filtering is performed both for initial device enumeration, and for subsequent udev events.
> > 
> > Signed-off-by: Daniel Kurtz <djkurtz at google.com>
> > ---
> >  config/udev.c |    3 +++
> >  1 files changed, 3 insertions(+), 0 deletions(-)
> > 
> Pretty sure we had that initially and it was removed.

We did. thread here http://lists.x.org/archives/xorg-devel/2010-January/004596.html

    commit 84905007702da2c05a4f7446b3fc5ff52be49655
    Author: Thomas Jaeger 
    Date:   Mon Jan 4 15:00:49 2010 -0500

    udev: Don't filter subsystem "input"
            
    This allows serial wacom devices to work, whose subsystem is "tty".

Cheers,
  Peter


More information about the xorg-devel mailing list