Describe the Issue
Module: Quectel RG500Q-EA (PCIe)
Platform: Arcadyan AW1000 (IPQ807x)
Distribution: NoobWrt (Kernel 6.6.119)
ISP: Airtel (Sri Lanka) - 5G NSA
Problem: Cell locking fails when both the LTE Anchor and the NR cell share the same PCI (e.g., PCI 429). The system log shows a fatal script error in modem_ctrl.sh at line 190. Even though the modem is Qualcomm-based, it triggers a missing vendor function call which crashes the script logic.
Steps to Reproduce
Navigate to Modem -> Cell Locking in the NoobWrt WebUI.
Input a PCI value that is identical for both LTE and NR layers (e.g., 429).
Enter the EARFCN (1725) and ARFCN (628896) for Airtel 5G.
Click Apply Settings.
Observe the 5G attachment failure and check logread.
Expected Behavior
The modem should successfully lock to the specified PCI/ARFCN combination even if the PCI values are identical across layers, maintaining a stable 5G NSA connection.
Log Information
模组配置 (Module Configuration)
uci show qmodem (Privacy Masked)
qmodem.main=main
qmodem.main.enable_dial='1'
qmodem.main.try_preset_usb='1'
qmodem.main.try_preset_pcie='1'
qmodem.main.enable_pcie_scan='1'
qmodem.main.modem_count='1'
qmodem.pcie0=modem-slot
qmodem.pcie0.slot='0000:01:00.0'
qmodem.pcie0.type='pcie'
qmodem.4_1=modem-device
qmodem.4_1.name='rg500q-ea'
qmodem.4_1.manufacturer='quectel'
qmodem.4_1.platform='qualcomm'
qmodem.4_1.at_port='/dev/ttyUSB3'
系统日志 (System Logs)
daemon.err uhttpd[6366]: /usr/share/qmodem/modem_ctrl.sh: line 190: vendor_get_disabled_features: not found
daemon.err uhttpd[6366]: sh: 1: unknown operand
daemon.err uhttpd[6366]: awk: cmd. line:1: Unexpected token
daemon.err odhcp6c[12506]: Failed to send SOLICIT message (Network unreachable)
PCIe设备信息 (PCIe Devices)
lspci
0000:00:00.0 PCI bridge: Qualcomm Device 0108 (rev 01)
0000:01:00.0 Unassigned class [ff00]: Quectel Wireless Solutions Co., Ltd. RG500Q-EA LTE-A (PCIe Mode)
Additional Context (Script Analysis)
I manually inspected /usr/share/qmodem/modem_ctrl.sh and found the following at line 190:
"get_disabled_features")
json_add_array disabled_features
vendor_get_disabled_features # <--- Fails here (Line 190)
get_modem_disabled_features
get_global_disabled_features
json_close_array
;;
The function vendor_get_disabled_features is undefined in the environment, causing the modem control script to crash during cell locking operations on this hardware.
Describe the Issue
Module: Quectel RG500Q-EA (PCIe)
Platform: Arcadyan AW1000 (IPQ807x)
Distribution: NoobWrt (Kernel 6.6.119)
ISP: Airtel (Sri Lanka) - 5G NSA
Problem: Cell locking fails when both the LTE Anchor and the NR cell share the same PCI (e.g., PCI 429). The system log shows a fatal script error in modem_ctrl.sh at line 190. Even though the modem is Qualcomm-based, it triggers a missing vendor function call which crashes the script logic.
Steps to Reproduce
Navigate to Modem -> Cell Locking in the NoobWrt WebUI.
Input a PCI value that is identical for both LTE and NR layers (e.g., 429).
Enter the EARFCN (1725) and ARFCN (628896) for Airtel 5G.
Click Apply Settings.
Observe the 5G attachment failure and check logread.
Expected Behavior
The modem should successfully lock to the specified PCI/ARFCN combination even if the PCI values are identical across layers, maintaining a stable 5G NSA connection.
Log Information
模组配置 (Module Configuration)
uci show qmodem (Privacy Masked)
qmodem.main=main
qmodem.main.enable_dial='1'
qmodem.main.try_preset_usb='1'
qmodem.main.try_preset_pcie='1'
qmodem.main.enable_pcie_scan='1'
qmodem.main.modem_count='1'
qmodem.pcie0=modem-slot
qmodem.pcie0.slot='0000:01:00.0'
qmodem.pcie0.type='pcie'
qmodem.4_1=modem-device
qmodem.4_1.name='rg500q-ea'
qmodem.4_1.manufacturer='quectel'
qmodem.4_1.platform='qualcomm'
qmodem.4_1.at_port='/dev/ttyUSB3'
系统日志 (System Logs)
daemon.err uhttpd[6366]: /usr/share/qmodem/modem_ctrl.sh: line 190: vendor_get_disabled_features: not found
daemon.err uhttpd[6366]: sh: 1: unknown operand
daemon.err uhttpd[6366]: awk: cmd. line:1: Unexpected token
daemon.err odhcp6c[12506]: Failed to send SOLICIT message (Network unreachable)
PCIe设备信息 (PCIe Devices)
lspci
0000:00:00.0 PCI bridge: Qualcomm Device 0108 (rev 01)
0000:01:00.0 Unassigned class [ff00]: Quectel Wireless Solutions Co., Ltd. RG500Q-EA LTE-A (PCIe Mode)
The function vendor_get_disabled_features is undefined in the environment, causing the modem control script to crash during cell locking operations on this hardware.