diff --git a/config/udev.c b/config/udev.c index 678e47a39..9ac34ee50 100644 --- a/config/udev.c +++ b/config/udev.c @@ -255,6 +255,10 @@ wakeup_handler(pointer data, int err, pointer read_mask) device_added(udev_device); else if (!strcmp(action, "remove")) device_removed(udev_device); + else if (!strcmp(action, "change")) { + device_removed(udev_device); + device_added(udev_device); + } } udev_device_unref(udev_device); }