View: 27338|Reply: 15

OTG to PC link

[Copy link]

2

threads

8

posts

103

credits

Registered member

Rank: 2

credits
103
Published in 2015-6-10 20:45:40 | Show all floors |Read mode
Hi All
Can someone let me know if I’m doing something wrong?
I’m trying to connect my Orange Pi to my PC through the OTG and the PC USB but nothing seems to happen!
In Android I’ve ticked the USB debug but still can’t seem to make that connection between the two?
One thing I did notice when I hold down the burn switch and power on my PC see the USB but can’t find a driver for the device!!
I’ve tried lot of drivers from the net but not found anything that works.
Can anyone help?
Grampy

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.

18

threads

303

posts

9897

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9897
Published in 2015-8-30 08:24:25 | Show all floors
If you are using ANdroid install UsbModeSwitch.apk attached below, then open the app and check a box inside, after that you can connect it with your PC then install the driver attached.

This thread contains more resources

You need to Log in to download or view,No account?    Register

x

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/

5

threads

354

posts

2724

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2724
Published in 2015-6-11 00:07:01 | Show all floors
install ADB
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

5

threads

354

posts

2724

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2724
Published in 2015-6-11 00:55:10 | Show all floors
Ahhh, sorry.
forgot that with the original pi plus android image adb works only via the debug port.
And if you push the "burn" switch that's the FEL mode.

Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

2

threads

8

posts

103

credits

Registered member

Rank: 2

credits
103
 Author| Published in 2015-6-12 17:30:38 | Show all floors
Hi Fritz
thanks for the reply, downloaded ADB and worked through the setup but still having issues with the Pi plus OTG connecting to my PC .
tried updating the driver through device manager with the Google USB driver but no luck. is there any thing else I can try? or am I doing or not doing something!!

Grampy

3

threads

14

posts

573

credits

Senior member

Rank: 4

credits
573
Published in 2015-6-12 17:47:07 | Show all floors
Try Driver Booster from www.iobit.com or try moborobo from www.moborobo.com.

2

threads

8

posts

103

credits

Registered member

Rank: 2

credits
103
 Author| Published in 2015-6-13 19:01:13 | Show all floors
Thanks for your input Sevillano but no luck, tried both programmes but still not installing any drivers.
in device manager it shows it as device unknown yet if I connect a USB mem stick I can read it in Linux!
not sure what to do next!!

5

threads

354

posts

2724

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2724
Published in 2015-6-14 03:17:55 | Show all floors
@Grampy
What you want to do exaclty?
ADB does not listen on otg port with original image.
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

5

threads

354

posts

2724

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2724
Published in 2015-6-14 03:20:51 | Show all floors
use SSH via ethernet (linux-images)
or serial-TTL via debug port
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

1

threads

2

posts

19

credits

Novice

Rank: 1

credits
19
Published in 2015-11-18 17:39:50 | Show all floors
Thank you!!!
Thank you!!!
Thank you!!!

You're the GREAT!
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list