Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX6UL-L-TN-0001: Using a 4G IoT modem

380 bytes added, 09:38, 5 July 2022
no edit summary
</pre>
Obviously, the Linux kernel has to be configured adding the proper driver for the QMI WWAN interface.The following <code>CONFIG</code> should be enabled for the kernel to properly recognize the USB modem:<pre>CONFIG_USB_NET_QMI_WWAN=y CONFIG_USB_SERIAL=yCONFIG_USB_SERIAL_QCAUX=yCONFIG_USB_SERIAL_QUALCOMM=y</pre>
If the modem is connected at the boot, the kernel lists the USB peripherals connected and installs the proper drivers; this can be seen via the command:
== Useful list of ''qmi'' commands ==
* Get modem model: <code>qmicli --device=/dev/cdc-wdm0 --device-open-proxy --dms-get-model</code>* Get modem Manufacturer: <code>qmicli --device=/dev/cdc-wdm0 --device-open-proxy --dms-get-manufacturer</code>* Get firmware version: <code>qmicli --device=/dev/cdc-wdm0 --device-open-proxy --dms-get-revision</code>* Get modemd IMEI: <code>qmicli --device=/dev/cdc-wdm0 --device-open-proxy --dms-get-ids</code>* Get SIM card status: <code>qmicli --device=/dev/cdc-wdm0 --device-open-proxy --uim-get-card-status</code>* Get wwan kernel interface: <code>qmicli --device=/dev/cdc-wdm0 --device-open-proxy --get-wwan-iface</code>* Get IP mode data format (expected): <code>qmicli --device=/dev/cdc-wdm0 --get-expected-data-format</code>* Get the operator network name: <code>qmicli -d /dev/cdc-wdm0 --nas-get-home-network</code>* Scan the available network operators: <code>qmicli -d /dev/cdc-wdm0 --nas-network-scan</code>* Get the signal strenght: <code>qmicli -d /dev/cdc-wdm0 --nas-get-signal-strength</code>
8,226
edits