I am working on a project where my rock pi needs to communicate with my computer via USB. Now it’s no simple communication because my rock pi is acting as a Head-Mounted Display (HMD) computer so it needs a specialized USB protocol to make SteamVR recognize it as an HMD device, now I just need a way to make my rock pi make the USB OTG port can communicate with my computer as an HMD and well make my Rust program that handles the operation able to interact with it like getting the frame buffer to show on the display, send back sensor data, etc.
Note that I just explaining the complex things for your understanding of what I am trying to achieve, what I am asking here is how to make my rock pi OTG USB port recognized as a USB device to my computer.