12
Return to list Post new posts
Author: Grampy

OTG to PC link

[Copy link]

1

threads

6

posts

162

credits

Registered member

Rank: 2

credits
162
Published in 2016-5-10 23:05:45 | Show all floors
Hello, I need help with my Orange Pi, does it support USB CD-Rom emulation (with Android) ? I'm trying to achieve it but I can't get it working, do you know a utility to switch to this mode ?
Thank you !

0

threads

12

posts

526

credits

Senior member

Rank: 4

credits
526
Published in 2016-5-12 06:16:50 | Show all floors
gecko16300 replied at 2016-5-10 23:05
Hello, I need help with my Orange Pi, does it support USB CD-Rom emulation (with Android) ? I'm tryi ...

http://forum.armbian.com/index.php/topic/1089-usbootpi/

1

threads

6

posts

162

credits

Registered member

Rank: 2

credits
162
Published in 2016-5-13 01:35:02 | Show all floors
kulo replied at 2016-5-12 06:16
http://forum.armbian.com/index.php/topic/1089-usbootpi/

This is exactly what I was seraching for, thank you very much !

1

threads

7

posts

74

credits

Registered member

Rank: 2

credits
74
Published in 2016-7-14 14:44:05 | Show all floors
Edited by Dev at 2016-7-14 15:08
jacer replied at 2015-8-30 08:24
If you are using ANdroid install UsbModeSwitch.apk attached below, then open the app and check a box ...

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.

0

threads

1

posts

32

credits

Novice

Rank: 1

credits
32
Published in 2016-10-17 18:37:59 | Show all floors
jacer replied at 2015-8-30 08:24
If you are using ANdroid install UsbModeSwitch.apk attached below, then open the app and check a box ...

"UsbModeSwitch.apk" did the job. Can you provide the source code ?

8

threads

24

posts

84

credits

Registered member

Rank: 2

credits
84
Published in 2016-12-7 11:45:19 | Show all floors
fritz replied at 2015-6-14 03:17
@Grampy
What you want to do exaclty?
ADB does not listen on otg port with original image.

"@Grampy
What you want to do exaclty?
ADB does not listen on otg port with original image."

Well that's just silly. The stock Android/Orange OS should be setup with USB debuging on and supporting the micro USB port same as any Android phone, with either MTP or USB Mass Storage support for the SD. Then it could be accessed headless using Vysor.

P.S. If you leave USB debugging enabled on your phone all the time, or install Vysor *before* you destroy the display, you can use the Vysor program for OS X, or Windows, or the app in Google Chrome to mirror the display on a computer.

12
Return to list Post new posts
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list