mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-27 09:46:25 +00:00
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
This commit is contained in:
parent
35fff9684e
commit
08f4040fc8
@ -268,10 +268,13 @@ fu_superio_device_probe(FuDevice *device, GError **error)
|
|||||||
{
|
{
|
||||||
FuSuperioDevice *self = FU_SUPERIO_DEVICE(device);
|
FuSuperioDevice *self = FU_SUPERIO_DEVICE(device);
|
||||||
FuSuperioDevicePrivate *priv = GET_PRIVATE(self);
|
FuSuperioDevicePrivate *priv = GET_PRIVATE(self);
|
||||||
|
g_autofree gchar *devid = NULL;
|
||||||
g_autofree gchar *name = NULL;
|
g_autofree gchar *name = NULL;
|
||||||
|
|
||||||
/* use the chipset name as the logical ID and for the GUID */
|
/* use the chipset name as the logical ID and for the GUID */
|
||||||
fu_device_set_logical_id(device, priv->chipset);
|
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);
|
name = g_strdup_printf("SuperIO %s", priv->chipset);
|
||||||
fu_device_set_name(FU_DEVICE(self), name);
|
fu_device_set_name(FU_DEVICE(self), name);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user