From 08f4040fc8a1bf2ed84be3f98a17f6b15f71a0dd Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Sat, 25 Sep 2021 22:11:43 +0100 Subject: [PATCH] superio: Continue to add the SuperIO-IT8587 instance IDs (#3796) The GUIDs are in use by old firmware, and so of course we have to continue adding them. See https://github.com/fwupd/fwupd/pull/3734#issuecomment-919829988 --- plugins/superio/fu-superio-device.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/superio/fu-superio-device.c b/plugins/superio/fu-superio-device.c index faa29615f..880b3d51a 100644 --- a/plugins/superio/fu-superio-device.c +++ b/plugins/superio/fu-superio-device.c @@ -268,10 +268,13 @@ fu_superio_device_probe(FuDevice *device, GError **error) { FuSuperioDevice *self = FU_SUPERIO_DEVICE(device); FuSuperioDevicePrivate *priv = GET_PRIVATE(self); + g_autofree gchar *devid = NULL; g_autofree gchar *name = NULL; /* use the chipset name as the logical ID and for the GUID */ fu_device_set_logical_id(device, priv->chipset); + devid = g_strdup_printf("SuperIO-%s", priv->chipset); + fu_device_add_instance_id(device, devid); name = g_strdup_printf("SuperIO %s", priv->chipset); fu_device_set_name(FU_DEVICE(self), name); return TRUE;