PDU session not establishing in Quectel RG255C-GL

,

Hello all,

I am using Quectel RG255C-GL with version RG255CGLABR01A08M4G_A0.001.A0.001. I am facing issues with connectivity as the module is not establishing a PDU session or obtaining an IP address.

Below are the logs:

When I start the UE, the following logs appear, but there is no wwan interface:

[  671.464682] usb 1-1.1: new high-speed USB device number 5 using xhci_hcd
[  671.566501] usb 1-1.1: New USB device found, idVendor=2c7c, idProduct=0316, bcdDevice= 5.15
[  671.566534] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  671.566550] usb 1-1.1: Product: RG255C-GL
[  671.566564] usb 1-1.1: Manufacturer: Quectel
[  671.566577] usb 1-1.1: SerialNumber: 4b9b150c

When using the command lsusb -t, the output is:

/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 5, If 0, Class=Vendor Specific Class, Driver=, 480M
        |__ Port 1: Dev 5, If 1, Class=Vendor Specific Class, Driver=, 480M
        |__ Port 1: Dev 5, If 2, Class=Vendor Specific Class, Driver=qmi_wwan, 480M
        |__ Port 1: Dev 5, If 3, Class=Vendor Specific Class, Driver=qmi_wwan, 480M

After manually forcing /dev/cdc-wdm, two interfaces appear:

wwan0, wwan1

However, the module is still not establishing a PDU session.

Some extra information from the UE side after running start script:

./start.sh 
error: couldn't open the QmiDevice: Couldn't spawn the qmi-proxy
error: couldn't open the QmiDevice: Couldn't spawn the qmi-proxy
error: couldn't open the QmiDevice: Couldn't spawn the qmi-proxy
error: couldn't open the QmiDevice: Couldn't spawn the qmi-proxy
Error: argument "" is wrong: "dev" not a valid ifname
tee: /sys/class/net//qmi/raw_ip: No such file or directory
Y
Error: argument "" is wrong: "dev" not a valid ifname
udhcpc: SIOCGIFINDEX: No such device

Hi @khan,

the qmi_wwan driver should not bind to USB interface 2 as it is the AT port.
Please see [PATCH] net: usb: qmi_wwan: add Quectel RG255C - Martin Hou for comparison.

Regards,
Reinhard