Rm500q-gl not connecting

I got QUECTEL RM500Q-GL, I have mt7622 based board with m.2 slot and inserted the 5G LTE.
Applied the qmi_wwan_q.c patch on 5.10.88-BPI-R64-Kernel. But quectel-CM not able to get IP address.

bash-4.4# quectel-CM
[08-08_09:06:02:163] Quectel_QConnectManager_Linux_V1.6.0.26
[08-08_09:06:02:164] Find /sys/bus/usb/devices/2-1 idVendor=0x2c7c idProduct=0x800, bus=0x002, dev=0x002
[08-08_09:06:02:165] Auto find qmichannel = /dev/cdc-wdm0
[08-08_09:06:02:165] Auto find usbnet_adapter = wwan0
[08-08_09:06:02:165] netcard driver = qmi_wwan_q, driver version = V1.2.1
[08-08_09:06:02:165] qmap_mode = 1, qmap_version = 9, qmap_size = 31744, muxid = 0x81, qmap_netcard = wwan0_1
[08-08_09:06:02:165] Modem works in QMI mode
[08-08_09:06:02:180] cdc_wdm_fd = 7
[08-08_09:06:02:273] Get clientWDS = 15
[08-08_09:06:02:305] Get clientDMS = 1
[08-08_09:06:02:337] Get clientNAS = 4
[08-08_09:06:02:369] Get clientUIM = 1
[08-08_09:06:02:401] Get clientWDA = 1
[08-08_09:06:02:433] requestBaseBandVersion RM500QGLABR11A04M4G
[08-08_09:06:02:465] qmap_settings.rx_urb_size = 31744
[08-08_09:06:02:465] qmap_settings.ul_data_aggregation_max_datagrams = 11
[08-08_09:06:02:465] qmap_settings.ul_data_aggregation_max_size = 4096
[08-08_09:06:02:465] qmap_settings.dl_minimum_padding = 0
[08-08_09:06:02:593] requestGetSIMStatus SIMStatus: SIM_READY
[08-08_09:06:02:625] requestGetProfile[1] JIONET///0
[08-08_09:06:02:657] requestRegistrationState2 MCC: 0, MNC: 0, PS: Detached, DataCap: UNKNOW
[08-08_09:06:02:689] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[08-08_09:06:02:689] ifconfig wwan0 down
[08-08_09:06:02:696] ifconfig wwan0_1 0.0.0.0
SIOCSIFFLAGS: Network is down
[08-08_09:06:02:704] ifconfig wwan0_1 down

Am I missing anything?

Dear @vijay
I have sent the latest version of Quectel-CM via Message, please try again.

bash-4.4# ./quectel-CM
[08-09_06:51:28:438] QConnectManager_Linux_V1.6.5
[08-09_06:51:28:440] Find /sys/bus/usb/devices/4-1 idVendor=0x2c7c idProduct=0x800, bus=0x004, dev=0x002
[08-09_06:51:28:441] Auto find qmichannel = /dev/cdc-wdm0
[08-09_06:51:28:441] Auto find usbnet_adapter = wwan0
[08-09_06:51:28:441] netcard driver = qmi_wwan_q, driver version = V1.2.1
[08-09_06:51:28:441] qmap_mode = 1, qmap_version = 9, qmap_size = 31744, muxid = 0x81, qmap_netcard = wwan0_1
[08-09_06:51:28:441] Modem works in QMI mode
[08-09_06:51:28:458] cdc_wdm_fd = 7
[08-09_06:51:29:459] QmiWwanInit message timeout
[08-09_06:51:30:819] Get clientWDS = 15
[08-09_06:51:30:851] Get clientDMS = 1
[08-09_06:51:30:883] Get clientNAS = 4
[08-09_06:51:30:915] Get clientUIM = 1
[08-09_06:51:30:947] Get clientWDA = 1
[08-09_06:51:30:979] requestBaseBandVersion RM500QGLABR11A04M4G
[08-09_06:51:31:011] qmap_settings.rx_urb_size = 31744
[08-09_06:51:31:011] qmap_settings.ul_data_aggregation_max_datagrams = 11
[08-09_06:51:31:011] qmap_settings.ul_data_aggregation_max_size = 4096
[08-09_06:51:31:011] qmap_settings.dl_minimum_padding = 0
[08-09_06:51:31:139] requestGetSIMStatus SIMStatus: SIM_READY
[08-09_06:51:31:203] requestGetProfile[pdp:1 index:1] jionet///0/IPV4
[08-09_06:51:31:235] requestRegistrationState2 MCC: 0, MNC: 0, PS: Detached, DataCap: UNKNOW
[08-09_06:51:31:267] requestRegistrationState2 MCC: 0, MNC: 0, PS: Detached, DataCap: UNKNOW
[08-09_06:51:31:298] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[08-09_06:51:31:299] ip link set dev wwan0 down
[08-09_06:51:31:305] ip addr flush dev wwan0_1
[08-09_06:51:31:313] ip link set dev wwan0_1 down
[08-09_06:51:46:339] requestRegistrationState2 MCC: 0, MNC: 0, PS: Detached, DataCap: UNKNOW

Still not connecting, is there any new firmware released after RM500QGLABR11A04M4G. Is there a new version of qmi_wwan_q, driver ( i am using version = V1.2.1).

Forget about QMI and connection for a while and focus on your registration issue.

The RM500Q failed to register on the network.

  1. Is it a valid SIM card?
  2. Is the atenna connected?

Valid SIM, tested with EC25-E LTE on the same board ( in a mini PIC slot ). All 4 antennas connected.