OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
  • Task Type Bug Report
  • Category Kernel
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Very Low
  • Reported Version openwrt-18.06
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Dick Hollenbeck - 11.02.2019

FS#2116 - Nanopi NEO PLUS2 kernel: OTG USB not working

Even with a recent devicetree fix, the OTG port does not seem to function in the desired host mode. Obviously because of the hardware design, it is intended to always operate in “host” mode, and this is confirmed by the devicetree. Plugging in a USB 2.0 device into this OTG port and then running lsusb shows notink!

dmesg shows notink.

If you look at the devicetree compatibility string for the “otg” node, and then grep the kernel source code for it, it takes you to a driver which is enabled by this line in the drivers/usb/musb/Makefile:

obj-$(CONFIG_USB_MUSB_SUNXI) += sunxi.o

There is no evidence that this “MUSB” party is happening in the kernel config file fragments. And since this kernel does not enable /proc/config.gz, there is a remnant of doubt about where one actually finds a complete kernel config file for this 4.14 kernel build, but I leave that for another day.

Dick Hollenbeck commented on 11.02.2019 16:16

mainline 4.20 is enabling these two settings:


but that single defconfig is for all arm64, sheesh.
However, I think these pertain to the NEO PLUS2 build in our case.


Available keyboard shortcuts


Task Details

Task Editing