How to get USB OTG port to work in Device mode?

Sorry for not being clear. I have Ubuntu 16.04 on an SD Card using this process. Ubuntu, based on Debian is similar to Raspbian so I was looking for same configuration files but did not find them.