diff --git a/config/udev.c b/config/udev.c index 83226638d..be317ee99 100644 --- a/config/udev.c +++ b/config/udev.c @@ -551,6 +551,9 @@ config_udev_odev_setup_attribs(struct udev_device *udev_device, const char *path attribs->busid = XNFstrdup(value); attribs->busid[3] = ':'; + } else if (value && (str = strrstr(value, "platform-"))) { + value = str + 9; + attribs->busid = XNFstrdup(value); } if (!value)