Jump to content

Recommended Posts

Posted

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

Posted

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. 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines