Howto - automatically recover your modem and mobile data after deep sleep
#24
Hi,
short update here...

I found out that if the modem does not come back and refuses to enumerate after wake up, i'll have to restart the eg25-manager service.
Code:
systemctl restart eg25-manager

... but i guess what exactely happens here, is that the modem got a forced reset.
So i think this was discussed already many times.

Anyway the interface comes back this way... SIM-Pin has to be entered then.
Maybe we could tweak the service a little bit to restart automatically...

I thought a lot already about the real cause for this issue.
Maybe some part of the USB connection is left in an undefined state during sleep.
Could also be related to the handover while entering crust, or after leaving crust.

So i wonder if we could do some measurements to dig a little deeper...
Would be really interesting as well if it's really the modem part causing this... maybe the host controller of A64 has some quirks too (suspend/resume related).

It would be so awesome to get this fixed!

BTW did anyone already dig deep in the modem setup configuration?
Maybe there's a little tweak to be done...

EDIT:
Had a short glimpse at megous kernel driver:
Code:
    /* enable the modem to go to sleep when DTR is low */
    ret = mpwr_serdev_at_cmd(mpwr, "AT+QSCLK=1", 2000);
        if (ret)
        dev_err(mpwr->dev, "Modem will probably not sleep!\n");

... and this is what is done in eg25-manger during init:
Code:
append_at_command(manager, "QSCLK", NULL, "1", NULL);

So my guess is that we are already prepared for DTR then...
I don't want to confuse people here... but i just had a closer look at the EG25 AT-Manual for the sequence to enter sleep... AT+QSCLK=1 is an essential part here.

EDIT2:
In the meantime i read the discussion/reports in eg25-manager issue tracker... it seems that some very skilled persons are diggin' deep.
If modem issue is not caused by a hardware flaw, i'm sure they will solve it.

Regards,
scholbert
  Reply


Messages In This Thread
RE: Howto - automatically recover your modem and mobile data after deep sleep - by scholbert - 01-05-2021, 08:14 AM

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

Forum Jump:


Users browsing this thread: 2 Guest(s)