Reboot Modem on Pinephone in Mobian
#1
I've had my Pinephone for some weeks now, and I'm trying to solve one important nagging issue. 

The Broadband modem will just die and not come back up. I'm suspecting that it may be a weak or absent carrier signal but, I have very little to go on.

I'm not finding any  mmcli commands that would allow me to reboot the modem. 

When this happens, it's as if the device is gone, or has been completely unmounted and mmcli fails as there is no device and my only recourse is to reboot the system.

What would be the best approach to:
  • Discover and remount the device if necessary
  • Cycle the modem on if not active
I would like to script this either on a cron, or some subscribable event or signal. That may be tough as it seems like the modem goes down when Mobian suspends. Any help / advice would be much appreciated! 

Here is the modem when it is actually healthy

Code:
  -----------------------------------
  General  |               dbus path: /org/freedesktop/ModemManager1/Modem/2
           |               device id: 1234567
  -----------------------------------
  Hardware |            manufacturer: QUALCOMM INCORPORATED
           |                   model: QUECTEL Mobile Broadband Module
           |       firmware revision: EG25GGBR07A08M2G
           |          carrier config: Commercial-TMO_VoLTE
           | carrier config revision: xxxxxxx
           |            h/w revision: 10000
           |               supported: gsm-umts, lte
           |                 current: gsm-umts, lte
           |            equipment id: 867698047214237

The index seems to increase when waking up from suspend (Modem/0 -> Modem/1 -> Modem/2)

Thank your for looking into this, my first Pine64 post!
  Reply


Messages In This Thread
Reboot Modem on Pinephone in Mobian - by eggmatters - 06-04-2021, 09:37 AM
RE: Reboot Modem on Pinephone in Mobian - by 8bit - 06-04-2021, 11:03 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mobian Pinephone Notification LED biketool 0 98 05-30-2025, 03:40 AM
Last Post: biketool
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 62 18,474 05-14-2025, 03:28 AM
Last Post: anonymous
  Vivaldi Web browser nearly native for Mobian biketool 3 482 05-06-2025, 02:19 AM
Last Post: biketool
  mobian calamares fail merom 2 587 04-29-2025, 02:10 PM
Last Post: mdk
  Logging modem dialout attempts biketool 2 393 04-11-2025, 02:47 AM
Last Post: vusra
  Pinephone seems tobe using 4G data instead of Wifi data grump_fiddle_reinstall 7 2,415 02-20-2025, 02:47 PM
Last Post: puffchumpy
  mobian phosh on screen keyboard not popping up for Chromium/Electron apps grump_fiddle_reinstall 1 677 01-15-2025, 08:08 PM
Last Post: Kevin Kofler
  How to use QR codes on Mobian Sid(unstable) Pinephone Pro biketool 1 599 01-02-2025, 12:47 PM
Last Post: zetabeta
  Upgrade to Mobian (Trixie) Staging biketool 13 2,828 12-29-2024, 10:35 AM
Last Post: biketool
  Mobian Bulleyes aberrio 0 840 12-16-2024, 08:27 AM
Last Post: aberrio

Forum Jump:


Users browsing this thread: 1 Guest(s)