Comment 11 for bug 1954965

Revision history for this message
Jerry Lee (jerry-lee-tpe) wrote :

The package fwupd v1.7.5-3~20.04.1 in focal-proposed was tested.
This built package v1.7.5-3~20.04.1 can't let the modem's firmware to be updated via modemmanager.
That is, "fwupdmgr get-devices" does not list the Quectel modem to be firmware update supported on the tested machine.

The root cause is: the plugin code inside the fwupd is modemmanager version dependent.
For ex., the following conditional compiled code will not be included if the installed modemmanager version is less than the required version (> 1.17.1) while building.

plugins/modem-manager/fu-mm-device.c:

        static const MMModemFirmwareUpdateMethod supported_combinations[] = {
                MM_MODEM_FIRMWARE_UPDATE_METHOD_FASTBOOT,
                MM_MODEM_FIRMWARE_UPDATE_METHOD_QMI_PDC | MM_MODEM_FIRMWARE_UPDATE_METHOD_FASTBOOT,
#if MM_CHECK_VERSION(1, 17, 1)
                MM_MODEM_FIRMWARE_UPDATE_METHOD_MBIM_QDU,
#endif /* MM_CHECK_VERSION(1,17,1) */
#if MM_CHECK_VERSION(1, 17, 2)
                MM_MODEM_FIRMWARE_UPDATE_METHOD_FIREHOSE,
#endif
        };

The Quectel modem requires the method MM_MODEM_FIRMWARE_UPDATE_METHOD_FIREHOSE to be supported.
Currently, the latest version of modemmanager in Focal is 1.16.6-2~20.04.1 .

If the modemmanager is upgraded to the required versions, we might request for a no-change-rebuild SRU in focal.