<div dir="ltr">Hi,<div><br></div><div><font face="arial, sans-serif">I am trying to use <span style="color:rgb(0,0,0)"><i>--gas-dms-set-active-firmware</i> to set a carrier firmware on Telit LM960A18 modems using Libqmi 1.28.4. </span></font><span style="color:rgb(0,0,0);font-family:arial,sans-serif">Libqmi is reporting that the preference has successfully changed, however it has not - nothing changes.</span></div><div><font color="#000000" face="arial, sans-serif"><br></font></div><div><font color="#000000" face="arial, sans-serif">This happened on three modems and worked on my others, same firmware - the xx6 latest firmware. </font><span style="color:rgb(0,0,0);font-family:arial,sans-serif">The command has always worked thus far, and the only </span>difference<span style="color:rgb(0,0,0);font-family:arial,sans-serif"> is that I upgraded the firmware on all these modems, however that does not explain things as there are mixed results.</span></div><div><span style="color:rgb(0,0,0);font-family:arial,sans-serif"><br></span></div><div><span style="color:rgb(0,0,0);font-family:arial,sans-serif">I then tried with AT commands and it says "ERROR", so it is not working there either. It turns out the culprit is found in the AT doc: </span></div><div><span style="color:rgb(0,0,0);font-family:arial,sans-serif"><br></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">Note: Firmware switch <op_mode>1-3 operation should be<br></font><font face="monospace">discarded until automatic sim detection mode(#ACTIVEFW=0,2) is<br></font><font face="monospace">disabled.</font></blockquote><div><br></div><div>Basically you can not set the carrier firmware if the mode is in an auto switch mode:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace"> If <op_mode> is 0<br></font><font face="monospace"><option> is decimal number of auto firmware detection mode by SIM<br></font><font face="monospace">0: one shot: carrier firmware is loaded based on currently inserted<br></font><font face="monospace">SIM<br></font><font face="monospace">1: automatically at reboot, or in case of hot swap enabled, when<br></font><font face="monospace">new SIM is inserted – switch only occurs if SIM is not matched to<br></font><font face="monospace">the currently running firmware<br></font><font face="monospace">2: disable automatic mode</font></blockquote><div><span style="color:rgb(0,0,0);font-family:arial,sans-serif"><br></span></div><div><span style="color:rgb(0,0,0);font-family:arial,sans-serif">To get this working you have to disable automatic mode with </span><span style="font-family:monospace">AT#ACTIVEFW=0,2 </span></div><div><span style="color:rgb(0,0,0);font-family:arial,sans-serif">and subsequently the AT commands and libqmi commands work to change the carrier.</span></div><div><font color="#000000" face="arial, sans-serif">I have no view over how or why this setting was suddenly enabled, and there does not seem to be a way with AT commands to read that it is enabled from a quick look, so I have to set it to be sure before switching firmware. At present Libqmi is saying that everything is working fine when this automatic setting is enabled, so you don't have a view that it actually didn't work until you query the firmware after.</font></div><div><font color="#000000" face="arial, sans-serif"><br></font></div><div><font color="#000000" face="arial, sans-serif">Regards,</font></div><div><font color="#000000" face="arial, sans-serif"><br></font></div><div><font color="#000000" face="arial, sans-serif">--</font></div><div><font color="#000000" face="arial, sans-serif">Paul</font></div><div><font color="#000000" face="arial, sans-serif"><br></font></div><div><font color="#000000" face="arial, sans-serif"><br></font></div><div><span style="color:rgb(0,0,0);font-family:arial,sans-serif"><br></span></div></div>