Adding more endpoints in USB

Here TX2 is acting as a usb gadget in device mode…I want to add more endpoints currently i m having 2 endpoints…i want to add 2 more endpoints in it… how to change the “bNumEndpoints” value from 2 to 4…

I can’t answer personally, but I am thinking this URL will provide that information, but don’t know for sure (this is a “Linux” thing though, and is not specific to Jetsons…any Linux kernel doc would apply to the issue):
https://blog.soutade.fr/post/2016/07/create-your-own-usb-gadget-with-gadgetfs.html

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.