This is my device:
Bus 001 Device 003: ID 2c7c:0125 Quectel Wireless Solutions Co., Ltd. EC25 LTE modem
I have a working cell connection in cdc_ether mode (from dmesg):
[ 18.312512] cdc_ether 1-1.3:1.4 usb0: register 'cdc_ether' at usb-101c0000.ehci-1.3, CDC Ethernet Device, 3a:d8:e2:f5:5b:66
And I also have a working usb serial connection with the modem. So I can do AT commands. Here's the software version:
root@OpenWrt:~# socat - /dev/ttyUSB2,crnl
ATI
Quectel
EC25
Revision: EC25EFAR06A06M4G
OK
I've installed the qmi driver, and it's being loaded at boot:
[ 18.929226] usbcore: registered new interface driver qmi_wwan
But when I check for /dev/cdc-wdm0
device, there's no such device. I belive this is because my modem is not in "qmi mode".
How can I set this modem in qmi mode?
For the reference, here's a documentation for AT commands for this modem: https://itbrainpower.net/downloadables/Quectel_EC25_EC21_AT_Commands_Manual_V1.0.pdf - but unfortunately I don't understand AT commands.