diff -Nru fwupd-1.5.11/debian/changelog fwupd-1.5.11/debian/changelog --- fwupd-1.5.11/debian/changelog 2021-07-23 15:14:53.000000000 +0800 +++ fwupd-1.5.11/debian/changelog 2021-12-08 11:20:23.000000000 +0800 @@ -1,3 +1,10 @@ +fwupd (1.5.11-0ubuntu1~20.04.3~1) focal; urgency=medium + + * Back port commit synaptics-prometheus: Fix enumeration of the config child + from upstream. (LP: #1953573) + + -- Andy Chi Wed, 08 Dec 2021 11:20:23 +0800 + fwupd (1.5.11-0ubuntu1~20.04.2) focal; urgency=medium * force to use libjcat >= 0.1.3, or signature verification will failed. diff -Nru fwupd-1.5.11/debian/patches/series fwupd-1.5.11/debian/patches/series --- fwupd-1.5.11/debian/patches/series 2021-07-01 09:06:11.000000000 +0800 +++ fwupd-1.5.11/debian/patches/series 2021-12-08 11:20:23.000000000 +0800 @@ -1 +1,2 @@ 0001-gsub-034.patch +synaptics-prometheus-Fix-enumeration-of-the-config-child.patch diff -Nru fwupd-1.5.11/debian/patches/synaptics-prometheus-Fix-enumeration-of-the-config-child.patch fwupd-1.5.11/debian/patches/synaptics-prometheus-Fix-enumeration-of-the-config-child.patch --- fwupd-1.5.11/debian/patches/synaptics-prometheus-Fix-enumeration-of-the-config-child.patch 1970-01-01 08:00:00.000000000 +0800 +++ fwupd-1.5.11/debian/patches/synaptics-prometheus-Fix-enumeration-of-the-config-child.patch 2021-12-08 11:20:23.000000000 +0800 @@ -0,0 +1,30 @@ +From 832231da9c1c3cc8a40ea9145a1925f85f237a98 Mon Sep 17 00:00:00 2001 +From: Richard Hughes +Date: Tue, 15 Jun 2021 17:18:55 +0100 +Subject: [PATCH] synaptics-prometheus: Fix enumeration of the config child + +Do not manually call config setup before adding the parent. + +The ->setup() action is called on children explicitly in fu_device_setup() +after the parent device has all the required properties. + +Fixes https://github.com/fwupd/fwupd/issues/3364 +--- + plugins/synaptics-prometheus/fu-synaprom-device.c | 4 ---- + 1 file changed, 4 deletions(-) + +Index: fwupd/plugins/synaptics-prometheus/fu-synaprom-device.c +=================================================================== +--- fwupd.orig/plugins/synaptics-prometheus/fu-synaprom-device.c ++++ fwupd/plugins/synaptics-prometheus/fu-synaprom-device.c +@@ -221,10 +221,6 @@ fu_synaprom_device_setup (FuDevice *devi + !fu_device_has_flag (device, FWUPD_DEVICE_FLAG_IS_BOOTLOADER) && + pkt.security[1] & FU_SYNAPROM_SECURITY1_PROD_SENSOR) { + g_autoptr(FuSynapromConfig) cfg = fu_synaprom_config_new (self); +- if (!fu_device_setup (FU_DEVICE (cfg), error)) { +- g_prefix_error (error, "failed to get config version: "); +- return FALSE; +- } + fu_device_add_child (FU_DEVICE (device), FU_DEVICE (cfg)); + } +