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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1954965

Title:
  Need fwupd in focal to support Quectel's modem(EM120/160) firmware
  update

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1954965/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to