<div dir="ltr"><div dir="ltr">Bjørn,<div></div></div><br><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">
But what can be done about that?  From my point of view, fixing the<br>
issue in the modem firmware is out of the question. The modem is running<br>
SWI9X50C_01.14.13.00, which the latest available.<br></blockquote><div><br></div><div>You should either open a case with the modem manufacturer if you have some kind of support agreement. If you don't then you could ask about it on the sierra wireless forums ( <a href="https://forum.sierrawireless.com/">https://forum.sierrawireless.com/</a> ). This problem is likely to affect other people and you have very detailed and clean information about the problem. Sierra can raise it to the modem manufacturer.</div><div><br></div><div>Have you tried unloading 
xhci_pci before rebooting the system? This might help?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
We need a woraround for the host system.  But what?  Since I have adb<br>
access, I can obviously just reboot the modem.  Which works.  But what<br>
about the "normal" modem configuration?  Figure out a way to cut USB<br>
port power?  I guess this is possible on that platform, although I don't<br>
think it's implemented.  It's not a very generic solution, though.  But<br>
maybe this isn't a very generic problem? </blockquote><div><br></div><div>Unfortunately this is a very normal problem :) I manage a lot of modems of different types and models and also do some consulting in this space. On every platform and with a variety of modems it's always been necessary to implement watchdog scripts that reboot the modem when it fails to stop responsing. I've always found a GPIO to cut power to the modem in a worst case. I don't see a named usb gpio in your router's OpenWrt configuration but I expect that there must be something, even if it isn't named. I'm happy to help you explore 
/sys/class/gpio if you need a hand.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> Maybe it's just this exact<br>
combo of host controller, device and continous power to the port during<br>
reboot (which I'm very much in favour of in general)?<br>
<br>
Have anyone else noticed similar problems with the EM7565?  Or any other<br>
Qualcomm MDM9x50 device?  I assume this bug isn't really Sierra Wireless<br>
specific, but rather something they got from Qualcomm.<br></blockquote><div><br></div><div>Yes, but Sierra will raise it to Qualcomm.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
You'll obviously not see this problem if your host system cuts power to<br>
the USB port on reboots.  Which unfortunately often is the case.<br></blockquote><div><br></div><div>I haven't seen this kind of behaviour before. USB devices have always been rebooted with the host on other embedded routers.</div><div><br></div><div>-JohnF</div></div></div>