FUjr / FUjr/QModem

[BUG]T99W373 MBIM模式却选择QMI拨号?导致无法获取IP。2.8版本不这样

Open
#156 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
426
Forks
212
Avg merge
5h 54m
Merged PRs (30d)
10

Description

描述问题
提供模组型号、路由器平台、路由器系统发行版等信息
Describe the Issue
Provide module model, router platform, router system distribution, etc.
[2026-01-04 15:18:34] modem_dial:modem_path=/sys/bus/pci/devices/0000:01:00.0/,driver=mhi,interface=0000_01_00_0,at_port=/dev/mhi_DUN,using_sim_slot:1,dns_list:
[2026-01-04 15:18:39] modem_dial:info sim card is ready
[2026-01-04 15:18:39] modem_dial:create interface 0000_01_00_0 with proto dhcp and metric 11
[2026-01-04 15:18:39] modem_dial:network reload
[2026-01-04 15:18:40] modem_dial:firewall reload
[2026-01-04 15:18:40] modem_dial:interface 0000_01_00_0 already set to rmnet_mhi0.1
[2026-01-04 15:18:40] modem_dial:dialing /sys/bus/pci/devices/0000:01:00.0/ driver mhi
[2026-01-04 15:18:40] modem_dial:dialing: quectel-CM-M -4 -6 -n 2 -i rmnet_mhi0 -d -M 11 -f /var/run/qmodem/0000_01_00_0_dir/dial_log
[01-04_15:18:40:135] network interface 'rmnet_mhi0' or qmidev '' is not exist
[01-04_15:18:40:135] netcard driver = pcie_mhi, driver version = V1.3.8
[01-04_15:18:40:135] qmap_mode = 1, qmap_version = 9, qmap_size = 15360, muxid = 0x81, qmap_netcard = rmnet_mhi0.1
[01-04_15:18:40:136] Modem works in QMI mode
[01-04_15:18:40:184] cdc_wdm_fd = 8
[01-04_15:18:40:352] Get clientWDS = 18
[01-04_15:18:40:355] Get clientWDS = 19
[01-04_15:18:40:357] Get clientDMS = 1
[01-04_15:18:40:359] Get clientNAS = 2
[01-04_15:18:40:362] Get clientUIM = 2
[01-04_15:18:40:364] Get clientWDA = 1
[01-04_15:18:40:368] requestBaseBandVersion FDE.F0.3.0.1.1.CU.001

复现方法
Steps to Reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See the error

期望行为
描述正常情况下应该是什么行为
Expected Behavior
Describe what the normal behavior should be.


屏幕截图
Screenshots


日志信息
请在终端执行以下命令并将结果粘贴到对应的折叠代码块中
Log Information
Please execute the following commands in the terminal and paste the results into the corresponding collapsible code blocks below:

模组配置 (Module Configuration)
uci show qmodem
# 显示模组配置
# Show module configuration

粘贴结果到此处
Paste the output here

网络配置 (Network Configuration)
uci show network
# 显示网络配置
# Show network configuration

粘贴结果到此处
Paste the output here

系统日志 (System Logs)
logread
# 查看系统日志
# View system logs

粘贴结果到此处
Paste the output here

内核日志 (Kernel Logs)
dmesg
# 查看内核日志
# View kernel logs

粘贴结果到此处
Paste the output here

如果是USB模组相关的问题,执行以下命令并填写结果:
If the issue is related to USB modules, execute the following command and paste the output:

USB设备信息 (USB Devices)
lsusb
# 列出USB设备
# List USB devices

粘贴结果到此处
Paste the output here

如果是PCIe模组相关的问题,执行以下命令并填写结果:
If the issue is related to PCIe modules, execute the following command and paste the output:

PCIe设备信息 (PCIe Devices)
lspci
# 列出PCIe设备
# List PCIe devices

粘贴结果到此处
Paste the output here

如果模组扫描存在问题,执行以下命令并填写结果:
If there is an issue with module scanning, execute the following command and paste the output:

模组扫描 (Module Scanning)
/usr/share/qmodem/modem_scan.sh scan
# 扫描模组
# Scan modules

粘贴结果到此处
Paste the output here

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported modem_dial and quectel-CM-M log output, then inspect the qmodem and network settings collected by uci show qmodem and uci show network. Compare the dialing path with the 2.8 behavior and use lspci, dmesg, and logread to establish why MBIM is being handled as QMI; done means the T99W373 uses the correct mode and obtains an IP.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.