USB host: any special kernel option(s) needed to detect Gadget devices?
- a custom, ARM Cortex A53 based Linux system, based on Buildroot
- one RaspberryPi CM3 module, connected to the other system via USB
The USB gadget is correctly set up on the CM3 module - if I connect it, over an adapter board, to a Raspi4, the Raspi4, as a USB host, discovers the CM3 gadget and I can communicate over the "usb0" network device. between the two.
This currently does not work when the CM3 is connected to the Buildroot-based machine. That one doesn't detect anything.
While I am reading "everywhere" that, for this to work, it does not depend on host side setup, only on the gadget device being properly set up, I am skeptical in this instance, because this trimmed-to-size Buildroot based Linux image is not your run off the mill Linux that will likely fulfill all usual expectations.
So - does somebody know for sure? Is there anything that might need setting up on the host side with buildroot / kernel options, to make this work?`