No modem mode in Mt6000

Hi all...I have fw 4.7.0-op24
My flint 2 does not recognize the gl-inet m2 module with rm520n-gl. In qmi it does not see it at all, while in ndis it sees it but as usb tethering. I am interested in it working as a cellular modem and not tethering

this is conf of module rm520n-gl:

[2025-03-18_21:21:30:431]AT+QCFG="usbcfg"

[2025-03-18_21:21:30:431]+QCFG: "usbcfg",0x2C7C,0x0321,1,1,1,1,1,1,0

[2025-03-18_21:22:36:085]AT+QCFG="usbnet"

[2025-03-18_21:22:36:085]+QCFG: "usbnet",0

[2025-03-18_21:23:09:465]AT+CGMM

[2025-03-18_21:23:09:465]RM520N-GL

[2025-03-18_21:23:34:451]AT+CGMR

[2025-03-18_21:23:34:451]RM520NGLAAR03A03M4G

[2025-03-18_21:25:43:755]AT+QCFG="data_interface"

[2025-03-18_21:25:43:755]+QCFG: "data_interface",0,0

Hello,

Can you run the following command one bye one in the SSH terminal:

cat /proc/gl-hw-info/build-in-modem
ls /dev
dmesg>dmesg.log

And then share the output and the dmesg log with us for further analysis.

