I hit a strange problem discussed in this thread of some modem mailing lis https://lists.freedesktop.org/archives/modemmanager-devel/2017-February/003804.html.
Basically when I start up my system in logs I get messages that modem can't be activated because 'No SIM card inserted'. Also, when I'm doing mmcli -L I get
Found 1 modems:
/org/freedesktop/ModemManager1/Modem/0 [Sierra] MBIM [1199:9079]
And when I do mmcli -m 0 I get
-------------------------
Hardware | manufacturer: 'Sierra'
| model: 'MBIM [1199:9079]'
| revision: 'SWI9X30C_02.30.03.00'
| supported: 'gsm-umts, lte'
| current: 'gsm-umts, lte'
| equipment id: '014582005392668'
-------------------------
Status | lock: 'unknown'
| unlock retries: 'unknown'
| state: 'failed'
| failed reason: 'sim-missing'
| power state: 'low'
| access tech: 'unknown'
| signal quality: '0' (cached)
My modem manager is good to go and should work with MBIM.
borowis@NoName:~$ dpkg -l modemmanager
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==========================-==================-==================-==========================================================
ii modemmanager 1.6.8-2ubuntu1 amd64 D-Bus service for managing modems
But if I close the lid and my laptop goes to suspend mode, than I open lid back again everything works as expected. My modem is now: mmcli -L
Found 1 modems:
/org/freedesktop/ModemManager1/Modem/1 [Sierra] MBIM [1199:9079]
Sim card is good to go mmcli -m 1
-------------------------
3GPP | imei: '014582005392668'
| enabled locks: 'fixed-dialing'
| operator id: '25501'
| operator name: 'Vodafone UA'
| subscription: 'unknown'
| registration: 'home'
I can connect to the internet, issue AT commands etc. Another interesting thing is that I've got to close and open the lid, doing # systemctl restart ModemManager doesn't cut it.
Seems like I hit a bug with modemmanager/libqmi/whatever? Do you know what can/should be done in situations like this?