Skip to content

quectel: add read firmware info with MBIM QDU

Add MBIM Quectel QDU command to read full firmware version.

Some Quectel modems (EM05, for example) only expose MBIM port to the system. The firmware version reported in the MBIM device capabilities contains only the major part of the firmware version:

[/dev/cdc-wdm0] Device capabilities retrieved:
              Device type: 'embedded'
           Cellular class: 'gsm'
              Voice class: 'no-voice'
                SIM class: 'removable'
               Data class: 'umts, hsdpa, hsupa, lte'
                 SMS caps: 'pdu-receive, pdu-send'
                Ctrl caps: 'reg-manual'
             Max sessions: '8'
        Custom data class: 'unknown'
                Device ID: '864430010001091'
            Firmware info: 'EM05GFAR07A05M1G'
            Hardware info: 'QUECTEL Mobile Broadband Modul'

This MR adds support for newly added Quectel-specific QDU command introduced in the libmbim here: libmbim!131 (merged)

With this command ModemManager can get the full firmware version (including the minor part after _):

  ----------------------
  Firmware |     method: firehose
           | device ids: USB\VID_2C7C&PID_030A&REV_0318
           |             USB\VID_2C7C&PID_030A
           |             USB\VID_2C7C
           |    version: EM05GFAR07A05M1G_01.001
Edited by Ivan Mikhanchuk

Merge request reports