From 14e7e1b587a3ab0b6e7d4537534c73b8a957fbba Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 11 Oct 2022 15:20:52 +0100 Subject: [PATCH] Use EFI-style GUIDs when connecting the MEI interface This means the GUID matches what the kernel exports in sysfs. --- libfwupdplugin/fu-mei-device.c | 2 +- plugins/amt/fu-amt-device.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libfwupdplugin/fu-mei-device.c b/libfwupdplugin/fu-mei-device.c index 892d3cc10..5e9ef6c1d 100644 --- a/libfwupdplugin/fu-mei-device.c +++ b/libfwupdplugin/fu-mei-device.c @@ -144,7 +144,7 @@ fu_mei_device_connect(FuMeiDevice *self, g_return_val_if_fail(guid != NULL, FALSE); g_return_val_if_fail(error == NULL || *error == NULL, FALSE); - if (!fwupd_guid_from_string(guid, &guid_le, FWUPD_GUID_FLAG_NONE, error)) + if (!fwupd_guid_from_string(guid, &guid_le, FWUPD_GUID_FLAG_MIXED_ENDIAN, error)) return FALSE; memcpy(&data.in_client_uuid, &guid_le, sizeof(guid_le)); if (!fu_udev_device_ioctl(FU_UDEV_DEVICE(self), diff --git a/plugins/amt/fu-amt-device.c b/plugins/amt/fu-amt-device.c index 1b2df815e..77619c3f9 100644 --- a/plugins/amt/fu-amt-device.c +++ b/plugins/amt/fu-amt-device.c @@ -16,7 +16,7 @@ struct _FuAmtDevice { G_DEFINE_TYPE(FuAmtDevice, fu_amt_device, FU_TYPE_MEI_DEVICE) -#define FU_AMT_DEVICE_MEI_IAMTHIF "2800f812-b7b4-2d4b-aca8-46e0ff65814c" +#define FU_AMT_DEVICE_MEI_IAMTHIF "12f80028-b4b7-4b2d-aca8-46e0ff65814c" #define AMT_MAJOR_VERSION 1 #define AMT_MINOR_VERSION 1