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

Daniel Kurtz djkurtz at google.com
Sun May 22 09:00:34 PDT 2011


Thanks for the pointers.

On Fri, May 20, 2011 at 11:55 AM, Peter Hutterer
<peter.hutterer at who-t.net>wrote:

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

The following looks like it was submitted by Thomas, and adds tty filter as
was recommended in that thread:

http://lists.x.org/archives/xorg-devel/2010-February/005614.html

But, AFAICT, it was lost.  I don't see any review comments, nor do I see it
in the tree.
Does anybody remember why this was not accepted?

Thanks,
-Daniel


Cheers,
>   Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110523/fb0fcc74/attachment.html>


More information about the xorg-devel mailing list