<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div id="appendonsend" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Aleksander Morgado <aleksander@aleksander.es><br>
<b>Gesendet:</b> Montag, 16. Dezember 2019 09:59<br>
<b>An:</b> Bruno Vetter <bruno.vetter@outlook.com><br>
<b>Cc:</b> modemmanager-devel@lists.freedesktop.org <modemmanager-devel@lists.freedesktop.org><br>
<b>Betreff:</b> Re: Huawei ME909s-120 modem goes offline and disappears</font>
<div> </div>
<div><span style="background: var(--white);">> No idea what else to do to solve this I'm afraid... :/ Maybe we could</span><br>
</div>
</div>
<div class="BodyFragment">
<div class="PlainText" style="font-size: 11pt;">> extend the logic and add some automatic recovery mechanism to reset<br>
> the modem using the secondary port if we end up seeing that the<br>
> primary port is stuck like that? That wouldn't be ideal, but I assume<br>
> it's better to have one modem reset than having MM flag the modem as<br>
> failed.<br>
<br>
I am afraid I cannot give a suggestion here. I am just an MM user. Could you offer some advice for me how to work around the issue?</div>
<div class="PlainText" style="font-size: 11pt;">We are dealing with a fleet of edge devices with a GSM only connection. So it is crucial for them to recover after such an issue.</div>
<div class="PlainText" style="font-size: 11pt;">I could implement a watchdog service that detects the issue and resolves it. The question is how to detect and how to resolve.</div>
<div class="PlainText" style="font-size: 11pt;">Without any further knowledge I could:</div>
<div class="PlainText" style="font-size: 11pt;"><br>
</div>
<div class="PlainText">
<ol>
<li><span style="font-size: 14.666666984558105px;">Detect the issue by frequently executing mmcli -L to see if the modem has disappeared</span></li><li><span style="font-size: 14.666666984558105px;">Resolve it by restarting the ModemManager service.</span></li></ol>
<div><span style="font-size: 14.666666984558105px;">Does that sound reasonable? If there is a more elegant way to do it please let me know.</span></div>
<div><span style="font-size: 14.666666984558105px;"><br>
</span></div>
<div><span style="font-size: 14.666666984558105px;">Thanks</span></div>
<div><span style="font-size: 14.666666984558105px;">Bruno</span></div>
</div>
</div>
</body>
</html>