Howto - automatically recover your modem and mobile data after deep sleep
#22
Thumbs Up 
(12-15-2020, 11:12 AM)a-wai Wrote: Basically, it's just a userspace re-implementation of megi's power management driver, with an mguard-like feature for modem recovery (force disconnect/reconnect the modem if it doesn't come back online after suspend).

This also means it can be used with any kernel, except megi's as it conflicts with its own modem management driver.
Hi a-wai,

many progress had been made in the last weeks. Great work!!!
Though i kept upgrading from 1113 image, i guess i will do a clean flash to my device again with the latest 1215 image.
BTW, i'm running Mobian on V1.2b mainboard hardware.

Let me describe what i observed concerning modem behaviour.
I kept my device in flight mode. After power up i am directly prompted to enter SIM pin.
Everything fine, modem usb ports are all there. Modem settings are reachable through UI. Then let the device go directly into sleep -> enter crust mode.

After a while power up, by the phone by pressing the power button. Modem had completely gone.
Checking dmesg gives there'd been no usb enumeration/no ports at all.

Then again some deep sleep, tried again... throwing some dice and the modem was there again. So it seems not to be a static behaviour.
Anyway most of the time it's gone.

I guess i'll have to dig a little deeper into the code to understand the wake up procedure, when the phone tries to come back to live...
BTW is the DTR-Pin triggered to try and wake up the modem as well?

There'd been some rumours, it's all caused by modems firmware... maybe i'll have to collect some informations on this.

What do you think about the possibility that the usb enumeration got stuck/is not retriggered on the modems side?
The A64 hub would have trouble to get the ports back then.
What if we would be able to switch VBUS of the modem seperately?
I know that this is not possible with the actual hardware, but just in case...

Anyway, hopefully this issue could be solved by software, because i think power management and modem handling is very essential for a mobile.

Best regards,
scholbert
  Reply


Messages In This Thread
RE: Howto - automatically recover your modem and mobile data after deep sleep - by scholbert - 12-22-2020, 08:44 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mobile internet via cellular network mostly not working Anna 18 10,248 01-19-2024, 02:59 AM
Last Post: anonymous
  MODEM - Usb problem & couldn't query SIM slots: QMI protocol freelectro 5 2,822 06-06-2023, 06:36 AM
Last Post: freelectro
  4G data on default startup / boot dcinoz 1 840 04-29-2023, 11:24 PM
Last Post: dcinoz
  ModemManager debug mode? (Needed to flash modem) calinb 1 1,204 02-27-2023, 04:18 PM
Last Post: calinb
  Block firefix-esr-mobile-config from (re)installing itself grump_fiddle_reinstall 3 1,555 01-07-2023, 09:36 AM
Last Post: dcarvil
Exclamation No modems were found: No mobile data, no 2G anonymous 2 1,377 12-26-2022, 06:46 PM
Last Post: anonymous
  very slow processing of MMS received via Ting (T-Mobile) treebeard 6 2,529 12-01-2022, 09:18 AM
Last Post: traut
  DNS Problems with Mobile Data arno_nuehm 29 16,990 10-29-2022, 09:16 AM
Last Post: treebeard
  Modem Firmware Upgrade - Modem Busy - USB Issues biketool 10 4,792 09-23-2022, 05:15 AM
Last Post: biketool
  no wakeup from deep-sleep jsch 8 4,108 09-05-2022, 03:03 AM
Last Post: jsch

Forum Jump:


Users browsing this thread: 1 Guest(s)