How to enable OTG in device mode in JetsonTX1

I want to use JetsonTX1 as pointing device. I understand that to make pointing device first the OTG slot shall be converted to device mode. I am not from embedded background So, Can I get detail explanation for changing the config and change mode of OTG.

Thank You.

Hi bhatshashank8,

Please refer to


On the USB side you might be interested in:
…once there look at anything with “gadget” in its name. The “gadget” interface is a kind of template for various known devices. It is up to you to write the actual device code (or some subset of information defining the device). A mouse, keyboard, or joystick would be a Human Interface Device (the generic “HID” class).