0
Selda_bagcan

Usb remove otg descriptor

Recommended Posts

Orange pi zero using mainline latest image. Somehow i couldn't manage to set up a c++ project with libusbgx so I am using console commands for gadgetfs for hid device emulation.  I want to disable otg dual role functionality of micro usb port .  I think i need to mess with overlay but i have no experience and i think i should change the usb for micro usb port but i am not sure how to do. Removing usb otg descriptor is enough too. Thanks

hid.png

Share this post


Link to post
Share on other sites

I edited musb_gadget.c sunxi-next conf file and selected gadget only when building the kernel and it works like i wanted. Not sure if all these modifications are required so there is no more otg descriptor. 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
0