Need Driver for RG501Q-EU (Qualcomm SDX55, 5G NR / LTE Cat 20)

Hi,

Please provide the driver or driver source for the Quectel RG501Q-EU module (Qualcomm SDX55, 5G NR / LTE Cat 20). This device is not currently detected, and I need the proper driver to enable support.

Thank you.

You need to mention what OS is used on the host device and how the modem is connected - USB vs. PCI.

root@openwrt:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 2c7c:0800 Quectel Wireless Solutions Co., Ltd. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@openwrt:~# lspci -nn
00:00.0 PCI bridge [0604]: Qualcomm Device [17cb:1002]
01:00.0 Unassigned class [ff00]: Qualcomm Device [17cb:0306]
root@openwrt:~# 

I don’t think you need any 3rd party driver when using OpenWrt.

The QWRT/OpenWrt vendor build (closed source) works fine, but when I compile using the official OpenWrt source, the modem module isn’t detected. The GPIO initialization attempts to power up and detect the modem via USB/PCI, but the module still isn’t found.

root@openwrt:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.104 (dotycat@GF63-Thin-9SCSR) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r33451-5531f6bc76a3) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Sun Sep 21 14:45:27 2025
[    0.000000] Machine model: Sagemcom Fast 5866T
[    0.000000] OF: reserved mem: 0x0000000040000000..0x0000000040ffffff (16384 KiB) nomap non-reusable nss@40000000
[    0.000000] OF: reserved mem: 0x000000004a400000..0x000000004a5fffff (2048 KiB) nomap non-reusable tzapp@4a400000
[    0.000000] OF: reserved mem: 0x000000004a600000..0x000000004a9fffff (4096 KiB) nomap non-reusable bootloader@4a600000
[    0.000000] OF: reserved mem: 0x000000004ab00000..0x000000004abfffff (1024 KiB) nomap non-reusable smem@4ab00000
[    0.000000] OF: reserved mem: 0x000000004ac00000..0x000000004affffff (4096 KiB) nomap non-reusable memory@4ac00000
[    0.000000] OF: reserved mem: 0x000000004b000000..0x0000000050efffff (97280 KiB) nomap non-reusable wcnss@4b000000
[    0.000000] OF: reserved mem: 0x0000000050f00000..0x0000000050ffffff (1024 KiB) nomap non-reusable q6_etr_dump@50f00000
[    0.000000] OF: reserved mem: 0x0000000051000000..0x00000000510fffff (1024 KiB) nomap non-reusable m3_dump@51000000
[    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-0x0000000040ffffff]
[    0.000000]   node   0: [mem 0x0000000041000000-0x000000004a3fffff]
[    0.000000]   node   0: [mem 0x000000004a400000-0x000000004a9fffff]
[    0.000000]   node   0: [mem 0x000000004aa00000-0x000000004aafffff]
[    0.000000]   node   0: [mem 0x000000004ab00000-0x00000000510fffff]
[    0.000000]   node   0: [mem 0x0000000051100000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 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.0
[    0.000000] percpu: Embedded 18 pages/cpu s35624 r8192 d29912 u73728
[    0.000000] pcpu-alloc: s35624 r8192 d29912 u73728 alloc=18*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyMSM0,115200n8 root=PARTUUID=875f6913-71e4-0510-ff39-ca49868b1762 gpt rootwaitswiotlb=1 coherent_pool=2M usb-storage.quirks=2c7c:0800:u
[    0.000000] Unknown kernel command line parameters "rootwaitswiotlb=1", will be passed to user space.
[    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 0x000000007eb00000-0x000000007ec00000] (1MB)
[    0.000000] Memory: 885904K/1048576K available (8768K kernel code, 926K rwdata, 2648K rodata, 1600K init, 279K bss, 162672K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    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] Root IRQ handler: gic_handle_irq
[    0.000000] GICv2m: range[mem 0x0b00a000-0x0b00affc], SPI[448:479]
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 and mmio timer(s) running at 19.20MHz (virt/virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000001] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000121] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.000134] pid_max: default: 32768 minimum: 301
[    0.005171] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.005186] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.009444] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    0.009672] rcu: Hierarchical SRCU implementation.
[    0.009677] rcu:     Max phase no-delay instances is 1000.
[    0.010591] smp: Bringing up secondary CPUs ...
[    0.011255] Detected VIPT I-cache on CPU1
[    0.011360] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.012029] Detected VIPT I-cache on CPU2
[    0.012101] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.012761] Detected VIPT I-cache on CPU3
[    0.012828] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.012898] smp: Brought up 1 node, 4 CPUs
[    0.012906] SMP: Total of 4 processors activated.
[    0.012911] CPU features: detected: 32-bit EL0 Support
[    0.012916] CPU features: detected: CRC32 instructions
[    0.012975] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.012981] CPU: All CPU(s) started at EL1
[    0.012984] alternatives: applying system-wide alternatives
[    0.023463] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.023488] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.025236] pinctrl core: initialized pinctrl subsystem
[    0.027375] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.028230] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.028533] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.028830] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.029299] thermal_sys: Registered thermal governor 'step_wise'
[    0.029359] cpuidle: using governor menu
[    0.029655] NET: Registered PF_QIPCRTR protocol family
[    0.029855] ASID allocator initialised with 65536 entries
[    0.085234] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    0.088111] Modules: 29184 pages in range for non-PLT usage
[    0.088118] Modules: 520704 pages in range for PLT usage
[    0.093125] SCSI subsystem initialized
[    0.093421] usbcore: registered new interface driver usbfs
[    0.093465] usbcore: registered new interface driver hub
[    0.093505] usbcore: registered new device driver usb
[    0.093959] qcom_scm: convention: smc arm 64
[    0.095675] clocksource: Switched to clocksource arch_sys_counter
[    0.099627] NET: Registered PF_INET protocol family
[    0.099797] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.102402] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.102426] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.102444] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.102529] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.102808] TCP: Hash tables configured (established 8192 bind 8192)
[    0.103324] MPTCP token hash table entries: 1024 (order: 2, 24576 bytes, linear)
[    0.103505] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.103553] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.103988] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.104028] PCI: CLS 0 bytes, default 64
[    0.105801] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    0.106660] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.106670] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.113514] qcom-qmp-usb-phy 58000.phy: supply vdda-phy not found, using dummy regulator
[    0.115259] qcom-qmp-usb-phy 78000.phy: supply vdda-phy not found, using dummy regulator
[    0.117560] qcom-qusb2-phy 59000.phy: supply vdda-phy-dpdm not found, using dummy regulator
[    0.117869] qcom-qusb2-phy 59000.phy: Registered Qcom-QUSB2 phy
[    0.118413] qcom-qusb2-phy 79000.phy: supply vdda-phy-dpdm not found, using dummy regulator
[    0.118683] qcom-qusb2-phy 79000.phy: Registered Qcom-QUSB2 phy
[    0.121220] gpio-export gpio-export: 4 gpio(s) exported
[    0.130271] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.131330] msm_serial 78b3000.serial: msm_serial: detected port #0
[    0.131369] msm_serial 78b3000.serial: uartclk = 3686400
[    0.131708] 78b3000.serial: ttyMSM0 at MMIO 0x78b3000 (irq = 22, base_baud = 230400) is a MSM
[    0.131743] msm_serial: console setup on port #0
[    0.131790] printk: console [ttyMSM0] enabled
[    0.930763] msm_serial: driver initialized
[    0.940209] loop: module loaded
[    0.941422] spmi spmi-0: PMIC arbiter version v2 (0x20010000)
[    0.962523] usbcore: registered new interface driver cdc_acm
[    0.962568] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    0.967516] i2c_dev: i2c /dev entries driver
[    0.981425] sdhci: Secure Digital Host Controller Interface driver
[    0.981472] sdhci: Copyright(c) Pierre Ossman
[    0.986703] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.993284] remoteproc remoteproc0: releasing cd00000.q6v5_wcss
[    0.999182] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    1.004284] NET: Registered PF_INET6 protocol family
[    1.011133] Segment Routing with IPv6
[    1.015106] In-situ OAM (IOAM) with IPv6
[    1.018762] NET: Registered PF_PACKET protocol family
[    1.022838] 8021q: 802.1Q VLAN Support v1.8
[    1.025707] mmc0: SDHCI controller on 7824900.mmc [7824900.mmc] using ADMA 64-bit
[    1.061443] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    1.061779] cpr4_ipq807x_apss_read_fuse_data: apc_corner: speed bin = 0
[    1.067590] cpr4_ipq807x_apss_read_fuse_data: apc_corner: CPR fusing revision = 1
[    1.074168] cpr4_ipq807x_apss_read_fuse_data: apc_corner: CPR misc fuse value = 0
[    1.081865] cpr4_ipq807x_apss_read_fuse_data: apc_corner: Voltage boost fuse config = 0 boost = disable
[    1.089378] cpr3_mem_acc_init: apc: not using memory accelerator regulator
[    1.098506] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused      SVS: open-loop= 704000 uV
[    1.099312] mmc0: new HS200 MMC card at address 0001
[    1.105421] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused      NOM: open-loop= 816000 uV
[    1.116364] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[    1.120391] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused    TURBO: open-loop= 888000 uV
[    1.132127] GPT:last_usable_lbas don't match.
[    1.134414] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused   STURBO: open-loop= 968000 uV
[    1.144398] GPT:15269880 != 15269854
[    1.144404] GPT:disk_guids don't match.
[    1.144407] GPT:num_partition_entries don't match: 0x18 != 0x80
[    1.144412] GPT:partition_entry_array_crc32 values don't match: 0xffb352ad != 0x1e0822df
[    1.148728] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused      SVS: quot[ 7]= 706, quot_offset[ 7]=   0
[    1.158545] GPT: Use GNU Parted to correct GPT errors.
[    1.158623]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22
[    1.162091] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused      NOM: quot[ 7]= 914, quot_offset[ 7]= 205
[    1.168276] mmcblk0boot0: mmc0:0001 8GTF4R 4.00 MiB
[    1.171566] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused    TURBO: quot[ 7]=1034, quot_offset[ 7]= 120
[    1.171579] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused   STURBO: quot[ 7]=1176, quot_offset[ 7]= 140
[    1.180751] mmcblk0boot1: mmc0:0001 8GTF4R 4.00 MiB
[    1.191041] cpr3_regulator_init_ctrl: apc: Default CPR mode = closed-loop
[    1.196317] mmcblk0rpmb: mmc0:0001 8GTF4R 512 KiB, chardev (245:0)
[    1.208386] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 800000 KHz, changing to: 1017600 KHz
[    1.262121] remoteproc remoteproc0: cd00000.q6v5_wcss is available
[    1.271767] clk: Disabling unused clocks
[    1.279547] VFS: Mounted root (squashfs filesystem) readonly on device 179:19.
[    1.280163] Freeing unused kernel memory: 1600K
[    1.285783] Run /sbin/init as init process
[    1.290080]   with arguments:
[    1.290082]     /sbin/init
[    1.290083]   with environment:
[    1.290085]     HOME=/
[    1.290087]     TERM=linux
[    1.290088]     rootwaitswiotlb=1
[    1.382042] init: Console is alive
[    1.382160] init: - watchdog -
[    1.809133] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.862441] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    1.889245] ssdk_dt_parse_interrupt[941]:INFO:intr-gpio does not exist
[    2.312790] regi_init[2525]:INFO:Initializing HPPE Done!!
[    2.312910] regi_init[2574]:INFO:qca-ssdk module init succeeded!
[    2.319632] EDMA ver 1 hw init
[    2.323472] EDMA HW Reset completed succesfully
[    2.326163] Num rings - TxDesc:1 (23-23) TxCmpl:1 (7-7)
[    2.330541] RxDesc:1 (15-15) RxFill:1 (7-7)
[    2.336176] GMAC4(ffffff80040b9900) Invalid MAC@ - using ca:20:c8:0a:ae:e2
[    2.339920] dp4: ppe offload disabled: 0 for macid 4
[    2.346873] dp4: Switch attached to macid 4 status: 0
[    2.536440] Qualcomm QCA8072 90000.mdio-1:03: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:03, irq=POLL)
[    2.537401] GMAC5(ffffff80042a8900) Invalid MAC@ - using 1a:41:38:d3:45:9d
[    2.545347] dp5: ppe offload disabled: 0 for macid 5
[    2.552209] dp5: Switch attached to macid 5 status: 0
[    2.626038] Qualcomm QCA8072 90000.mdio-1:04: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:04, irq=POLL)
[    2.626997] GMAC6(ffffff80042aa900) Invalid MAC@ - using 42:73:1b:34:ab:16
[    2.634931] dp6-syn: ppe offload disabled: 0 for macid 6
[    2.641810] dp6-syn: Switch attached to macid 6 status: 0
[    2.727743] Qualcomm QCA8081 90000.mdio-1:18: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:18, irq=POLL)
[    2.728821] **********************************************************
[    2.736657] * NSS Data Plane driver
[    2.743139] **********************************************************
[    2.762895] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.762941] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    2.767421] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe65 hci version 0x110 quirks 0x0000008002000010
[    2.774874] xhci-hcd xhci-hcd.1.auto: irq 41, io mem 0x08a00000
[    2.784320] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.790114] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    2.795674] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    2.803699] hub 1-0:1.0: USB hub found
[    2.809845] hub 1-0:1.0: 1 port detected
[    2.813990] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.817973] hub 2-0:1.0: USB hub found
[    2.825726] hub 2-0:1.0: 1 port detected
[    2.832358] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    2.833349] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 3
[    2.838932] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220fe65 hci version 0x110 quirks 0x0000008002000010
[    2.846252] xhci-hcd xhci-hcd.2.auto: irq 43, io mem 0x08c00000
[    2.855748] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    2.861467] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 4
[    2.867035] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
[    2.875373] hub 3-0:1.0: USB hub found
[    2.881246] hub 3-0:1.0: 1 port detected
[    2.885316] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.889313] hub 4-0:1.0: USB hub found
[    2.897103] hub 4-0:1.0: 1 port detected
[    2.903465] leds-gpio leds: Led green:status renamed to green:status_1 due to name collision
[    2.904792] leds-gpio leds: Led green:status renamed to green:status_2 due to name collision
[    2.913206] leds-gpio leds: Led green:status renamed to green:status_3 due to name collision
[    2.921616] leds-gpio leds: Led green:status renamed to green:status_4 due to name collision
[    2.978523] usbcore: registered new device driver r8152-cfgselector
[    2.978596] usbcore: registered new interface driver r8152
[    2.984884] usbcore: registered new interface driver usb-storage
[    2.990229] usbcore: registered new interface driver uas
[    2.995568] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.002402] init: - preinit -
[   13.645671] random: crng init done
[   18.005864] nss-dp 3a001600.dp4 lan1: PHY Link up speed: 1000
[   18.106341] mount_root: loading kmods from internal overlay
[   18.119125] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   18.120571] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   18.277295] block: attempting to load /tmp/overlay/upper/etc/config/fstab
[   18.277421] block: unable to load configuration (fstab: Entry not found)
[   18.283112] block: attempting to load /tmp/overlay/etc/config/fstab
[   18.289977] block: unable to load configuration (fstab: Entry not found)
[   18.296564] block: attempting to load /etc/config/fstab
[   18.304639] block: unable to load configuration (fstab: Entry not found)
[   18.307791] block: no usable configuration
[   18.315325] loop0: detected capacity change from 0 to 614400
[   18.385679] loop0: detected capacity change from 614400 to 583680
[   18.425654] EXT4-fs (loop0): recovery complete
[   18.426438] EXT4-fs (loop0): mounted filesystem 77ca9265-e392-4539-b0a5-0082e73a8285 r/w with ordered data mode. Quota mode: disabled.
[   18.429236] block: attempting to load /tmp/ext4_cfg/upper/etc/config/fstab
[   18.442135] block: extroot: not configured
[   18.450163] EXT4-fs (loop0): unmounting filesystem 77ca9265-e392-4539-b0a5-0082e73a8285.
[   18.457323] loop0: detected capacity change from 0 to 614400
[   18.505813] loop0: detected capacity change from 614400 to 583680
[   18.508020] EXT4-fs (loop0): mounted filesystem 77ca9265-e392-4539-b0a5-0082e73a8285 r/w with ordered data mode. Quota mode: disabled.
[   18.511906] mount_root: loading kmods from internal overlay
[   18.622351] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   18.622592] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   18.733610] block: attempting to load /tmp/overlay/upper/etc/config/fstab
[   18.734227] block: extroot: not configured
[   18.740301] block: attempting to load /tmp/ext4_cfg/upper/etc/config/fstab
[   18.743533] block: extroot: not configured
[   18.751333] mount_root: switching to ext4 overlay
[   18.758955] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[   18.761477] urandom-seed: Seeding with /etc/urandom.seed
[   18.791586] nss-dp 3a001600.dp4 lan1: PHY Link is down
[   18.796531] procd: - early -
[   18.796638] procd: - watchdog -
[   19.326305] procd: - watchdog -
[   19.326519] procd: - ubus -
[   19.486589] procd: - init -
[   19.742179] kmodloader: loading kernel modules from /etc/modules.d/*
[   19.827388] urngd: v1.0.2 started.
[   19.868644] NET: Registered PF_ALG protocol family
[   19.882907] hid: raw HID events driver (C) Jiri Kosina
[   19.886616] ntfs3: Enabled Linux POSIX ACLs support
[   19.888538] usbcore: registered new interface driver cdc_wdm
[   19.894317] usbcore: registered new interface driver qmi_wwan_q
[   19.900221] usbcore: registered new interface driver qmi_wwan_f
[   19.904478] usbcore: registered new interface driver qmi_wwan_s
[   19.919258] usbcore: registered new interface driver aqc111
[   19.920778] usbcore: registered new interface driver cdc_ether
[   19.925104] usbcore: registered new interface driver cdc_ncm
[   19.930536] Loading modules backported from Linux version v6.12.44-0-g11a24528d080
[   19.935370] Backport generated by backports.git v6.1.110-1-35-g410656ef
[   19.944880] usbcore: registered new interface driver huawei_cdc_ncm
[   19.956838] module qmi_wwan: .gnu.linkonce.this_module section size must match the kernel's built struct module size at run time
[   19.957576] usbcore: registered new interface driver rndis_host
[   19.968861] usbcore: registered new interface driver sierra_net
[   19.977293] usbcore: registered new interface driver ums-alauda
[   19.979751] usbcore: registered new interface driver ums-cypress
[   19.985765] usbcore: registered new interface driver ums-datafab
[   19.991918] usbcore: registered new interface driver ums-freecom
[   19.998047] usbcore: registered new interface driver ums-isd200
[   20.003936] usbcore: registered new interface driver ums-jumpshot
[   20.009690] usbcore: registered new interface driver ums-karma
[   20.016042] usbcore: registered new interface driver ums-sddr09
[   20.021800] usbcore: registered new interface driver ums-sddr55
[   20.027555] usbcore: registered new interface driver ums-usbat
[   20.033731] usbcore: registered new interface driver usbhid
[   20.038407] usbhid: USB HID core driver
[   20.044703] usbcore: registered new interface driver usblp
[   20.048067] module usbserial: .gnu.linkonce.this_module section size must match the kernel's built struct module size at run time
[   20.053957] usbcore: registered new interface driver cdc_mbim
[   20.126298] PPP generic driver version 2.4.2
[   20.127239] PPP MPPE Compression module registered
[   20.130385] NET: Registered PF_PPPOX protocol family
[   20.144068] ath11k c000000.wifi: ipq8074 hw2.0
[   20.144102] ath11k c000000.wifi: FW memory mode: 0
[   26.924226] remoteproc remoteproc0: powering up cd00000.q6v5_wcss
[   26.924752] remoteproc remoteproc0: Booting fw image IPQ8074/q6_fw.mdt, size 668
[   27.661109] remoteproc remoteproc0: remote processor cd00000.q6v5_wcss is now up
[   27.704785] ath11k c000000.wifi: qmi ignore invalid mem req type 3
[   27.712254] ath11k c000000.wifi: chip_id 0x0 chip_family 0x0 board_id 0xff soc_id 0xffffffff
[   27.712291] ath11k c000000.wifi: fw_version 0x290b84a5 fw_build_timestamp 2024-09-23 11:32 fw_build_id WLAN.HK.2.9.0.1-02146-QCAHKSWPL_SILICONZ-1
[   32.901520] remoteproc remoteproc0: stopped remote processor cd00000.q6v5_wcss
[   32.901561] remoteproc remoteproc0: powering up cd00000.q6v5_wcss
[   32.907726] remoteproc remoteproc0: Booting fw image IPQ8074/q6_fw.mdt, size 668
[   33.258330] remoteproc remoteproc0: remote processor cd00000.q6v5_wcss is now up
[   33.262723] module qmi_wwan: .gnu.linkonce.this_module section size must match the kernel's built struct module size at run time
[   33.264968] module usbserial: .gnu.linkonce.this_module section size must match the kernel's built struct module size at run time
[   33.276699] kmodloader: 5 modules could not be probed
[   33.288232] kmodloader: dependency not loaded usbserial
[   33.293026] kmodloader: dependency not loaded usb_wwan
[   33.297993] kmodloader: - option - 2
[   33.303180] kmodloader: dependency not loaded usb_wwan
[   33.306917] kmodloader: dependency not loaded usbserial
[   33.311860] kmodloader: - qcserial - 2
[   33.316985] kmodloader: - qmi_wwan - 0
[   33.320835] kmodloader: dependency not loaded usbserial
[   33.324552] kmodloader: - usb_wwan - 1
[   33.329668] kmodloader: - usbserial - 0
[   33.333475] ath11k c000000.wifi: qmi ignore invalid mem req type 3
[   33.342778] ath11k c000000.wifi: chip_id 0x0 chip_family 0x0 board_id 0xff soc_id 0xffffffff
[   33.343447] ath11k c000000.wifi: fw_version 0x290b84a5 fw_build_timestamp 2024-09-23 11:32 fw_build_id WLAN.HK.2.9.0.1-02146-QCAHKSWPL_SILICONZ-1
[   33.640596] ath11k c000000.wifi: htt event 48 not handled
[   36.296671] br-lan: port 1(lan1) entered blocking state
[   36.296717] br-lan: port 1(lan1) entered disabled state
[   36.300761] nss-dp 3a001600.dp4 lan1: entered allmulticast mode
[   36.306204] nss-dp 3a001600.dp4 lan1: entered promiscuous mode
[   36.326840] br-lan: port 2(lan2) entered blocking state
[   36.326891] br-lan: port 2(lan2) entered disabled state
[   36.330939] nss-dp 3a007000.dp6-syn lan2: entered allmulticast mode
[   36.336420] nss-dp 3a007000.dp6-syn lan2: entered promiscuous mode
[   37.966203] br-lan: port 3(phy1-ap0) entered blocking state
[   37.966249] br-lan: port 3(phy1-ap0) entered disabled state
[   37.970632] ath11k c000000.wifi phy1-ap0: entered allmulticast mode
[   37.976456] ath11k c000000.wifi phy1-ap0: entered promiscuous mode
[   37.982542] br-lan: port 3(phy1-ap0) entered blocking state
[   37.988696] br-lan: port 3(phy1-ap0) entered forwarding state
[   37.994383] br-lan: port 3(phy1-ap0) entered disabled state
[   38.093434] br-lan: port 3(phy1-ap0) entered blocking state
[   38.093482] br-lan: port 3(phy1-ap0) entered forwarding state
[   38.190158] br-lan: port 4(phy0-ap0) entered blocking state
[   38.190199] br-lan: port 4(phy0-ap0) entered disabled state
[   38.194584] ath11k c000000.wifi phy0-ap0: entered allmulticast mode
[   38.200406] ath11k c000000.wifi phy0-ap0: entered promiscuous mode
[   38.206514] br-lan: port 4(phy0-ap0) entered blocking state
[   38.212600] br-lan: port 4(phy0-ap0) entered forwarding state
[   39.446061] nss-dp 3a001600.dp4 lan1: PHY Link up speed: 1000
[   39.446122] br-lan: port 1(lan1) entered blocking state
[   39.450814] br-lan: port 1(lan1) entered forwarding state
root@openwrt:~# 

You’d better ask for help in OpenWrt forum (if your router model is officially supported).

I’m making a new device support OpenWrt, which is why I need the RG501Q driver

No, you don’t need a driver. You need to find out why your router cannot power up some internal module. That has nothing to do with Quectel.