diff options
Diffstat (limited to 'config/udev.c')
-rw-r--r-- | config/udev.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/udev.c b/config/udev.c index 5d001de5e..f7ed4b2de 100644 --- a/config/udev.c +++ b/config/udev.c @@ -99,6 +99,9 @@ device_added(struct udev_device *udev_device) name = udev_device_get_property_value(parent, "NAME"); LOG_PROPERTY(ppath, "NAME", name); } + + attrs.pnp_id = udev_device_get_sysattr_value(parent, "id"); + LOG_SYSATTR(ppath, "id", attrs.pnp_id); } if (!name) name = "(unnamed)"; |