EC200T-CN not working in openwrt-21.02 with Rockchip RK3328

Hi Team,

We are using EC200T-CN mini-pcie module for cellular communication, we connect the module via mini-pcie to usb. We configuring ec200t-cn modem on openwrt with luci-proto-modemmanager.
The device detected in openwrt as below :


here the cat /sys/kernel/debug/usb/devices result :

T:  Bus=01 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#=  4 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=2c7c ProdID=6026 Rev= 3.18
S:  Manufacturer=Android
S:  Product=Android
S:  SerialNumber=0000
C:* #Ifs= 5 Cfg#= 1 Atr=e0 MxPwr=500mA
A:  FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=06 Prot=00
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=(none)
E:  Ad=85(I) Atr=03(Int.) MxPS=  64 Ivl=4096ms
I:* If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
I:  If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=8c(I) Atr=03(Int.) MxPS=  64 Ivl=4096ms
E:  Ad=8e(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=0d(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=8a(I) Atr=03(Int.) MxPS=  64 Ivl=4096ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

and here the dmesg result :

[   10.385980] usbserial: USB Serial support registered for GSM modem (1-port)
[   10.387137] option 1-1.3:1.2: GSM modem (1-port) converter detected
[   10.388251] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB0
[   10.390193] option 1-1.3:1.3: GSM modem (1-port) converter detected
[   10.391239] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB1
[   10.393007] option 1-1.3:1.4: GSM modem (1-port) converter detected
[   10.394136] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB2
[   10.400742] usbcore: registered new interface driver qcserial
[   10.401392] usbserial: USB Serial support registered for Qualcomm USB modem

We already config and Add VID and PID for EC200T-CN in kernel option.c :

#define QUECTEL_VENDOR_ID			0x2c7c
/* These Quectel products use Quectel's vendor ID */
#define QUECTEL_PRODUCT_EC200T_CN		0x6000

{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC200T_CN, 0xff, 0, 0) },

also already add Zero Packet Mechanism and Reset-resume Mechanism as well
But the modem always failed dialed up. Pls help me resolve it…Thank you !

You forgot to load the driver (cdc_ether).
I’m not sure this modem is supported by MM, but you can use other methods, see Quectel EC200T-CN LTE module not working in OpenWrt - Network and Wireless Configuration - OpenWrt Forum

I got it working in 7620a openwrt 22.03.3 uing rndis.
However some ISP do have dial failed cases. I am still looking into it.

T:  Bus=01 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#=  7 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=2c7c ProdID=6026 Rev= 3.18
S:  Manufacturer=Android
S:  Product=Android
S:  SerialNumber=0000
C:* #Ifs= 5 Cfg#= 1 Atr=e0 MxPwr=500mA
A:  FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=06 Prot=00
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether
E:  Ad=85(I) Atr=03(Int.) MxPS=  64 Ivl=4096ms
I:  If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
I:* If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=8c(I) Atr=03(Int.) MxPS=  64 Ivl=4096ms
E:  Ad=8e(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=0d(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=8a(I) Atr=03(Int.) MxPS=  64 Ivl=4096ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

I’ve added the driver and got the result as above, but I still can’t ping to internet (like google dns - 8.8.8.8)
do yo know the problem?

I check in ifconfig get like this :

usb0      Link encap:Ethernet  HWaddr 02:0C:29:A3:9B:6D
          inet addr:192.168.43.100  Bcast:192.168.43.255  Mask:255.255.255.0
          inet6 addr: fe80::c:29ff:fea3:9b6d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:948 (948.0 B)  TX bytes:11290 (11.0 KiB)

and I still cannot ping to internet

root@IoteraOPi:~# ping 8.8.8.8 -I usb0
PING 8.8.8.8 (8.8.8.8): 56 data bytes


can you tell me the settings to be able to connect to the internet using rndis?

You need to establish a connection first as shown in OpenWrt forum.
See also Port forwarding on Quectel EG912Y-EU - #6 by jfrog