Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
openwrt-bot opened this issue Aug 24, 2018 · 2 comments
Closed

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

openwrt-bot opened this issue Aug 24, 2018 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

dpape:

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 79518b7) 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.

@openwrt-bot
Copy link
Author

dpape:

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.

@openwrt-bot
Copy link
Author

yousong:

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

Fixed this by marking it as HIDDEN in commit [[https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=700f66ae950053afe03eedf5d1c37fc7c8c7d906|700f66ae950053afe03eedf5d1c37fc7c8c7d906]]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant