DIY OTG Question - Nexus 5 Q&A, Help & Troubleshooting

Just got a new Nikon D610 and there are a bunch of cool apps that use OTG to connect to the camera. Camera uses a mini USB port to connect to things.
My question is, can I just make a mini USB male to micro USB male cable and not bother with the full size female part?

Yes as long as you short pins 4 and 5 it will trigger your phone to enter host mode
Sent from my Nexus 4 using xda app-developers app

Related

[q] need help finding a cable.

NEED HELP FINDING A CABLE.
I need it to be about 5-6 inches.
It's for a project I am trying to do.
The one I really need is....
Female mini usb to male mini usb, No adapter just a cable
like this>>>
Cable in picture is:
Micro USB Male to Mini USB Female Adapter Converter (9CM-Length)
I would search/call MonoPrice
Agreed I use http://www.monoprice.com all the time
Female mini usb to male mini usb.
Female mini usb to male micro usb.
but the length of the one in picture.
I looked all over the web and, I don't think they make that cable!
Sent from my LG-P999 using XDA Premium App
Perhaps it is your search terminology? I Googled Mini USB extension cable and found plenty of results, one of which lead to this forum. If you find one that is a little long USB is very easy to shorten, just 4 wires

:<Question> 3.1: USB connection feature requirements </Question>:

Just wondering. You still need an OTG cable to connect camera/drive/other, right?
Sent from my Xoom using Tapatalk
Yes, you can't get around physical wiring differences.
USB cable for xoom
Surely you can use the USB cable that came with the xoom and attach a female to female adpator and run your camera cable from that. You dont really need to buy a specific OTG cable. Well I think that would work.
Nope is doesn't you need a otg cable. I tried it myself a few months ago, ended up buying 3 cables to get that worked.
Sent from my Xoom using XDA Premium App
richpal said:
Surely you can use the USB cable that came with the xoom and attach a female to female adpator and run your camera cable from that. You dont really need to buy a specific OTG cable. Well I think that would work.
Click to expand...
Click to collapse
The wire that comes with your Xoom is wired differently than an OTG cable. The Xoom wire is a client wire. The OTG is a host.
But with 3.1 + an OTG cable, can you use the USB Host function without this hack :http://www.slatedroid.com/topic/15979-hack-enable-usb-host-mode-ie-thumb-drives-on-the-xoom/ ?
You just plug your OTG cable and it works ?
It seems there is still no way for a stock user to use a USB stick via the OTG cable because there is no app that recognizes it that way, Android still requires root to access the file system or both.
Sent from my Xoom using XDA Premium App

[GUIDE] $7 cable that triggers Car Dock Mode (NO SOLDERING REQUIRED!)

