Hello all,
I’ve tried your tips @bartsch. It did not work, I repurposed your script, and I’ve recompiled the kernel as per your instructions. Just to let you know. It was a very good post regardless. Thank you.
I’ve come across this thread as well. Witch is exactly the same issue.
They arrived to the same conclusion, peripheral mode cannot be set properly without either flipping the switch or connecting the cable from boot. I’ve followed @jack 's instructions on that thread as well. They also did not work.
So I come here to ask again. Is there any way at all to detect that an USB has been plugged? So that I can run the commands that enable OTG once the cable is plugged?.
Maybe a workaround that fixes the problem altogether? @jack , do you have any thoughts on the issue?