ModemManager and modem low power with USB/QMI

Filip Kubicz filip.kubicz at tier.app
Thu Feb 23 22:28:36 UTC 2023


Hi!
I'm using Quectel EC21EUX modem, connected with USB, and QMI to control it
via ModemManager.

I have a question about going to sleep with a TCP connection kept so the
device can wake up.

I have configured the modem to go to low power mode whenever there is no
traffic (AT+QSCLK=1, AT+QURCCFG="urcport","usbat", setting DTR and AP_READY
pins).

With this configuration, LTE modem should wake up when there is an incoming
data packet.
The easiest way for me put modem to sleep was to stop ModemManager. Now, if
I disable ModemManager, and then try to send a network packet from backend
to the device, the modem never wakes up. My guess is that when I stop
ModemManager, the TCP connection is lost, and this is why modem cannot wake
up as it doesn't get the message from backend.
My preferred way to sleep modem is to disable USB_VBUS.

On the ModemManager side, what should I do to maintain the TCP connection
when putting the modem to sleep, so it can wake up when getting a message
over network?

Kind regards,
Filip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20230223/9d6a59e2/attachment.htm>


More information about the ModemManager-devel mailing list