<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hey,<br></div></div><div><br></div><div><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><div>My team and I tried multiples Huawei MS2372h variants and two of them (the 158 and 518) show similar initialisation errors.</div>
<div><br>
</div>
<div>Jul 28 15:04:44 raspberrypi ModemManager[416]: <info>  [1595945084.395531] [device /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3] creating modem with plugin 'huawei' and '3' ports</div>
<div>Jul 28 15:04:44 raspberrypi ModemManager[416]: <warn>  [1595945084.411342] [plugin/huawei] could not grab port ttyUSB1: Cannot add port 'tty/ttyUSB1', unhandled serial type</div>
<div>Jul 28 15:04:44 raspberrypi ModemManager[416]: <info>  [1595945084.416027] [base-manager] modem for device '/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3' successfully created</div>
<div>Jul 28 15:04:44 raspberrypi ModemManager[416]: <warn>  [1595945084.971664] [modem0] modem couldn't be initialized: couldn't load current capabilities: Failed to determine modem capabilities.</div>
<div><br>
</div>
<div>After init, the modems are in an unavailable state from Network Manager point of view and of course they cannot establish a connection.</div>
<div><span>No info (model, firmware...) is present in mmcli output:</span><br>
</div>
<div>  -------------------------</div>
<div>  General |      dbus path: /org/freedesktop/ModemManager1/Modem/1</div>
<div>  -------------------------</div>
<div>  System  |         device: /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2</div>
<div>          |        drivers: option1</div>
<div>          |         plugin: huawei</div>
<div>          |   primary port: ttyUSB2</div>
<div>          |          ports: ttyUSB0 (at), ttyUSB2 (at)</div>
<div>  -------------------------</div>
<div>  Status  | signal quality: 0% (cached)</div>
<div>  -------------------------</div>
<div>  Modes   |      supported: allowed: any; preferred: none</div>
<div>          |        current: allowed: any; preferred: none</div>
<div><br>
</div>
<div>In ModemManager debug logs, there are many AT command errors like this one:</div>
<div>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.962262] [modem0/ttyUSB2/at] --> 'AT+CGMM<CR>'</div>
<div>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.970688] [modem0/ttyUSB2/at] <-- '<CR><LF>ERROR<CR><LF>'</div>
<div>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.971016] [modem0/ttyUSB2/at] operation failure: 100 (Unknown error)</div>
<div><br>
</div>
<div>The attached debugs logs and lsusb output for the MS2372h-158 are from a test done on a RPI3 with a ModemManager build from git on master branch (reproduced with 1.10, 1.12 and 1.14 too).</div>
<div><br>
</div>
<div>Have you an idea where the issue could come from?</div>
<div><br></div></div></div></div></blockquote><div><br></div><div><div style="font-family:monospace,monospace" class="gmail_default">The modem is really reporting a ton of ERRORs on most AT commands we try to use:</div><div style="font-family:monospace,monospace" class="gmail_default"><br></div><div style="font-family:monospace,monospace" class="gmail_default">Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.421452] [modem0/ttyUSB2/at] --> 'ATE0<CR>'<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.908627] [modem0/ttyUSB2/at] <-- '<CR><LF>OK<CR><LF>'<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.909130] [modem0/ttyUSB2/at] --> 'ATV1<CR>'<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.914240] [modem0/ttyUSB2/at] <-- '<CR><LF>ERROR<CR><LF>'<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.914580] [modem0/ttyUSB2/at] operation failure: 100 (Unknown error)<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.914776] [modem0/ttyUSB2/at] --> 'AT+CMEE=1<CR>'<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.925467] [modem0/ttyUSB2/at] <-- '<CR><LF>ERROR<CR><LF>'<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.925801] [modem0/ttyUSB2/at] operation failure: 100 (Unknown error)<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.925989] [modem0/ttyUSB2/at] --> 'ATX4<CR>'<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.931025] [modem0/ttyUSB2/at] <-- '<CR><LF>ERROR<CR><LF>'<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.931517] [modem0/ttyUSB2/at] operation failure: 100 (Unknown error)<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.931730] [modem0/ttyUSB2/at] --> 'AT&C1<CR>'<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.937987] [modem0/ttyUSB2/at] <-- '<CR><LF>ERROR<CR><LF>'<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.938329] [modem0/ttyUSB2/at] operation failure: 100 (Unknown error)<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.938526] [modem0/ttyUSB2/at] --> 'AT+GCAP<CR>'<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.946952] [modem0/ttyUSB2/at] <-- '<CR><LF>ERROR<CR><LF>'<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.947296] [modem0/ttyUSB2/at] operation failure: 100 (Unknown error)<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.947536] [modem0/ttyUSB2/at] --> 'ATI<CR>'<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.951462] [modem0/ttyUSB2/at] <-- '<CR><LF>ERROR<CR><LF>'<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.951803] [modem0/ttyUSB2/at] operation failure: 100 (Unknown error)<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.952049] [modem0/ttyUSB2/at] --> 'AT+CPIN?<CR>'<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.961680] [modem0/ttyUSB2/at] <-- '<CR><LF>ERROR<CR><LF>'<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.962019] [modem0/ttyUSB2/at] operation failure: 100 (Unknown error)<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.962262] [modem0/ttyUSB2/at] --> 'AT+CGMM<CR>'<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.970688] [modem0/ttyUSB2/at] <-- '<CR><LF>ERROR<CR><LF>'<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <debug> [1595945084.971016] [modem0/ttyUSB2/at] operation failure: 100 (Unknown error)<br>Jul 28 15:04:44 raspberrypi ModemManager[416]: <warn>  [1595945084.971664] [modem0] modem couldn't be initialized: couldn't load current capabilities: Failed to determine modem capabilities.</div><div style="font-family:monospace,monospace" class="gmail_default"><br></div><div style="font-family:monospace,monospace" class="gmail_default"><br></div><div style="font-family:monospace,monospace" class="gmail_default">Would you be able to run these commands manually without MM using minicom, and see if the commands keep on failing constantly? Also, do these commands fail if they're run in ttyUSB0 instead of ttyUSB2?</div><br></div><br></div>-- <br><div dir="ltr" class="gmail_signature">Aleksander<br><a href="https://aleksander.es" target="_blank">https://aleksander.es</a></div></div>