openwrt/package
Chester A. Unal 764c503a2c umbim: introduce devpath option
Introduce the devpath option to find the control channel device from a
hardware path for a USB or a WWAN device.

This option is useful when there are multiple modems connected to the
system. The name of the control channel device of a modem can change
depending on which modem initialises first or if it was recently plugged
in. The devpath option allows specifying the hardware path of the modem
where the control channel device will be found using that.

For the USB device hardware path, it is allowed to specify the USB port
number the modem is directly connected to.

If the device and devpath options are both set, devpath takes precedence
over device.

The USB device hardware path of a control channel device can be found by:

readlink -f /sys/class/usbmisc/cdc-wdmX/device

The WWAN device hardware path of a control channel device can be found by:

readlink -f /sys/class/wwan/wwanXmbimX/device

An example uci configuration would be:

config interface 'wwan_usb1'
	option proto 'mbim'
	option auth 'none'
	option devpath '/sys/devices/platform/1e1c0000.xhci/usb1/1-1'
	option apn 'internet'
	option pdptype 'ipv4v6'

Or:

config interface 'wwan_pcie1'
	option proto 'mbim'
	option auth 'none'
	option devpath '/sys/devices/platform/soc/11280000.pcie/pci0003:00/0003:00:00.0/0003:01:00.0'
	option apn 'internet'
	option pdptype 'ipv4v6'

Signed-off-by: Chester A. Unal <chester.a.unal@arinc9.com>
2026-03-03 14:17:48 +02:00
..
base-files build: use STAGING_DIR for special APK package versions 2026-02-01 11:16:54 +01:00
boot mediatek: add support for Zyxel WX5600-T0 2026-03-02 11:43:43 +01:00
devel gdb: add CPPFLAGS 2026-02-17 22:16:58 +01:00
firmware linux-firmware: update to 20260221 2026-03-01 13:29:46 +01:00
kernel button-hotplug: use flex array and not pointer hack 2026-03-03 13:09:35 +01:00
libs libunistring: update to 1.4.2 2026-03-01 17:07:58 +01:00
network umbim: introduce devpath option 2026-03-03 14:17:48 +02:00
system procd: update to git HEAD 2026-03-01 11:52:02 +01:00
utils ucode: nl80211: add missing survey info attributes and fix DFS CAC time 2026-03-01 18:41:24 +00:00
Makefile build: propagate errors when generating apk indexes 2026-02-13 21:17:21 +01:00