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#4226 - Package kmod-phy-ath79-usb missing kernel modules. #9208
Comments
guybrush42: The Reported Version should be openwrt-21.02 and not Trunk. Doesn't look like I can edit it. |
Same issue here. opkg package kmod-phy-ath79-usb package doesn't seem to contain any kernel modules. I'm on MikroTik RouterBOARD wAPR-2nD (wAP R), using openwrt-21.02.1-ath79-mikrotik-mikrotik_routerboard-wapr-2nd-squashfs-sysupgrade.bin. |
The easy part: If a kmod package doesn't contain the .ko module, it's very likely that the module code was instead compiled into the kernel itself. In the case for kmod-phy-ath79-usb in ath79/generic, ath79/mikrotik (in both openwrt-21.02 and master/snapshot): they all set:
(it's also set in the tiny and nand sub-targets (although nand only has So, I think the USB-PHY driver is included and the missing .ko is likely not the problem.
This device has a AR9330/1 SoC. These are special, because it uses a chipidea2 usb host controller instead of "generic-ehci" of AR934x+ (and later SoCs). For this it has/needs a special kmod-usb-chipidea2. But it should be included as well. Does the USB come back after a power-off / power-on cycle (by removing the power plug). if not, I have more questions:
|
guybrush42:
Hi!
I upgraded my DIR-505 to 21.02.1 using openwrt-21.02.1-ath79-generic-dlink_dir-505-squashfs-sysupgrade.bin and found that the USB port wasn't working.
I then reset the device(long pressed the reset button) and the USB port still doesn't work.
Upon investigation I found that the
kmod-phy-ath79-usb
package doesn't contain any kernel modules.(Only 2 text files.)Supply the following if possible:
D-Link DIR-505
BUILD_ID="r16325-88151b8303"
OPENWRT_BOARD="ath79/generic"
OPENWRT_ARCH="mips_24kc"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 21.02.1 r16325-88151b8303"
root@OpenWrt:~# opkg info kmod-phy-ath79-usb
Package: kmod-phy-ath79-usb
Version: 5.4.154-1
Depends: kernel (= 5.4.154-1-79c5dc6db69102eb2943a96b9bec8b63), kmod-usb-core
Status: install ok installed
Architecture: mips_24kc
Installed-Time: 1635066095
Steps to reproduce
root@OpenWrt:
# opkg files kmod-phy-ath79-usb#Package kmod-phy-ath79-usb (5.4.154-1) is installed on root and has the following files:
/etc/modules.d/21-phy-ath79-usb
/etc/modules-boot.d/21-phy-ath79-usb
root@OpenWrt:
The text was updated successfully, but these errors were encountered: