GL-AP1300-LTE Firmware or Modem Upgrade

I have been having a time with getting a Quectel RG255C-GL to work with my router.

I have tried on both the old firmware and the latest. I have also tried to just use a custom build of OpenWrt. It seems no matter what I try, it doesn't see the new modem on the usb bus as it should, which stops me from interacting with it at all.

Has anyone that successfully changed modems on this router have advice on getting the new one to show on the usb bus?

Will the AP-1300 be moved into firmware v4.4.12 at anypoint allowing "any" modem to be dropped in easily?

My ideal solution is to have the GLiNet gui with my new modem, but am willing to go more basic if that's the only way.

Hello @Josh415

Could you log in to ssh terminal and run the following commands one by one to check whether modem is installed:

cat /sys/kernel/debug/usb/devices
dmesg | grep usb
1 Like
root@GL-AP1300:~# cat /sys/kernel/debug/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 5.04
S:  Manufacturer=Linux 5.4.179 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xhci-hcd.0.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev= 5.04
S:  Manufacturer=Linux 5.4.179 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xhci-hcd.0.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 5.04
S:  Manufacturer=Linux 5.4.179 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xhci-hcd.1.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12   MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=10c4 ProdID=ea60 Rev= 1.00
S:  Manufacturer=Silicon Labs
S:  Product=CP2104 USB to UART Bridge Controller
S:  SerialNumber=020C989F
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=cp210x
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms

T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 0
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev= 5.04
S:  Manufacturer=Linux 5.4.179 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xhci-hcd.1.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms
root@GL-AP1300:~# 
root@GL-AP1300:~# dmesg | grep usb
[    0.037886] usbcore: registered new interface driver usbfs
[    0.037951] usbcore: registered new interface driver hub
[    0.038007] usbcore: registered new device driver usb
[    0.105282] tcsr 194b000.tcsr: setting usb hs phy mode select = e700e7
[    9.487662] dwc3-qcom 8af8800.usb3: IRQ hs_phy_irq not found
[    9.491981] dwc3-qcom 8af8800.usb3: IRQ dp_hs_phy_irq not found
[    9.497528] dwc3-qcom 8af8800.usb3: IRQ dm_hs_phy_irq not found
[    9.503200] dwc3-qcom 8af8800.usb3: IRQ ss_phy_irq not found
[    9.510049] dwc3-qcom 60f8800.usb2: IRQ hs_phy_irq not found
[    9.514979] dwc3-qcom 60f8800.usb2: IRQ dp_hs_phy_irq not found
[    9.520645] dwc3-qcom 60f8800.usb2: IRQ dm_hs_phy_irq not found
[    9.526260] dwc3-qcom 60f8800.usb2: IRQ ss_phy_irq not found
[    9.815248] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    9.891040] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[   10.149826] usb 3-1: new full-speed USB device number 2 using xhci-hcd
[   21.520951] usbcore: registered new interface driver cdc_acm
[   21.529517] usbcore: registered new interface driver cdc_wdm
[   21.565839] usbcore: registered new interface driver ipheth
[   21.656503] usbcore: registered new interface driver usbserial_generic
[   21.656613] usbserial: USB Serial support registered for generic
[   21.715656] usbcore: registered new interface driver cdc_ether
[   21.719751] usbcore: registered new interface driver cdc_ncm
[   21.743365] usbcore: registered new interface driver cp210x
[   21.743477] usbserial: USB Serial support registered for cp210x
[   21.759716] usb 3-1: cp210x converter now attached to ttyUSB0
[   21.766872] usbcore: registered new interface driver huawei_cdc_ncm
[   21.812220] usbcore: registered new interface driver qmi_wwan
[   21.816467] usbcore: registered new interface driver rndis_host
[   31.220811] usbcore: registered new interface driver option
[   31.220924] usbserial: USB Serial support registered for GSM modem (1-port)

Durring my debug I would also check these places, which normally bring back returns with the factory installed modem:

root@GL-AP1300:~# ls /dev/ttyUSB*
/dev/ttyUSB0
root@GL-AP1300:~# ls /dev/cdc-wdm*
ls: /dev/cdc-wdm*: No such file or directory
root@GL-AP1300:~# 

USB0 is not the modem as far as I can tell it's another device on the router. With the factory modem installed I get usb 1-4 also.

Quick edit: I know it doesn't appear the modem is installed, but physically I replaced the factory one with the one I mentioned above. It is slotted in fully and screwed down.

Have you modified the USBNET config on modem RG255C-GL?
Could you debug this modem on your computer? If yes, please help to check the following AT commands output:

AT+QCFG="USBNET"
AT+QCFG="data_interface"
AT+QCFG="pcie/mode"
AT+QCFG="usbcfg"
1 Like

I have not modified the modem at all. Can I use just a m.2 to mpci adapter or will I need a special carrier board?

Hi, is module RG255C-GL connected to the router via the GL.M2 adapter? Pls connect the M2 adapter to an independent power source to prevent insufficient power to the module.

Since you haven't modified the modem, you can bind your AP1300 to the Goodcloud platform and share it with us via Goodcloud for us to check the issue.

Pls send me your router's MAC address and the admin password via private message after completing the Goodcloud sharing. Thanks

Sorry if I confused the conversation. I was asking if there was a special type of adapter to test the modem on my PC if we need to take those as steps.

My Modem is currently in the mpcie slot on the router (modem and router doesn't have m.2 or usb port).

I am sending you over the credentials now.

Since your modem RG255C-GL is an mPCIe form factor, debugging it on your PC requires connecting it via an mPCIe to USB adapter and installing the relevant USB driver on your PC.

We can see your device from Goodcloud, will have a check later

Hello @Josh415

The modem RG255C-GL is not detected by the router. It might be that modem is not compatible or due to the hardware connection. It‘s advised to contact the modem supplier for an inspection.

BTW, the GL firmware is not compatible with this module. Even if the USB interface can detect the insertion of the module, it might not work in GL web GUI. Settings can only be made through Luci.

Are there plans for the AP1300 to receive more updates? The v4.4.12 could possibly allow this pairing.

AP1300 is EOL.There is no version update plan in the near future. If you need 5G cellular function, you might consider our 5G cellular routers, or use the M2 dev board combined with a 5G module to achieve 5G. Quectel module RM520N has already been adapted to work with our routers.