WARNING! CONNECTING ANY CABLE TO YOUR PHONE THAT DID NOT COME WITH YOUR PHONE IN THE BOX COULD DAMAGE YOUR PHONE, YOUR COMPUTER, THE ELECTRICAL WIRING IN YOUR HOUSE, AND IT COULD KILL YOU!
you have been warned
Soooo I recently stumbled across this thread http://forum.xda-developers.com/showthread.php?t=744636&page=3
that states that if you short pins 4 & 5 on a micro USB connector and plug it into an HTC Desire, the phone will automatically go into car dock mode. as luck would have it, I happen to know that this is the same method that is used to trigger USB OTG on devices that support it. The wheels in my brain began to turn... $7 and a few days later I came up with this:
MICRO USB HOST ADAPTER + A BIZARRE A TO A USB CABLE = A CHARGING/DATA CABLE THAT TRIGGERS CAR DOCK MODE!
I have tested this on my G2 using Virtuous G-Lite 2.0.1 and it works perfectly, but YMMV.
I got the USB host adapter here
http://www.amazon.com/Micro-B-Adapt...3?s=electronics&ie=UTF8&qid=1328093895&sr=1-3
and the A to A USB cable here
http://www.amazon.com/StarTech-com-...3?s=electronics&ie=UTF8&qid=1328094123&sr=1-3
Just in case you haven't already figured it out you just connect the female end of the OTG adapter to either one of the male ends on the A to A cable, then use the cable as you would any other charging/data cable in your car. the only difference is that now your device will automatically switch into car dock mode when you plug it in! you could also connect this cable to a dock that has a female micro USB connector on the back (like the G2 OEM desktop dock here http://forum.xda-developers.com/showthread.php?t=1473718) and create your own car dock!
an extra word of warning, DO NOT USE THE A TO A CABLE ON ITS OWN FOR ANYTHING! this is a non-standard conforming cable that would damage any two USB devices that you attempted to connect with it. I have no idea what it's intended use is on it's own, but don't think that it is the same thing as a USB data transfer cable (transfer cables have a chip inside the cable that makes the two connected USB host devices see each other as USB slave devices. this A to A cable is just a copper wire)
Nice, I didn't know people wanted this. I got a premade cable. Off ebay that triggered car mode no mods needed and it was a buck. Lol
Sent from my HTC Vision using Tapatalk
Any idea about standard dock mode? I know the official tmobile dock auto opens a desk clock.
scottcom said:
Nice, I didn't know people wanted this. I got a premade cable. Off ebay that triggered car mode no mods needed and it was a buck. Lol
Sent from my HTC Vision using Tapatalk
Click to expand...
Click to collapse
What cable was this?
Sent from my HTC Vision using XDA App
ad505 said:
What cable was this?
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
My guess would be that the cable was not intended to trigger car dock mode, it was just poorly made. a really bad soldering job on the pins would short pins 4 & 5 and do the same thing. Other people have reported this same behavior when they buy low end cables or get water in their micro usb ports.
I tried this and it seams to work but all it does its launch tunein radio, any idea how to change it to other apps such as torque? Thanks
The short thing does work. I my self stumbled on to it while repearing a aftermarked charger .. I opened up the mini usb side and it had a resistor on jumping pin 5( - ) to pin 4 . With the resistor on it charches with the resistor bypassed and just jumped to pin 4 it goes in to car dock mode. Also my friend got a samsung infuse and came with a hdmi dongle usb, so out of curiosity hooked it up to my g2 and it whent to car dock mode
Sent from my T-Mobile G2 using XDA

[Q] OTG USB Host Mode in ICS

I bought a cheap adapter female USB2.0 to Male MicroUSB so I can try the dslr controller apps in the market. I basically want to connect my DSLR to my phone.
I thought USB OTG is supported in ICS but somehow the app still can't recognize my camera or usb flash drive at all.
I am running ICS from mhx. Superlite 5.0
No other strange configurations.
Is this kernel related?
Can a dev/community englighten me?
I can confirm that usb devices work. Is your cable a OTG host adapter. Dslr controller requires you to have camera on then plug into phone. My usb stick shows up in /sdcard/usbStorage.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
which kernel are you using? and which software you running?
What i bought is a basic "Male microusb with a female USB regular size"
romracer's unsecure kernel
one of the original deodexed slightlyunbloated ics releases
i bought a USB OTG cable from newegg
http://www.newegg.com/Product/Product.aspx?Item=9SIA0PG06U1118

Slimport and USB connection

Hey guys,
I've been curious, if it's possible to use a slimport adapter and connect it to a display AND have something else connected via the additional charging USB Port.
Such as playing a movie right from a stick with the nexus 5 or a USB keyboard connected at the same time via USB Hub.
Or is there any other option to realise something like this?
Sent from my Nexus 5 using xda app-developers app
This was the first thing I did when I got my adapter. The port is only for charging sadly...
If keyboard/mouse is all you need, you can always get a bluetooth one. If you need OTG for other stuff though, you'd have to use a wireless mirracast adapter instead of slimport.

Categories

Resources