Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
12
Return to list New
Author: Grampy

OTG to PC link

[Copy link]

0

Threads

5

Posts

155

Credits

Registered member

Rank: 2

Credits
155
Post time 2016-5-10 23:05:45 | Show all posts
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
Post time 2016-5-12 06:16:50 | Show all posts
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/

0

Threads

5

Posts

155

Credits

Registered member

Rank: 2

Credits
155
Post time 2016-5-13 01:35:02 | Show all posts
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
Post time 2016-7-14 14:44:05 | Show all posts
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
Post time 2016-10-17 18:37:59 | Show all posts
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
Post time 2016-12-7 11:45:19 | Show all posts
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 New
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2020-6-4 16:53 GMT+8 , Processed in 0.028827 second(s), 20 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list