summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Jaeger <ThJaeger@gmail.com>2010-01-04 15:00:49 -0500
committerPeter Hutterer <peter.hutterer@who-t.net>2010-02-15 15:27:42 +1000
commit84905007702da2c05a4f7446b3fc5ff52be49655 (patch)
tree6183f449700c21ad6953c6a53af58b773c78a5dd
parent8736d112afb0dd61dfdaadd6378eafd200b2ef5f (diff)
udev: Don't filter subsystem "input"
This allows serial wacom devices to work, whose subsystem is "tty". Signed-off-by: Thomas Jaeger <ThJaeger@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--config/udev.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/config/udev.c b/config/udev.c
index 432ab85e9..69257e935 100644
--- a/config/udev.c
+++ b/config/udev.c
@@ -214,7 +214,6 @@ config_udev_init(void)
struct udev *udev;
struct udev_enumerate *enumerate;
struct udev_list_entry *devices, *device;
- int rc;
udev = udev_new();
if (!udev)
@@ -222,10 +221,6 @@ config_udev_init(void)
udev_monitor = udev_monitor_new_from_netlink(udev, "udev");
if (!udev_monitor)
return 0;
- rc = udev_monitor_filter_add_match_subsystem_devtype(udev_monitor,
- "input", NULL);
- if (rc < 0)
- return 0;
if (udev_monitor_enable_receiving(udev_monitor)) {
ErrorF("config/udev: failed to bind the udev monitor\n");
@@ -235,7 +230,6 @@ config_udev_init(void)
enumerate = udev_enumerate_new(udev);
if (!enumerate)
return 0;
- udev_enumerate_add_match_subsystem(enumerate, "input");
udev_enumerate_scan_devices(enumerate);
devices = udev_enumerate_get_list_entry(enumerate);
udev_list_entry_foreach(device, devices) {