factory test mode

Sai Chaitanya msaichaitanya at gmail.com
Tue Aug 31 08:18:21 UTC 2021


Hi all,

After putting the modem to factory-test mode, what is the way out to get
back to online mode? It only allows,

# qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=factory-test
[/dev/cdc-wdm0] Operating mode set successfully
# qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=online
error: couldn't set operating mode: QMI protocol error (60):
'InvalidTransition'
# qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=offline
[/dev/cdc-wdm0] Operating mode set successfully
# qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=reset
[/dev/cdc-wdm0] Operating mode set successfully
# qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=offline
[/dev/cdc-wdm0] Operating mode set successfully
# qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=reset
[/dev/cdc-wdm0] Operating mode set successfully
# qmicli -d /dev/cdc-wdm0 --dms-get-operating-mode
[/dev/cdc-wdm0] Operating mode retrieved:
Mode: 'low-power'
Reason: 'unknown'
HW restricted: 'no'
# qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=online
error: couldn't set operating mode: QMI protocol error (60):
'InvalidTransition'


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.

Regards,
Sai.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20210831/ab81384d/attachment.htm>


More information about the libqmi-devel mailing list