<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hi Aleksander,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I tested your branch with my various modems. T<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">hey were working properly with and without the ID_MM_HUAWEI_DISABLE_GETPORTMODE udev option.</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I did not see the serial timeout errors anymore.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
the only issue I had with your branch was build failure when cross compiling it. <span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">I'll put the details in your merge request about that.</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Louis-Alexis</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> ModemManager-devel <modemmanager-devel-bounces@lists.freedesktop.org> on behalf of Louis-Alexis Eyraud <louis-alexis.eyraud@sigfox.com><br>
<b>Sent:</b> 12 August 2020 14:10<br>
<b>To:</b> Aleksander Morgado <aleksander@aleksander.es><br>
<b>Cc:</b> ModemManager (development) <modemmanager-devel@lists.freedesktop.org><br>
<b>Subject:</b> Re: Help on an invalid modem case</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Hi Aleksander,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
cool that the setup has been useful for your debugging <span id="x_🙂">🙂</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">I have 4 other Huawei models (3 of them are E352 variants) and an Alcatel. </span><span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">I will test your branch
this afternoon with these modems and give you some feedback.</span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Louis-Alexis</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
</div>
</div>
<div id="x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Aleksander Morgado <aleksander@aleksander.es><br>
<b>Sent:</b> 12 August 2020 13:33<br>
<b>To:</b> Louis-Alexis Eyraud <louis-alexis.eyraud@sigfox.com><br>
<b>Cc:</b> ModemManager (development) <modemmanager-devel@lists.freedesktop.org><br>
<b>Subject:</b> Re: Help on an invalid modem case</font>
<div> </div>
</div>
<div class="x_BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="x_PlainText">Hey Louis-Alexis,<br>
<br>
> sorry for the delay, I was on holiday the past weeks.<br>
> I've retrieved the "faulty" 3G modem device from my office. For information, the exact model is Huawei e352u-21 (other e352 variants I tested do not seem to provoke the issue).<br>
><br>
> I did a more standard setup at home to reproduce it: a RPI3 with Raspbian, ModemManager compiled from sources and various system configuration tweaks to force broadband management.<br>
> The setup also allowed me to verify that in CDC mode, it does not appear.<br>
><br>
> If you need to do some debug or test a fix for any of the two bugs you opened, feel free to contact me privately to give you access to this setup.<br>
><br>
<br>
Thanks for the access to your remote setup, that was very helpful.<br>
<br>
I've prepared a branch with several changes, including a big<br>
GETPORTMODE logic upgrade:<br>
<a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.freedesktop.org%2Fmobile-broadband%2FModemManager%2F-%2Fmerge_requests%2F335&data=02%7C01%7Clouis-alexis.eyraud%40sigfox.com%7Ceb0b0f2584bf44b5458c08d83eb8c48c%7Cfcbc8bb1061e4b949f703ad917b0c8d3%7C0%7C1%7C637328310608544242&sdata=zwvudpUwp%2BdYawupgr7xT2S1JUcT8yY1H8T8VtX0Z%2FY%3D&reserved=0" originalsrc="https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/335" shash="QlwOWMbcLWevnnnmVPw3op93eb3Og6Yf3J3GfYBBVnKH3MskYE8EqCrvi8ke6p1/72afTvFDGr//5y1255xv/G1GS7uK+c9xWZt23OcBJ6hr+8xkro69vBaMkcsSzzlXud6m6gaQ8uLCvfLVJW5M3n3+7nUxbGC2nH3t9JcOHLY=">https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.freedesktop.org%2Fmobile-broadband%2FModemManager%2F-%2Fmerge_requests%2F335&data=02%7C01%7Clouis-alexis.eyraud%40sigfox.com%7Cbacaf731dae04aa2223b08d83eb39687%7Cfcbc8bb1061e4b949f703ad917b0c8d3%7C0%7C0%7C637328288328929987&sdata=dniU3Yh%2BUKCJc6jOMC02yfRLPI50MX0uWUBpsGzEP2k%3D&reserved=0</a><br>
<br>
This branch should solve the issues you had in the E352, please<br>
confirm. Also, if you can test the branch yourself with additional<br>
Huawei devices, it would be nice (please grab debug logs while doing<br>
so just in case).<br>
<br>
-- <br>
Aleksander<br>
<a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Faleksander.es%2F&data=02%7C01%7Clouis-alexis.eyraud%40sigfox.com%7Ceb0b0f2584bf44b5458c08d83eb8c48c%7Cfcbc8bb1061e4b949f703ad917b0c8d3%7C0%7C1%7C637328310608554237&sdata=HX48%2F0wOJjTktpkvYOv06pW5UeezivlA78YmCFgPJIE%3D&reserved=0" originalsrc="https://aleksander.es/" shash="p0kXjUBkLa5NwX9gulajuxL80B9jGlLX1Mln8UJrkjxGV9Rvuf3Zvn8RmkY6Nj6SxgQWVzZYlmR8ZK7oTn6P2g70rcJaJFFpqBjoLk1y/WjNMEnaopYtb6T5G/l6YtnQmF0kcCLdCZYAobwvpyBPNlHfk1gIzVXJNa5r0vvfm2Q=">https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Faleksander.es%2F&data=02%7C01%7Clouis-alexis.eyraud%40sigfox.com%7Cbacaf731dae04aa2223b08d83eb39687%7Cfcbc8bb1061e4b949f703ad917b0c8d3%7C0%7C0%7C637328288328929987&sdata=t%2B9zWk5LtyqymKSw83hk8xEDEFcCXOqkf3sSGPDGvlQ%3D&reserved=0</a><br>
</div>
</span></font></div>
</div>
</body>
</html>