OpenWrt/LEDE Project

  • Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category Kernel
  • Assigned To No-one
  • Operating System All
  • Severity Critical
  • Priority Very Low
  • Reported Version openwrt-18.06
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Daan Pape - 24.08.2018
Last edited by Yousong Zhou - 01.11.2019

FS#1812 - kmod-usb-serial-wwan does not build .ko module

Supply the following if possible:
- Device problem occurs on
- Software versions of OpenWrt/LEDE release, packages, etc.
- Steps to reproduce


I’ve checkout out de most recent OpenWRT 18.06.1 sources from github (commit hash 79518b7a4b0e1b65ba320ee699630b5072f1df51) and
wanted to install it on a MT7621A device. I selected the usb-serial and usb-serial-wwan packages and built them as built-in
kernel modules but I saw the usb_wwan module was not present nor loaded.

I than tried to build as package-only and noticed no usb_wwan.ko was present in the /lib/modules directory after installation.
I’m not sure if this is a kernel bug rather than something wrong with OpenWRT makefiles.

This bug effectively makes 4G cards unusable.

Closed by  Yousong Zhou
01.11.2019 14:01
Reason for closing:  Fixed
Additional comments about closing:  

Fix by hiding kmod-usb-serial-wwan and making it auto-selected as dependency of other kmods

Daan Pape commented on 24.08.2018 15:49

I worked on debugging a bit more by doing

make V=s package/linux/{clean,compile} | grep wwan

I found out the following

WARNING: kmod-usb-serial-wwan is not available in the kernel config - generating empty package

Ok, another update. The usb_wwan.o is built when kmod-usb-serial-option is selected in the menuconfig.

Project Manager
Yousong Zhou commented on 30.10.2019 12:49

Note that usb-serial-wwan is not supposed to be used on its own

Fixed this by marking it as HIDDEN in commit 700f66ae950053afe03eedf5d1c37fc7c8c7d906


Available keyboard shortcuts


Task Details

Task Editing