Good morning I attach ssh screen and log file

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.63 (gl-ci@gl-ci-server) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r28161-ea17e958b9) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Tue Dec  3 11:41:08 2024
[    0.000000] Machine model: GL.iNet GL-MT6000
[    0.000000] OF: reserved mem: 0x0000000042ff0000..0x0000000042ffffff (64 KiB) map non-reusable ramoops@42ff0000
[    0.000000] OF: reserved mem: 0x0000000043000000..0x000000004302ffff (192 KiB) nomap non-reusable secmon@43000000
[    0.000000] OF: reserved mem: 0x000000004fc00000..0x000000004fcfffff (1024 KiB) nomap non-reusable wmcpu-reserved@4fc00000
[    0.000000] OF: reserved mem: 0x000000004fd00000..0x000000004fd3ffff (256 KiB) nomap non-reusable wo-emi@4fd00000
[    0.000000] OF: reserved mem: 0x000000004fd40000..0x000000004fd7ffff (256 KiB) nomap non-reusable wo-emi@4fd40000
[    0.000000] OF: reserved mem: 0x000000004fd80000..0x000000004ffbffff (2304 KiB) nomap non-reusable wo-data@4fd80000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000042ffffff]
[    0.000000]   node   0: [mem 0x0000000043000000-0x000000004302ffff]
[    0.000000]   node   0: [mem 0x0000000043030000-0x000000004fbfffff]
[    0.000000]   node   0: [mem 0x000000004fc00000-0x000000004ffbffff]
[    0.000000]   node   0: [mem 0x000000004ffc0000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 28 pages/cpu s75368 r8192 d31128 u114688
[    0.000000] pcpu-alloc: s75368 r8192 d31128 u114688 alloc=28*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line:  root=PARTLABEL=rootfs rootwait
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258048
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 1MB
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x000000007fadc000-0x000000007fbdc000] (1MB)
[    0.000000] Memory: 1005788K/1048576K available (10624K kernel code, 1832K rwdata, 3248K rodata, 896K init, 324K bss, 42788K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 34719 entries in 136 pages
[    0.000000] ftrace: allocated 136 pages with 2 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] 	Rude variant of Tasks RCU enabled.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 640 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[    0.000000] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.000223] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.000231] pid_max: default: 32768 minimum: 301
[    0.002258] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.002266] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.003850] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.004242] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    0.004298] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    0.004407] rcu: Hierarchical SRCU implementation.
[    0.004410] rcu: 	Max phase no-delay instances is 1000.
[    0.005030] smp: Bringing up secondary CPUs ...
[    0.005320] Detected VIPT I-cache on CPU1
[    0.005358] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.005386] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.005693] Detected VIPT I-cache on CPU2
[    0.005715] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[    0.005728] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.005992] Detected VIPT I-cache on CPU3
[    0.006012] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[    0.006023] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.006053] smp: Brought up 1 node, 4 CPUs
[    0.006056] SMP: Total of 4 processors activated.
[    0.006059] CPU features: detected: 32-bit EL0 Support
[    0.006061] CPU features: detected: CRC32 instructions
[    0.006090] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.006093] CPU: All CPU(s) started at EL2
[    0.006095] alternatives: applying system-wide alternatives
[    0.009015] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.009033] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.009793] pinctrl core: initialized pinctrl subsystem
[    0.010740] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.011019] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.011036] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.011051] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.011355] thermal_sys: Registered thermal governor 'fair_share'
[    0.011358] thermal_sys: Registered thermal governor 'bang_bang'
[    0.011360] thermal_sys: Registered thermal governor 'step_wise'
[    0.011362] thermal_sys: Registered thermal governor 'user_space'
[    0.011410] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.011451] ASID allocator initialised with 65536 entries
[    0.012165] pstore: Using crash dump compression: deflate
[    0.012169] pstore: Registered ramoops as persistent store backend
[    0.012171] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.017917] Modules: 28496 pages in range for non-PLT usage
[    0.017927] Modules: 520016 pages in range for PLT usage
[    0.018866] cryptd: max_cpu_qlen set to 1000
[    0.019751] SCSI subsystem initialized
[    0.020032] libata version 3.00 loaded.
[    0.021156] clocksource: Switched to clocksource arch_sys_counter
[    0.047157] NET: Registered PF_INET protocol family
[    0.047270] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.048503] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.048518] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.048528] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.048565] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.048731] TCP: Hash tables configured (established 8192 bind 8192)
[    0.048985] MPTCP token hash table entries: 1024 (order: 2, 24576 bytes, linear)
[    0.049069] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.049085] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.049321] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.049350] PCI: CLS 0 bytes, default 64
[    0.050547] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    0.053874] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.053881] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.075474] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.076534] gpio-export gpio-export: 1 gpio(s) exported
[    0.079770] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.083064] printk: console [ttyS0] disabled
[    0.103432] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 116, base_baud = 2500000) is a ST16650V2
[    0.103472] printk: console [ttyS0] enabled
[    0.921882] mtk_rng 1020f000.rng: registered RNG driver
[    0.930259] loop: module loaded
[    1.072854] i2c_dev: i2c /dev entries driver
[    1.078462] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    1.087582] NET: Registered PF_INET6 protocol family
[    1.093287] Segment Routing with IPv6
[    1.096965] In-situ OAM (IOAM) with IPv6
[    1.100921] NET: Registered PF_PACKET protocol family
[    1.106015] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.119072] 8021q: 802.1Q VLAN Support v1.8
[    1.159622] mtk-msdc 11230000.mmc: Final PAD_DS_TUNE: 0x14414
[    1.166213] mmc0: new HS400 MMC card at address 0001
[    1.172378] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[    1.177932] GPT:Primary header thinks Alt. header is not at the end of the disk.
[    1.185328] GPT:1 != 15269887
[    1.188283] GPT:Alternate GPT header not at the end of the disk.
[    1.194272] GPT:1 != 15269887
[    1.197223] GPT: Use GNU Parted to correct GPT errors.
[    1.202418]  mmcblk0: p1 p2 p3 p4 p5 p6 p7
[    1.207945] mmcblk0boot0: mmc0:0001 8GTF4R 4.00 MiB
[    1.213771] mmcblk0boot1: mmc0:0001 8GTF4R 4.00 MiB
[    1.218887] mmcblk0rpmb: mmc0:0001 8GTF4R 512 KiB, chardev (250:0)
[    1.984200] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc082180000, irq 119
[    1.994174] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc082180000, irq 119
[    2.102742] mt7530-mdio mdio-bus:1f: configuring for fixed/2500base-x link mode
[    2.111701] mt7530-mdio mdio-bus:1f: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    2.122434] mt7530-mdio mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7531 PHY] (irq=124)
[    2.144691] mt7530-mdio mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=125)
[    2.166640] mt7530-mdio mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=126)
[    2.188571] mt7530-mdio mdio-bus:1f lan5 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=127)
[    2.431304] mt7530-mdio mdio-bus:1f lan1 (uninitialized): PHY [mdio-bus:07] driver [RTL8221B-VB-CG 2.5Gbps PHY (C45)] (irq=62)
[    2.443418] mtk_soc_eth 15100000.ethernet eth0: entered promiscuous mode
[    2.450134] DSA: tree 0 setup
[    2.453437] clk: Disabling unused clocks
[    2.459956] VFS: Mounted root (squashfs filesystem) readonly on device 179:7.
[    2.468711] Freeing unused kernel memory: 896K
[    2.473234] Run /sbin/init as init process
[    2.477314]   with arguments:
[    2.480266]     /sbin/init
[    2.482965]   with environment:
[    2.486090]     HOME=/
[    2.488435]     TERM=linux
[    2.590194] init: Console is alive
[    2.593723] init: - watchdog -
[    3.032619] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.056316] gl_sdk4_hw_info: loading out-of-tree module taints kernel.
[    3.064526] install gl_hw_info
[    3.076415] usbcore: registered new interface driver usbfs
[    3.081983] usbcore: registered new interface driver hub
[    3.087320] usbcore: registered new device driver usb
[    3.099527] gl-tertf: (C) 2021 jianhui zhao <jianhui.zhao@gl-inet.com>
[    3.110832] gl-kmwan: (C) 2023 chongjun luo <luochognjun@gl-inet.com>
[    3.129059] xhci-mtk 11200000.usb: supply vbus not found, using dummy regulator
[    3.137683] xhci-mtk 11200000.usb: xHCI Host Controller
[    3.142932] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1
[    3.153285] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000200010
[    3.162489] xhci-mtk 11200000.usb: irq 128, io mem 0x11200000
[    3.168320] xhci-mtk 11200000.usb: xHCI Host Controller
[    3.173535] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2
[    3.180913] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[    3.188338] hub 1-0:1.0: USB hub found
[    3.192131] hub 1-0:1.0: 2 ports detected
[    3.196440] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.204947] hub 2-0:1.0: USB hub found
[    3.208716] hub 2-0:1.0: 1 port detected
[    3.218377] usbcore: registered new interface driver usb-storage
[    3.225659] usbcore: registered new interface driver uas
[    3.231234] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.245024] init: - preinit -
[    3.547903] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[    3.556383] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    3.576683] mt7530-mdio mdio-bus:1f lan1: configuring for phy/2500base-x link mode
[    3.602125] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
[    3.632902] usb 2-1: LPM exit latency is zeroed, disabling LPM.
[    7.874311] mount_root: loading kmods from internal overlay
[    7.892793] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    7.902110] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    7.998154] block: attempting to load /tmp/overlay/upper/etc/config/fstab
[    8.005038] block: unable to load configuration (fstab: Entry not found)
[    8.011754] block: attempting to load /tmp/overlay/etc/config/fstab
[    8.018039] block: unable to load configuration (fstab: Entry not found)
[    8.024751] block: attempting to load /etc/config/fstab
[    8.032383] block: unable to load configuration (fstab: Entry not found)
[    8.039098] block: no usable configuration
[    8.043390] block: attempting to load /etc/config/fstab
[    8.048633] block: unable to load configuration (fstab: Entry not found)
[    8.056523] block: no usable configuration
[    8.061188] loop0: detected capacity change from 0 to 15178752
[    8.111157] loop0: detected capacity change from 15178752 to 15067520
[    8.179640] F2FS-fs (loop0): Mounted with checkpoint version = 370eb56b
[    8.227429] block: attempting to load /tmp/overlay/upper/etc/config/fstab
[    8.234733] block: extroot: not configured
[    8.238963] block: attempting to load /etc/config/fstab
[    8.244298] block: unable to load configuration (fstab: Entry not found)
[    8.251005] block: no usable configuration
[    8.256982] mount_root: switching to f2fs overlay
[    8.263582] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[    8.274928] urandom-seed: Seeding with /etc/urandom.seed
[    8.402172] random: procd: uninitialized urandom read (4 bytes read)
[    8.404484] procd: - early -
[    8.411547] procd: - watchdog -
[    8.958115] procd: - watchdog -
[    8.961629] procd: - ubus -
[   11.351392] random: crng init done
[   11.356494] procd: - init -
[   11.734722] kmodloader: loading kernel modules from /etc/modules.d/*
[   11.768726] ntfs: driver 2.1.32 [Flags: R/O MODULE].
[   11.777051] tun: Universal TUN/TAP device driver, 1.6
[   11.795810] urngd: v1.0.2 started.
[   11.835112] GACT probability on
[   11.839373] Mirror/redirect action on
[   11.849292] u32 classifier
[   11.852096]     input device check on
[   11.855752]     Actions configured
[   11.867436] fuse: init (API version 7.39)
[   11.874924] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0
[   11.904938] Bridge firewalling registered
[   11.910447] usbcore: registered new interface driver cdc_acm
[   11.916237] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   11.926312] usbcore: registered new interface driver cdc_wdm
[   11.932748] Loading modules backported from Linux version v6.11.2-0-g7aa21fec187b
[   11.940228] Backport generated by backports.git v6.1.110-1-32-gc61f71fe0942
[   11.949936] usbcore: registered new interface driver ipheth
[   12.097906] usbcore: registered new interface driver usbserial_generic
[   12.104544] usbserial: USB Serial support registered for generic
[   12.140196] xt_time: kernel timezone is -0000
[   12.146203] usbcore: registered new interface driver cdc_ether
[   12.153991] usbcore: registered new interface driver cdc_ncm
[   12.200769] usbcore: registered new interface driver huawei_cdc_ncm
[   12.285435] mt798x-wmac 18000000.wifi: attaching wed device 0 version 2
[   12.322109] platform 15010000.wed: MTK WED WO Firmware Version: DEV_000000, Build Time: 20221012175005
[   12.331449] platform 15010000.wed: MTK WED WO Chip ID 00 Region 3
[   12.911664] mt798x-wmac 18000000.wifi: HW/SW Version: 0x8a108a10, Build Time: 20240823160656a
[   12.911664] 
[   13.016974] mt798x-wmac 18000000.wifi: WM Firmware Version: ____000000, Build Time: 20240823160721
[   13.102320] mt798x-wmac 18000000.wifi: WA Firmware Version: DEV_000000, Build Time: 20240823160840
[   13.208351] mt798x-wmac 18000000.wifi: registering led 'mt76-phy0'
[   13.262596] mt798x-wmac 18000000.wifi: registering led 'mt76-phy1'
[   13.317682] PPP generic driver version 2.4.2
[   13.323455] NET: Registered PF_PPPOX protocol family
[   13.330436] usbcore: registered new interface driver qmi_wwan
[   13.338042] usbcore: registered new interface driver rndis_host
[   13.348643] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   13.356510] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   13.367653] usbcore: registered new interface driver option
[   13.373388] usbserial: USB Serial support registered for GSM modem (1-port)
[   13.383227] kmodloader: done loading kernel modules from /etc/modules.d/*
[   16.973852] kmwan: sensitivity and mode are set.
[   18.000221] tertf: br-lan registered, add it
[   18.032336] mtk_soc_eth 15100000.ethernet eth0: Link is Down
[   18.051431] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[   18.061393] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[   18.066706] mt7530-mdio mdio-bus:1f lan1: configuring for phy/2500base-x link mode
[   18.112464] br-lan: port 1(lan1) entered blocking state
[   18.117706] br-lan: port 1(lan1) entered disabled state
[   18.123068] mt7530-mdio mdio-bus:1f lan1: entered allmulticast mode
[   18.129359] mtk_soc_eth 15100000.ethernet eth0: entered allmulticast mode
[   18.138821] mt7530-mdio mdio-bus:1f lan1: entered promiscuous mode
[   18.158686] mt7530-mdio mdio-bus:1f lan2: configuring for phy/gmii link mode
[   18.173002] br-lan: port 2(lan2) entered blocking state
[   18.178237] br-lan: port 2(lan2) entered disabled state
[   18.183576] mt7530-mdio mdio-bus:1f lan2: entered allmulticast mode
[   18.191742] mt7530-mdio mdio-bus:1f lan2: entered promiscuous mode
[   18.206931] mt7530-mdio mdio-bus:1f lan3: configuring for phy/gmii link mode
[   18.217779] br-lan: port 3(lan3) entered blocking state
[   18.223198] br-lan: port 3(lan3) entered disabled state
[   18.228471] mt7530-mdio mdio-bus:1f lan3: entered allmulticast mode
[   18.237159] mt7530-mdio mdio-bus:1f lan3: entered promiscuous mode
[   18.252316] mt7530-mdio mdio-bus:1f lan4: configuring for phy/gmii link mode
[   18.263176] br-lan: port 4(lan4) entered blocking state
[   18.268418] br-lan: port 4(lan4) entered disabled state
[   18.273799] mt7530-mdio mdio-bus:1f lan4: entered allmulticast mode
[   18.282846] mt7530-mdio mdio-bus:1f lan4: entered promiscuous mode
[   18.297848] mt7530-mdio mdio-bus:1f lan5: configuring for phy/gmii link mode
[   18.309508] br-lan: port 5(lan5) entered blocking state
[   18.314798] br-lan: port 5(lan5) entered disabled state
[   18.320095] mt7530-mdio mdio-bus:1f lan5: entered allmulticast mode
[   18.329223] mt7530-mdio mdio-bus:1f lan5: entered promiscuous mode
[   18.581297] mtk_soc_eth 15100000.ethernet eth1: PHY [mdio-bus:01] driver [RTL8221B-VB-CG 2.5Gbps PHY (C45)] (irq=61)
[   18.592202] mtk_soc_eth 15100000.ethernet eth1: configuring for phy/2500base-x link mode
[   20.420446] br-lan: port 6(wlan0) entered blocking state
[   20.425831] br-lan: port 6(wlan0) entered disabled state
[   20.431231] mt798x-wmac 18000000.wifi wlan0: entered allmulticast mode
[   20.437969] mt798x-wmac 18000000.wifi wlan0: entered promiscuous mode
[   20.504229] br-lan: port 6(wlan0) entered blocking state
[   20.509556] br-lan: port 6(wlan0) entered forwarding state
[   20.515863] br-lan: port 6(wlan0) entered disabled state
[   20.522254] mt798x-wmac 18000000.wifi wlan0: left allmulticast mode
[   20.528566] mt798x-wmac 18000000.wifi wlan0: left promiscuous mode
[   20.534870] br-lan: port 6(wlan0) entered disabled state
[   20.564515] br-lan: port 6(wlan0) entered blocking state
[   20.569842] br-lan: port 6(wlan0) entered disabled state
[   20.575242] mt798x-wmac 18000000.wifi wlan0: entered allmulticast mode
[   20.582005] mt798x-wmac 18000000.wifi wlan0: entered promiscuous mode
[   20.696471] br-lan: port 7(wlan1) entered blocking state
[   20.701834] br-lan: port 7(wlan1) entered disabled state
[   20.707194] mt798x-wmac 18000000.wifi wlan1: entered allmulticast mode
[   20.714005] mt798x-wmac 18000000.wifi wlan1: entered promiscuous mode
[   20.773134] br-lan: port 7(wlan1) entered blocking state
[   20.778457] br-lan: port 7(wlan1) entered forwarding state
[   20.784643] mt798x-wmac 18000000.wifi wlan1: left allmulticast mode
[   20.791026] mt798x-wmac 18000000.wifi wlan1: left promiscuous mode
[   20.797435] br-lan: port 7(wlan1) entered disabled state
[   20.853719] br-lan: port 7(wlan1) entered blocking state
[   20.859140] br-lan: port 7(wlan1) entered disabled state
[   20.864649] mt798x-wmac 18000000.wifi wlan1: entered allmulticast mode
[   20.871572] mt798x-wmac 18000000.wifi wlan1: entered promiscuous mode
[   20.878181] br-lan: port 7(wlan1) entered blocking state
[   20.883525] br-lan: port 7(wlan1) entered forwarding state
[   21.591206] br-lan: port 7(wlan1) entered disabled state
[   22.534005] mt7530-mdio mdio-bus:1f lan3: Link is Up - 1Gbps/Full - flow control rx/tx
[   22.534042] br-lan: port 3(lan3) entered blocking state
[   22.547163] br-lan: port 3(lan3) entered forwarding state
[   23.962298] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 2.5Gbps/Full - flow control rx/tx
[   31.474988] br-lan: port 6(wlan0) entered blocking state
[   31.480316] br-lan: port 6(wlan0) entered forwarding state
[   90.330332] br-lan: port 7(wlan1) entered blocking state
[   90.335660] br-lan: port 7(wlan1) entered forwarding state
[  266.263849] usb 2-1: USB disconnect, device number 2
[  287.170582] usb 2-1: new SuperSpeed USB device number 3 using xhci-mtk
[  287.206418] hub 2-1:1.0: USB hub found
[  287.210545] hub 2-1:1.0: 4 ports detected
[  287.354037] usb 1-2: new high-speed USB device number 2 using xhci-mtk
[  287.543624] hub 1-2:1.0: USB hub found
[  287.547718] hub 1-2:1.0: 4 ports detected
[  287.640932] usb 2-1.4: new SuperSpeed USB device number 4 using xhci-mtk
[  287.676706] scsi host0: uas
[  287.680681] scsi 0:0:0:0: Direct-Access     Seagate  Basic            0712 PQ: 0 ANSI: 6
[  290.648736] sd 0:0:0:0: [sda] 3907029167 512-byte logical blocks: (2.00 TB/1.82 TiB)
[  290.656474] sd 0:0:0:0: [sda] 4096-byte physical blocks
[  290.661912] sd 0:0:0:0: [sda] Write Protect is off
[  290.666691] sd 0:0:0:0: [sda] Mode Sense: 53 00 00 08
[  290.672057] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  290.681219] xhci-mtk 11200000.usb: ERROR Transfer event for unknown stream ring slot 3 ep 6
[  290.689549] xhci-mtk 11200000.usb: @0000000041047260 719a4100 00000000 1a00000a 03078000
[  290.817328] sd 0:0:0:0: [sda] Preferred minimum I/O size 4096 bytes
[  290.823593] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of preferred minimum block size (4096 bytes)
[  290.837309]  sda: sda1
[  290.839874] sd 0:0:0:0: [sda] Attached SCSI disk
[  303.694684] mt7530-mdio mdio-bus:1f lan2: Link is Up - 100Mbps/Full - flow control off
[  303.694708] br-lan: port 2(lan2) entered blocking state
[  303.707814] br-lan: port 2(lan2) entered forwarding state
[  304.248161] br-lan: port 2(lan2) entered disabled state
[  304.248253] mt7530-mdio mdio-bus:1f lan2: Link is Down
[ 7104.203526] br-lan: port 3(lan3) entered disabled state
[ 7104.203638] mt7530-mdio mdio-bus:1f lan3: Link is Down
[ 7106.373172] mt7530-mdio mdio-bus:1f lan3: Link is Up - 10Mbps/Full - flow control off
[ 7106.373209] br-lan: port 3(lan3) entered blocking state
[ 7106.386232] br-lan: port 3(lan3) entered forwarding state
[ 7106.639508] br-lan: port 3(lan3) entered disabled state
[ 7106.639619] mt7530-mdio mdio-bus:1f lan3: Link is Down
[10615.565929] mt798x-wmac 18000000.wifi wlan1: left allmulticast mode
[10615.572232] mt798x-wmac 18000000.wifi wlan1: left promiscuous mode
[10615.578502] br-lan: port 7(wlan1) entered disabled state
[16724.644246] mt7530-mdio mdio-bus:1f lan3: Link is Up - 1Gbps/Full - flow control off
[16724.644272] br-lan: port 3(lan3) entered blocking state
[16724.657207] br-lan: port 3(lan3) entered forwarding state
[16725.941305] br-lan: port 3(lan3) entered disabled state
[16725.941414] mt7530-mdio mdio-bus:1f lan3: Link is Down
[16729.181990] mt7530-mdio mdio-bus:1f lan3: Link is Up - 1Gbps/Full - flow control rx/tx
[16729.182015] br-lan: port 3(lan3) entered blocking state
[16729.195123] br-lan: port 3(lan3) entered forwarding state
[16924.958939] br-lan: port 3(lan3) entered disabled state
[16924.959054] mt7530-mdio mdio-bus:1f lan3: Link is Down
[28596.596548] br-lan: port 7(wlan1) entered blocking state
[28596.601877] br-lan: port 7(wlan1) entered disabled state
[28596.607342] mt798x-wmac 18000000.wifi wlan1: entered allmulticast mode
[28596.614113] mt798x-wmac 18000000.wifi wlan1: entered promiscuous mode
[28596.621761] mt798x-wmac 18000000.wifi wlan1: left allmulticast mode
[28596.628067] mt798x-wmac 18000000.wifi wlan1: left promiscuous mode
[28596.634317] br-lan: port 7(wlan1) entered disabled state
[28596.695359] br-lan: port 7(wlan1) entered blocking state
[28596.700682] br-lan: port 7(wlan1) entered disabled state
[28596.706062] mt798x-wmac 18000000.wifi wlan1: entered allmulticast mode
[28596.712805] mt798x-wmac 18000000.wifi wlan1: entered promiscuous mode
[28602.725885] br-lan: port 7(wlan1) entered blocking state
[28602.731212] br-lan: port 7(wlan1) entered forwarding state
[56684.111706] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[56686.265659] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 100Mbps/Half - flow control off
[56688.437091] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[56691.708465] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 2.5Gbps/Full - flow control rx/tx
[56693.136530] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[56695.290559] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 100Mbps/Half - flow control off
[56697.430504] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[56700.482056] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 2.5Gbps/Full - flow control rx/tx
[60964.491858] mt7530-mdio mdio-bus:1f lan3: Link is Up - 1Gbps/Full - flow control off
[60964.491888] br-lan: port 3(lan3) entered blocking state
[60964.504818] br-lan: port 3(lan3) entered forwarding state
[60965.398822] br-lan: port 3(lan3) entered disabled state
[60965.398927] mt7530-mdio mdio-bus:1f lan3: Link is Down
[60968.630867] mt7530-mdio mdio-bus:1f lan3: Link is Up - 1Gbps/Full - flow control rx/tx
[60968.630893] br-lan: port 3(lan3) entered blocking state
[60968.644004] br-lan: port 3(lan3) entered forwarding state
[65568.964798] usb 2-1: USB disconnect, device number 3
[65568.969765] usb 2-1.4: USB disconnect, device number 4
[65569.214854] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[65569.232930] usb 1-2: USB disconnect, device number 2
[65569.819312] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=0x07 driverbyte=DRIVER_OK
[65640.928815] usb 1-2: new high-speed USB device number 3 using xhci-mtk

After some investigation, the problem was caused by the incorrect PID of the module RM520NGLAA, which caused the router to not recognize it correctly.

For who may have the same problem, can set the modem PID to the correct one through AT command AT+QCFG="usbcfg",0x...,0x..., 1,1,1,1,1,1,0