<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hey,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 14, 2019 at 4:03 PM Paul Gildea <<a href="mailto:gildeap@tcd.ie">gildeap@tcd.ie</a>> wrote:<br></div><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 dir="ltr"><div>This report is from quite some time ago but as I hit this issue when working with libqmi recently, maybe some of my debugging can help anybody else if they get this issue. In my case the upgrade is failing whenever I am using a slow baud rate. Each time I tried to upgrade an MC7455 with a connection using baud 9600 I would get this error. On a hunch I thought that this may be related to the issue. I redirected the upgrade output to a file and the upgrade worked fine, I sshed in and that worked fine also. </div></div></div></blockquote><div><br></div><div><div class="gmail_default" style="font-family:monospace,monospace">You mean the actual stdout of qmi-firmware-update is maybe too much if your connection is very slow? i.e. 9600bps is your remote connection to a system with the MC7455, right?</div><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"><div dir="ltr"><div dir="ltr"><div><br></div><div><br></div><div>Another issue I noticed is that when upgrading is complete and the updater is waiting on a reply using the cdc-wdm port, if the higher enumerated of the two ports is used, the transactions will time out. For instance if the modem comes back up with cdc-wdm0 and cdc-wdm1 then if cdc-wdm1 is used this will happen 12 times and then the program will print an error also (seen below):</div><div><br></div><div><div><font face="monospace, monospace">[14 Jan 2019, 14:34:43] [Debug] [/dev/cdc-wdm1] sent generic request (translated)...</font></div><div><font face="monospace, monospace"><<<<<< QMUX:</font></div><div><font face="monospace, monospace"><<<<<<   length  = 11</font></div><div><font face="monospace, monospace"><<<<<<   flags   = 0x00</font></div><div><font face="monospace, monospace"><<<<<<   service = "ctl"</font></div><div><font face="monospace, monospace"><<<<<<   client  = 0</font></div><div><font face="monospace, monospace"><<<<<< QMI:</font></div><div><font face="monospace, monospace"><<<<<<   flags       = "none"</font></div><div><font face="monospace, monospace"><<<<<<   transaction = 1</font></div><div><font face="monospace, monospace"><<<<<<   tlv_length  = 0</font></div><div><font face="monospace, monospace"><<<<<<   message     = "Sync" (0x0027)</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">[14 Jan 2019, 14:35:03] -Warning ** couldn't create DMS client after upgrade: couldn't open QMI device: Transaction timed out</font></div><div><font face="monospace, monospace">[14 Jan 2019, 14:35:03] -Error ** qmi_device_release_client: assertion `QMI_IS_DEVICE (self)' failed</font></div></div><div><br></div><div>No functional error, the modem upgrades successfully, it just errors and never returns to the linux prompt without user intervention. The lower enumerated port works fine.</div><div><br></div></div></div></blockquote><div><br></div><div><div class="gmail_default" style="font-family:monospace,monospace">Does the cdc-wdm1 work at all using QMI after the upgrade? i.e. do you get 2 working QMI ports after the upgrade or just cdc-wdm0 working?</div></div><div> </div></div>-- <br><div dir="ltr" class="gmail_signature">Aleksander<br><a href="https://aleksander.es" target="_blank">https://aleksander.es</a></div></div>