I (and others) face frequent crashes of the modem firmware. The visible effect of such crashes are that the modem and data mobile level indicator went away (will attach a picture next time).
For me this happened already before updating the modem firmware and using suspend in my L5, but now far more often.
Please read last messages in the referenced thread Status of Suspend for Librem 5 .
Yes, I updated the modem firmware. And yes, I did it following the instructions I got from support. And yes, I only created this new thread to move it away from the “status of suspend” thread.
I once downloaded BM818-watchmodem, that was supposed to give a notification every time the modem disappeared and then attempt to restart it, but I haven’t tried it on my phone. Now I can’t find the git repo for it, but I have a .deb on my PC with the name bm818-watchmodem_0.5+librem5ci79332.e96a15a_arm64.deb. Not sure if it is up to date or usable.
Please provide some logs showing what happens (dmesg at least), such thread is useless otherwise. The bugtracker issue you linked is either unrelated, or your system isn’t up to date because that one is already fixed.
@dos, My system is fully uptodate, including the modem firmware.
To @carlosgonz I don’t know if “crash” is what happens. All modem indicators in the status bar are just gone in that case and the modem is not useable. The reset visible in the script in the other thread brings it back to life.
I will try to gather more information from the logs.
The idea of this new thread was to move it away from the ~400 replies in “what is the status of suspend”:
I was happy to face the situation this morning again and from events on the shell I can exactly cut out the time window from when the moment icons still have been there and to they wasn’t anymore:
I have here the log when the modem icon in the status line disappearred
since:
When I typed ‘sudo apt update’ in the terminal the modem icons still have been there;
until:
I did a screenshot of the disappeared modem in status line:
So yeah, this is not the modem disappearing at all. It’s just ModemManager failing to probe the modem over QMI, then attempting to use PPP over AT which is completely broken and ends up making the port unusable until power cycling the modem. This should get better once the fixes for resume from suspend are deployed.
Please note, that I faced this already before using suspend at all. It’s now only more often. I will make a statistic of a day with and a day without suspend.
For me, the modem disappearing also seems unrelated to suspend as I find that it mostly happens while e.g. charging or when connected to a laptop dock when it doesn’t go into suspend. From memory, I would say the modem disappears maybe 4-5 times per day.
I have had an interesting observation today: the modem indicators disappeared some minutes after a resume from suspend (i.e. with the resume they still have been there) and I was to lazy to power cycle the modem with the HKS (i.e. to lazy to have to enter the PIN again). And after some minutes the modem indicator re-appeared by its own.
This issue has certainly gotten worse over the past week. Today I have had more than a handful of modem dropouts / cellular icon disappearing from the status bar. Checking the journalctl I get the following:
maj 02 14:44:29 pureos ModemManager[12342]: <warn> [modem8] port ttyUSB1 timed out 6 consecutive times
maj 02 14:44:32 pureos ModemManager[12342]: <warn> [modem8] port ttyUSB1 timed out 7 consecutive times
maj 02 14:44:35 pureos ModemManager[12342]: <warn> [modem8] port ttyUSB1 timed out 8 consecutive times
maj 02 14:46:35 pureos ModemManager[12342]: <warn> [modem8] port ttyUSB1 timed out 9 consecutive times
maj 02 14:46:40 pureos ModemManager[12342]: <error> [modem8] port ttyUSB1 timed out 10 consecutive times, marking modem as invalid
maj 02 14:46:40 pureos mmsdtng[1478]: ../plugins/modemmanager.c:mmsd_modem_unavailable() Disabling Bearer Handler
maj 02 14:46:40 pureos mmsdtng[1478]: ../plugins/modemmanager.c:mmsd_disconnect_from_sms_wap() Stopping watching SMS WAPs
maj 02 14:46:40 pureos mmsdtng[1478]: ../plugins/modemmanager.c:mmsd_mm_state() Modem vanished, Disabling plugin
maj 02 14:46:40 pureos mmsdtng[1478]: ../plugins/modemmanager.c:mmsd_mm_state() MMSD_MM_STATE_NO_MODEM
maj 02 14:46:40 pureos mmsdtng[1478]: ../plugins/modemmanager.c:cb_object_removed() Modem removed: /org/freedesktop/ModemManager1/Modem/8
For me, the cellular connection has become totally unreliable as it seems to time out as soon as the phone sits idle for a while (not suspending). To add to the problem, my phone really struggles to establish a mobile data connection, which is also a new problem that could be related to the updated modem firmware. Sometimes toggling the HKS or resetting the modem through the terminal 5-6 times don’t resolve the mobile connection. The latter problem noticeable when I leave my home Wifi. It is really frustrating.
I will post this log file snippet in the bugtracker as well.