Hi Aleksander, I tested your branch with my various modems. They were working properly with and without the ID_MM_HUAWEI_DISABLE_GETPORTMODE udev option. I did not see the serial timeout errors anymore.
the only issue I had with your branch was build failure when cross compiling it. I'll put the details in your merge request about that. Louis-Alexis ________________________________ From: ModemManager-devel <modemmanager-devel-boun...@lists.freedesktop.org> on behalf of Louis-Alexis Eyraud <louis-alexis.eyr...@sigfox.com> Sent: 12 August 2020 14:10 To: Aleksander Morgado <aleksan...@aleksander.es> Cc: ModemManager (development) <modemmanager-devel@lists.freedesktop.org> Subject: Re: Help on an invalid modem case Hi Aleksander, cool that the setup has been useful for your debugging 🙂 I have 4 other Huawei models (3 of them are E352 variants) and an Alcatel. I will test your branch this afternoon with these modems and give you some feedback. Louis-Alexis ________________________________ From: Aleksander Morgado <aleksan...@aleksander.es> Sent: 12 August 2020 13:33 To: Louis-Alexis Eyraud <louis-alexis.eyr...@sigfox.com> Cc: ModemManager (development) <modemmanager-devel@lists.freedesktop.org> Subject: Re: Help on an invalid modem case Hey Louis-Alexis, > sorry for the delay, I was on holiday the past weeks. > 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). > > 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. > The setup also allowed me to verify that in CDC mode, it does not appear. > > 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. > Thanks for the access to your remote setup, that was very helpful. I've prepared a branch with several changes, including a big GETPORTMODE logic upgrade: 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<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> This branch should solve the issues you had in the E352, please confirm. Also, if you can test the branch yourself with additional Huawei devices, it would be nice (please grab debug logs while doing so just in case). -- Aleksander 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<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>
_______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel