|
Edited by Dev at 2016-7-14 15:08
Hi,
can you share source code for the USB mode switch apk ?
We are using orange pi pc for an embedded application where we can not connect it to a monitor and keyboard mouse as the pi is enclosed. However, the usb otg is exposed and hence we can use that to check the app logs to see if everything is working fine. The problem is that the pi doesn't recognize the usb connection with PC until you use the app usbmodeswitch and "check" the "enable usb device mode". I would like to enable this on the boot so that I can use it whenever I connect my PC to pi. I can incorporate the code in my app itself which starts after boot is complete, if I can get the code! So, can you share the code with me? Or, if not, tell me a way to enable this usb device mode on boot.
|
|