quectel-CM for RM520NGLAP-M20

Hi,

I’m trying to use RM520N-GL from PCIe with pcie_mhi.
(Revision:
SW:|RM520NGLAAR01A07M4G
|OC:|RM520NGLAP-M20-SS|
PCI\VEN_1EAC&DEV_1005&SUBSYS_30041EAC&REV_00)

Currently im getting stuck receiving:
[12-17_23:31:09:501] QConnectManager_Linux_V1.6.4

[12-17_23:31:09:501] network interface ‘’ or qmidev ‘’ is not exist

[12-17_23:31:09:502] netcard driver = pcie_mhi, driver version = V1.3.4

[12-17_23:31:09:502] qmap_mode = 1, qmap_version = 9, qmap_size = 15360, muxid = 0x81, qmap_netcard = rmnet_mhi0.1

[12-17_23:31:09:502] Modem works in QMI mode

[12-17_23:31:09:505] /proc/5149/fd/7 → /dev/mhi_QMI0

[12-17_23:31:09:506] /proc/5149/exe → /usr/bin/quectel-CM

[12-17_23:31:24:510] force kill /proc/5149/exe → /usr/bin/quectel-CM

[12-17_23:31:26:511] cdc_wdm_fd = 7

[12-17_23:31:26:520] Get clientWDS = 18

[12-17_23:31:26:523] Get clientDMS = 1

[12-17_23:31:26:526] Get clientNAS = 3

[12-17_23:31:26:529] Get clientUIM = 2

[12-17_23:31:26:533] Get clientWDA = 1

[12-17_23:31:26:539] requestBaseBandVersion RM520NGLAAR01A07M4G

[12-17_23:31:26:544] requestSetEthMode QMUXResult = 0x1, QMUXError = 0x46

[12-17_23:31:26:549] requestGetSIMStatus SIMStatus: SIM_READY

[12-17_23:31:26:553] requestGetProfile[1] cmnet///0/IPV4

[12-17_23:31:26:557] requestRegistrationState2 MCC: 460, MNC: 0, PS: Attached, DataCap: 5G_NSA

[12-17_23:31:26:562] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED

[12-17_23:31:26:562] ifconfig rmnet_mhi0 down

[12-17_23:31:26:563] ifconfig rmnet_mhi0.1 0.0.0.0

ifconfig: SIOCSIFFLAGS: Network is down

[12-17_23:31:26:565] ifconfig rmnet_mhi0.1 down

[12-17_23:31:26:569] requestSetupDataCall QMUXResult = 0x1, QMUXError = 0x46

[12-17_23:31:26:569] try to requestSetupDataCall 5 second later

[12-17_23:31:31:574] requestSetupDataCall QMUXResult = 0x1, QMUXError = 0x46

[12-17_23:31:31:574] try to requestSetupDataCall 10 second later

Dear @eckholm
Please execute the AT commands below and share the responses with us:
AT+QCFG=“pdp/duplicatechk”,1
AT+CGDCONT?
AT+QIACT=1
AT+QIACT?
AT+CGACT=1
AT+CGACT?

Facing a similar issue - EM120R-GL

[07-04_06:22:58:199] requestSetupDataCall QMUXResult = 0x1, QMUXError = 0x46
[07-04_06:22:58:199] try to requestSetupDataCall 5 second later
[07-04_06:23:03:203] requestSetupDataCall QMUXResult = 0x1, QMUXError = 0x46
[07-04_06:23:03:203] try to requestSetupDataCall 10 second later
[07-04_06:23:13:208] requestSetupDataCall QMUXResult = 0x1, QMUXError = 0x46
[07-04_06:23:13:208] try to requestSetupDataCall 20 second later
AT+QCFG=“pdp/duplicatechk”,1
ERROR

AT+CGDCONT?
+CGDCONT: 1,"IP","internet","0.0.0.0",0,0,0,0

OK

AT+QIACT=1
AT+QIACT?
+QIACT: 1,1,1,"<IPV4 Address>"

OK

Dear @baadaye
It is better to share the whole print log of Quectel-CM.

Please try the modem in MBIM mode.
insmod pcie_mhi.ko mhi_mbim_enabled=1

I already tested this. Connection setup was fine.

mhi-pci-generic is stable so far with this fimware

EM120RGLAPR02A09M4G_07.007.07.007