I have a custom i.mx6 based system and I have a connector that exposes a usb interface.
Our use-case requires that we be able to change between usb host and usb peripheral on the fly in linux userspace. Preferably via the command line.
I was hoping there was something in /sys that i can take advantage of.
I'm currently on a 4.1.15 kernel.
Any ideas would be appreciated,