Quectel em12-g minimal kernel version

Aleksander Morgado aleksander at aleksander.es
Tue Jun 29 07:57:54 UTC 2021


Hey,

> Nicholas Smith, how do you change the mode manually?
> I try to:
> sudo flock -x /dev/ttyUSB2 minicom -D /dev/ttyUSB2
>
> AT!ENTERCND="A710"
> AT!USBCOMP="1,3,10D"
> AT!RESET
>
> But it does not help.

Those previous commands are for Sierra modules, not Quectel modules.

> In addition am I correct that I can re-flash the Quectel only by using qmu-firmware-update?
>

qmi-firmware-update can only work with Sierra modules for now. For
Quectel modules like the EM12 the procedure is slightly different, and
they're not yet integrated there. If someone is interested in having
that added, let me know.

>
> Bjørn Mork considering the qmicli:
>
> sudo mbimcli -d /dev/cdc-wdm2  --query-device-services
> Service: 'qmi'
> UUID: [d1a30bc2-f97a-6e43-bf65-c7e24fb0f0d3]:
> DSS payload: 0
> Max DSS instances: 0
> CIDs: msg (1)
>

Yes.

> So it seems that it should work but:
> sudo qmicli -p -d /dev/cdc-wdm2 --device-open-mbim --nas-get-signal-strength
> [/dev/cdc-wdm2] Successfully got signal strength
> Current:
>         Network 'umts': '-110 dBm'
> RSSI:
>         Network 'umts': '-110 dBm'
> ECIO:
>         Network 'umts': '-15.0 dBm'
> IO: '-106 dBm'
> SINR (8): '9.0 dB'
>

That means QMI over MBIM actually works.

> Yes, it is ok but the commands like:
> sudo qmicli -p -d /dev/cdc-wdm2 --device-open-mbim --dms-list-stored-images
> error: couldn't list stored images: QMI protocol error (57): 'Wms.InvalidMessageId'
> They do not work. Is it a bug or am I doing something not correctly?

That just means the module you're playing with doesn't support that
specific DMS List Stored Images command. If it's a Quectel module, I
would say it's common, I don't think I've seen any Quectel module
supporting that command.

-- 
Aleksander
https://aleksander.es


More information about the libqmi-devel mailing list