Hi
We are using RM520N-GL 5G module in USB interface in kernel 4.14.206. We have added the VID and PID of the module in the qmi_wwan_q.c driver referring the “LTE&5G_Linux_USB_Driver_User_Guide_V2.0” document.
We can get the cdc-wdm0 device node and wwan0 network adapter.
[ 56.590236] usb 2-1.1: new SuperSpeed USB device number 3 using xhci-hcd
[ 56.612037] usb 2-1.1: LPM exit latency is zeroed, disabling LPM.
[ 56.612810] usb 2-1.1: New USB device found, idVendor=2c7c, idProduct=0801
[ 56.612817] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 56.612822] usb 2-1.1: Product: RM520N-GL
[ 56.612827] usb 2-1.1: Manufacturer: Quectel
[ 56.612831] usb 2-1.1: SerialNumber: d3896b12
[ 56.662436] qmi_wwan_q 2-1.1:1.4: cdc-wdm0: USB WDM device
[ 56.662452] qmi_wwan_q 2-1.1:1.4: Quectel EC25&EC21&EG91&EG95&EG06&EP06&EM06&EG12&EP12&EM12&EG16&EG18&BG96&AG35 work on RawIP mode
[ 56.662587] qmi_wwan_q 2-1.1:1.4: rx_urb_size = 32768
[ 56.663951] qmi_wwan_q 2-1.1:1.4 wwan0: register 'qmi_wwan_q' at usb-xhci-hcd.0.auto-1.1, WWAN/QMI device, 1a:1d:63:83:96:30
But, We are unable to connect to the internet using quectel-cm application and get the below error message
[01-01_00:01:43:714] Quectel_QConnectManager_Linux_V1.5
[01-01_00:01:43:719] Find /sys/bus/usb/devices/2-1.1 idVendor=0x2c7c idProduct=0x801
[01-01_00:01:43:720] Auto find qmichannel = /dev/cdc-wdm0
[01-01_00:01:43:720] Auto find usbnet_adapter = wwan0
[01-01_00:01:43:721] qmap_mode = 1, muxid = 0x81, qmap_netcard = wwan0
[01-01_00:01:43:721] Modem works in QMI mode
[01-01_00:01:43:725] qmap_mode = 1, muxid = 0x81, qmap_netcard = wwan0
[01-01_00:01:43:770] cdc_wdm_fd = 7
[01-01_00:01:44:773] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout
[01-01_00:01:46:060] Get clientWDS = 14
[01-01_00:01:46:093] Get clientDMS = 1
[01-01_00:01:46:126] Get clientNAS = 3
[01-01_00:01:46:157] Get clientUIM = 2
[01-01_00:01:46:189] Get clientWDA = 1
[01-01_00:01:46:222] requestBaseBandVersion RM520NGLAAR01A08M4G
[01-01_00:01:46:253] qmap_settings.rx_urb_size = 31744
[01-01_00:01:46:382] requestGetSIMStatus SIMStatus: SIM_READY
[01-01_00:01:46:382] requestSetProfile[1] jionet///0
[01-01_00:01:46:446] requestGetProfile[1] jionet///0
[01-01_00:01:46:477] requestRegistrationState2 MCC: 405, MNC: 869, PS: Detached, DataCap: UNKNOW
[01-01_00:01:46:510] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[01-01_00:01:46:511] ifconfig wwan0 down
[01-01_00:01:46:531] ifconfig wwan0 0.0.0.0
^C[01-01_00:02:04:528] QmiWwanThread exit
[01-01_00:02:04:529] qmi_main exit
Some forum threads tell us the latest quectel-cm application.
Can you please confirm whether adding the VID,PID of the module in qmi_wwan_q.c driver is enough and also share us the latest driver and quectel-cm application source.
FYR:
quectel-cm version : WCDMA<E_QConnectManager_Linux&Android_V1.2.1
qmi_wwan_q.c version: Quectel_Linux&Android_QMI_WWAN_Driver_V1.1
Thanks.