<div dir="ltr">Hi all,<br><br>I'm trying to use ModemManager (in conjunction with NetworkManager) to manage a Quectel EC25 mini-pcie module (which is actually USB) using QMI. More specifically, I need it to play-nice with suspend-to-ram, and minimise the frequency at which it wakes up the host.<br>I've managed to get the modem persisting across a suspend/resume, and is able to keep a TCP connection open during suspend and wakeup the host when the TCP connection receives data (ala smartphone push-notifications). MM supported this without any special configuration or patches - very nice :)<br><br>However one issue I'm running into is premature wakeups due to unsolicited messages (as these cause activity on the USB interface, causing a USB wakeup and thus a host wakeup).<br>Inspecting the MM debug logs, I noticed there were 3 main culprits:<br> - Packet statistics<br> - Signal strength indications<br> - Dormancy status indications<br><br>I've done a few very nasty hacks which completely prevent these indications from being enabled, and things _appear_ to be working - it's happily sleeping for 30+ mins.<br>So my questions:<br> - Are the aforementioned indications critical to the functioning of MM? <br> - Does MM have a mode where most unsolicited messages are turned off (e.g. utilising polling instead)? <br> - Am I going about things the wrong way - perhaps I'm using MM in a manner it's not intended?<br><br>Kind Regards,<br>Tom Loten</div>