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#2116 - Nanopi NEO PLUS2 kernel: OTG USB not working #8419

Closed
openwrt-bot opened this issue Feb 11, 2019 · 1 comment
Closed

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

openwrt-bot opened this issue Feb 11, 2019 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

dickelbeck:

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.

@openwrt-bot
Copy link
Author

dickelbeck:

mainline 4.20 is enabling these two settings:

CONFIG_USB_MUSB_HDRC=y
CONFIG_USB_MUSB_SUNXI=y

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

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