Modem-manager fails to obtain SIM ICCID on revision 517

Testing on Ubuntu Core 20.04.6 on a Raspberry Pi CM4.

Modem-manager fails to obtain ICCID from SIM on revision 517, but succeeds in doing so on revision 471. Below are the commands I ran to replicate this (personal information has been replaced by <redacted>)

$ snap list | grep modem-manager
modem-manager        1.16.6-2            471    latest/stable  canonical**  -
$ sudo mmcli --sim=/org/freedesktop/ModemManager1/SIM/0
'  -------------------------------
  General    |              path: /org/freedesktop/ModemManager1/SIM/0
  -------------------------------
  Properties |            active: yes
             |              imsi: <redacted>
             |             iccid: <redacted>
             |       operator id: <redacted>
             |     operator name: <redacted>

$ snap refresh modem-manager --revision=517
modem-manager 1.8.0-14 from Canonical✓ refreshed
$ sudo mmcli --sim=/org/freedesktop/ModemManager1/SIM/0
SIM '/org/freedesktop/ModemManager1/SIM/0'
  -------------------------
  Properties |          imsi : 'unknown'
             |            id : 'unknown'
             |   operator id : '<redacted>'
             | operator name : '<redacted>'

On revision 471, modem-manager correctly prints both IMSI and ICCID, while on revision 517, it prints 'unknown' IMSI and does not have a row for ICCID at all.

Hi,

The revision 517 is version 1.8 which is for UC16 mainly. What’s the intention using an older version? If you like to use a newer revision, you can simply run snap refresh modem-manager or specify the track explicitly snap refresh modem-manager --channel 20/stable.

The intention is to use the newest version, and I thought that 517 was exactly that, as that was installed when I ran snap refresh modem-manager. I guess I must have been tracking latest/stable and not 20/stable. What is the latest/stable track actually used for?

I’ll get back to you whether head of 20/stable (i.e. rev 552) works

Hi,

For the tracks, you can refer to this network-manager tutorial. I don’t find the one for modem-manger, but they should use the same track usage.

That makes sense. Also, head of 20/stable works as expected. Thank you! :grin: