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

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
12Next
Return to list New
View: 12918|Reply: 15

OTG to PC link

[Copy link]

2

Threads

8

Posts

103

Credits

Registered member

Rank: 2

Credits
103
Post time 2015-6-10 20:45:40 | Show all posts |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
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.

18

Threads

303

Posts

7825

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
7825
Post time 2015-8-30 08:24:25 | Show all posts
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 post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

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/

5

Threads

355

Posts

2110

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
2110
Post time 2015-6-11 00:07:01 | Show all posts
install ADB
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

5

Threads

355

Posts

2110

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
2110
Post time 2015-6-11 00:55:10 | Show all posts
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| Post time 2015-6-12 17:30:38 | Show all posts
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
Post time 2015-6-12 17:47:07 | Show all posts
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| Post time 2015-6-13 19:01:13 | Show all posts
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

355

Posts

2110

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
2110
Post time 2015-6-14 03:17:55 | Show all posts
@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

355

Posts

2110

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
2110
Post time 2015-6-14 03:20:51 | Show all posts
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
Post time 2015-11-18 17:39:50 | Show all posts
Thank you!!!
Thank you!!!
Thank you!!!

You're the GREAT!
12Next
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-2-22 18:39 GMT+8 , Processed in 0.036788 second(s), 24 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list