diff options
Diffstat (limited to 'src/linux/up-enumerator-udev.c')
-rw-r--r-- | src/linux/up-enumerator-udev.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/linux/up-enumerator-udev.c b/src/linux/up-enumerator-udev.c index 3077d11..97abaef 100644 --- a/src/linux/up-enumerator-udev.c +++ b/src/linux/up-enumerator-udev.c @@ -150,7 +150,8 @@ device_new (UpEnumeratorUdev *self, GUdevDevice *native) "native", native, NULL); - } else if (g_strcmp0 (subsys, "input") == 0) { + } else if (g_strcmp0 (subsys, "input") == 0 || + g_strcmp0 (subsys, "sound") == 0) { /* Ignore, we only resolve them to see siblings. */ return NULL; } else { @@ -302,8 +303,8 @@ up_enumerator_udev_initable_init (UpEnumerator *enumerator) guint i; const gchar **subsystems; /* List "input" first just to avoid some sibling hotplugging later */ - const gchar *subsystems_no_wup[] = {"input", "power_supply", "usb", "usbmisc", NULL}; - const gchar *subsystems_wup[] = {"input", "power_supply", "usb", "usbmisc", "tty", NULL}; + const gchar *subsystems_no_wup[] = {"input", "power_supply", "usb", "usbmisc", "sound", NULL}; + const gchar *subsystems_wup[] = {"input", "power_supply", "usb", "usbmisc", "sound", "tty", NULL}; config = up_config_new (); if (up_config_get_boolean (config, "EnableWattsUpPro")) |