Luci-proto-modemmanager support thread

Hi @biangbiangmian,

I am running a Banana Pi BPI-R3 (Wiki with schematic / BPI Forum).

Your Modem Manager is quite fantastic. Though, the hardware I am using has the SIM slot on the main PBC and the BPI-4G LTE module is connected via PCIe with USB 2.0 support only.

The SIM is always complained about to be not found and I assume this is because the SIM is on the BPI-R3 board but not the extension board or on the Sinovoip BPI 4G Module.

The whole router, not just the interface, was rebooted to ensure the SIM is read during boot. Do you have an idea how to eventually fix that?

mmcli -m any
  -----------------------------
  General  |              path: /org/freedesktop/ModemManager1/Modem/0
           |         device id: 83da69877793b6f78f7f63f88607f87dafaeb2d0
  -----------------------------
  Hardware |      manufacturer: QUALCOMM INCORPORATED
           |             model: QUECTEL Mobile Broadband Module
           | firmware revision: EC25EFAR06A06M4G
           |    carrier config: default
           |      h/w revision: 10000
           |         supported: gsm-umts, lte
           |           current: gsm-umts, lte
           |      equipment id: 860548047665499
  -----------------------------
  System   |            device: /sys/devices/platform/soc/11200000.usb/usb1/1-1/          1-1.1
           |           drivers: qmi_wwan, option1
           |            plugin: quectel
           |      primary port: cdc-wdm0
           |             ports: cdc-wdm0 (qmi), ttyUSB0 (qcdm), ttyUSB1 (gps),
           |                    ttyUSB2 (at), ttyUSB3 (at), wwan0 (net)
  -----------------------------
  Status   |             state: failed
           |     failed reason: sim-missing
           |       power state: on
  -----------------------------
  Modes    |         supported: allowed: 2g; preferred: none
           |                    allowed: 3g; preferred: none
           |                    allowed: 4g; preferred: none
           |                    allowed: 2g, 3g; preferred: 3g
           |                    allowed: 2g, 3g; preferred: 2g
           |                    allowed: 2g, 4g; preferred: 4g
           |                    allowed: 2g, 4g; preferred: 2g
           |                    allowed: 3g, 4g; preferred: 4g
           |                    allowed: 3g, 4g; preferred: 3g
           |                    allowed: 2g, 3g, 4g; preferred: 4g
           |                    allowed: 2g, 3g, 4g; preferred: 3g
           |                    allowed: 2g, 3g, 4g; preferred: 2g
           |           current: allowed: 2g, 3g, 4g; preferred: 4g
  -----------------------------
  Bands    |         supported: egsm, dcs, utran-1, utran-5, utran-8, eutran-1,           eutran-3,
           |                    eutran-5, eutran-7, eutran-8, eutran-20, eutran-          38, eutran-40,
           |                    eutran-41
           |           current: egsm, dcs, utran-1, utran-5, utran-8, eutran-1,           eutran-3,
           |                    eutran-5, eutran-7, eutran-8, eutran-20, eutran-          38, eutran-40,
           |                    eutran-41
  -----------------------------
  IP       |         supported: ipv4, ipv6, ipv4v6

PS: I am using the latest OpenWrt release 23.05 and as follows the syslog.

Many thanks in advance
Mike