<div dir="ltr"><div dir="ltr">As a follow up to the query below, there seems to be something missing about QMI DMS service. In simple words, if I set operating mode to factory-test or setFWpref+offline+reset, it seems not possible to get back to 'online' mode? The modem seems to be stuck in some state? A FW update (with the same firmware which is already in the modem), seems to be one way out though.<br></div><div><br></div>So basically, cannot come back to normal mode and 'online', when I use this:<br><br><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><font color="#0000ff">qmicli -d /dev/cdc-wdm0 --dms-set-firmware-preference=......<br>qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=offline<br>qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=reset</font><br><br></blockquote>or <div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font color="#0000ff">qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=factory-test</font><br></div><div><br></div></blockquote>After a power-cycle also, I cannot bring it back online. It stays in 'low-power'<br><br><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><b># qmicli -d /dev/cdc-wdm0 --dms-get-operating-mode</b></div><div>[/dev/cdc-wdm0] Operating mode retrieved:</div><div><font color="#ff0000">Mode: 'low-power'</font></div><div>Reason: 'unknown'</div><div>HW restricted: 'no'</div><div><b># qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=online</b></div><div>error: couldn't set operating mode: QMI protocol error (60)<font color="#ff0000">: 'InvalidTransition'</font></div></div><div><font color="#ff0000"><br></font></div></blockquote>Is there a way out other than FW reflash? If the modem is kept in boot&hold with at!boothold, I don't have this issue. I can come back to normal mode and online after an extra power cycle. But it seems not the case if I bring the modem to boot&hold with QMICLI:DMS commands.</div><div><br></div><div>Kindly advise what I am missing.</div><div>Regards,</div><div>Sai.<br><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 31, 2021 at 10:18 AM Sai Chaitanya <<a href="mailto:msaichaitanya@gmail.com">msaichaitanya@gmail.com</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>Hi all,<br></div><div><br></div>After putting the modem to factory-test mode, what is the way out to get back to online mode? It only allows, <br><br clear="all"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div># qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=factory-test</div><div>[/dev/cdc-wdm0] Operating mode set successfully</div><div># qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=online</div><div>error: couldn't set operating mode: QMI protocol error (60): 'InvalidTransition'</div><div># qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=offline</div><div>[/dev/cdc-wdm0] Operating mode set successfully</div><div># qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=reset</div><div>[/dev/cdc-wdm0] Operating mode set successfully</div><div># qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=offline</div><div>[/dev/cdc-wdm0] Operating mode set successfully</div><div># qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=reset</div><div>[/dev/cdc-wdm0] Operating mode set successfully</div><div># qmicli -d /dev/cdc-wdm0 --dms-get-operating-mode</div><div>[/dev/cdc-wdm0] Operating mode retrieved:</div><div> Mode: 'low-power'</div><div> Reason: 'unknown'</div><div> HW restricted: 'no'</div><div># qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=online</div><div>error: couldn't set operating mode: QMI protocol error (60): 'InvalidTransition'</div></blockquote><div><br></div>The next state allowed seems to be only offline or reset, but power cycling the modem is not bringing it back to 'online'. Now I am not sure how to bring it back to online mode without having to reflash the FW.<div><div dir="ltr"> </div></div><div>Regards,</div><div>Sai.</div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"> </div></div></div></div>