[Q] USB Host through stock data cable? - Motorola Atrix HD

Hi all,
I recently bought a female to female usb adapter hoping to use it along with the original charging/data cable to get USB host on my phone. It doesn't appear to be working. I have tried several peripherals (flash drive, keyboard etc.).
Is the data cable for the Atrix HD physically different from the OTG cable? I had heard that was the case for another device.
Edit: Sorry, I didn't mean to post this in general. Could a mod please move this to Q&A.

Please keep questions to the Q&A section

Sorry, I meant to post this in Q&A. Could a mod please move this. Thanks!

Micro USB plugs actually have 5 pins whereas the standard has 4. So pin 4 (called the ID pin) is left floating on your normal data cable. However, on an otg cable or adapter, pin 4 is shorted to pin 5 (ground) before everything goes to the rest of the cable. When the phone detects the short on the ID pin, it activates the host function.
You can find cheap adapters that short the pins for you or you can modify your own cable by hacking off the housing on the micro side and soldering a jumper between the pins. Also, for accessories to work, you'll likely need a powered USB hub since the phone won't supply the power for them (at least that's the way in my experience).
Hope this helps. Otherwise, let me know if you have more questions. If you google USB host or USB otg, you'll probably find some good stuff.
Sent from my MB865 using xda app-developers app

Thanks a lot! That totally answers my question. I'm just going to buy an OTG cable.

Related

USB to micro-usb and full keyboard in webtop (hack) mode

Anyone know if this is possible? It would be cool to be able to carry say a soft silicon keyboard in my backpack or something.
Sent from my DROID BIONIC using XDA App
yeah it is actually
just use an official or modified OTG micro usb cable and plug it in with the hdmi cable
have on hand a modified female to female usb connector ( I created one by cutting and splicing two ends off of old usb cords)
also on hand a powered usb hub can be usb powered with wall adapter or regular plug powered either way. but the power on the hub must first be modified check out youtube for how to modify usb hub to work on the atrix that is where I found it.
then connect the hub to power and the host end of the hub to one end of the female connector and the OTG usb to the other end and then the OTG usb to the phone
this may or may not be clear enough but I can assist you with any questions you may have about this tomorrow
Nice Ill check out the videos I would definitely like to have the hub you were talking about. Thank you ill let you know how I fare.
Sent from my DROID BIONIC using XDA App

Can the micro-usb port be used for input?

Okay, So I have a project that I have been working on, and it currently runs off of a laptop that I carry around with me because it needs a camera and a projector to run. I am wondering if I get (or make) a splitter for the micro-usb port, and use a full usb female to micro-usb male adapter, can i get the camera to input into the touchpad?
If the above answer is no, then that's not a big deal as the touchpad has a camera. however, Can the micro-usb port be used as an mhl port? or is there any other adapter that can be used to output the display.
Yes, you can use the USB port for OTG (hooking up external devices). You need a micro-to-female adapter, a USB-Y cable as well as a source of power for the device in question. There are a few posts in here and in the General talking about the various OTG capabilities, so you can do that.
Touchpad USB OTG Compatability List
HOW TO: $15 stand alone powered USB dongle for touchpad
There's two threads that should help you out.
I wouldn't suggest you try using the camera on CM9 or CM10 - it just doesn't work. WebOS does, but I have no idea how OTG works within it (if at all).
Thanks! I'll take a look a little later today.
Sent from my SGH-T989 using Xparent ICS Tapatalk 2
FYI - The Y cable is just a 5V supply splice to the +5 and Ground lines of the USB port. If you don't want to wait on a Y-cable you can just cut a USB extension and splice a stable 5V power supply (or the power lines of another USB cord) and it will work great.
Sent from my SAMSUNG-SGH-I717

[Q] USB OTG: usb1 found, cannot use keyboard

Hello,
I have a USB OTG cable and dell keyboard that I have tested and work in OTG mode on a Nexus 7, however i cannot get them to function with my HP Touchpad 32gb, running CM9 2.6.35, built on Sun Oct 28.
The device recognizes when I plug in anything via USB, but only as a generic Linux USB hub, and not as any particular device. Are there any steps to take to debug this? Has anyone had experience with this type of an issue?
Thanks for your help,
Cory
I don't know if this is the issue, but I know the touchpad doesn't support OTG like the the Nexus does. I think you need a Y-adapter + OTG to provide power since the micro usb port doesn't give any power to the device you connect. Someone correct me if I'm wrong though.
Apparently even a powered USB requires a powered Y cable to be properly recognized. I hacked together a quick Y cable manually, by splicing in another USB cable's power and ground (Red and black) to the respective locations on a female USB cable. Works as expected.
I am now communicating with an Arduino over Serial
Thanks!
Read this thread, should give you all the info you need:
http://forum.xda-developers.com/showthread.php?t=1582771
Basically the Touchpad has OTG but it provides no power.
wcdolphin said:
Apparently even a powered USB requires a powered Y cable to be properly recognized. I hacked together a quick Y cable manually, by splicing in another USB cable's power and ground (Red and black) to the respective locations on a female USB cable. Works as expected.
I am now communicating with an Arduino over Serial
Thanks!
Click to expand...
Click to collapse
I'm curious if you are able to charge with this cable hack while using usb devices?
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
ZedZardoz said:
I'm curious if you are able to charge with this cable hack while using usb devices?
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
Click to expand...
Click to collapse
if so , he is the first of the many many many who has used this cable..HPTP just is not set up for charge + usb data at the same time
amkaos said:
if so , he is the first of the many many many who has used this cable..HPTP just is not set up for charge + usb data at the same time
Click to expand...
Click to collapse
Agreed. I think people just are not stating reality regarding the ability to charge and use OTG Hosting to USB devices at the same time.
My goal here has been to attach a flash drive with video/audio media and play & charge on long flights. It looks like play, charge are mutually exclusive on my beloved TouchPad.
I've asked for the specific confirmation of this from this YouTube but have never had the poster reply:
https://www.youtube.com/watch?v=p10LgZFIawo&feature=BFa&list=PLCED27D4A23068E04&index=7
There are devices out there that have very advanced micro USB device implementations. Sadly the HP is only superficially supportive.
I for one cannot wait to get my SGN2 smart dock which offers:
Charging
OTG (x3 USB)
Audio out
HML HDMI out
Docked Profile

USB Port

Does the USB port have any other function other than power?
Don't think so, only power AFAIK.
I plugged it into my computer and even tried pressing and pressing/holding the button on the Chromecast but my computer didn't indicate any hardware plugged in.
I wonder if the data pins are even wired to anything internally.
UPDATE: The USB cable that comes with it may not work for data transfer, tried it with my phone and it didn't work. So I tried a normal microUSB cable but still nothing.
spunker88 said:
I plugged it into my computer and even tried pressing and pressing/holding the button on the Chromecast but my computer didn't indicate any hardware plugged in.
I wonder if the data pins are even wired to anything internally.
Click to expand...
Click to collapse
If we could plug a mouse or keyboard into it would be great!!
comatose1978 said:
If we could plug a mouse or keyboard into it would be great!!
Click to expand...
Click to collapse
It has bluetooth... so in theory that could be a simple alternative... we just need to figure out how to access hidden menus.
comatose1978 said:
If we could plug a mouse or keyboard into it would be great!!
Click to expand...
Click to collapse
I tried this with a self powered USB OTG cable, just to see if the Chromecast would blink, bing, or do anything to show recognition, no dice. Also tried booting with a USB drive in, no difference.
Universal Charger
Universal Charger:victory:
Examining board
Based on examining the photos of the motherboard on ifixit.com...
Component EM1 appears to be a USB Common Mode Choke. That goes on the D+/D- pair which you can see routed from the USB port, so it wouldn't be present if there wasn't some use for data communication over the USB port. (Cost sensitive equipment.) The flip side of the PCBA shows TP1-TP20 (Where TP19 and TP20 appear to be GND). My guess is in that mix you have a JTAG port for programming/testing the unit initially with a pogo pin rig (evidenced by the dimples observed in each of those locations), and there might be more high/low GPIO pins where one might allow the unit to enter its USB data mode.
-Jon
ften said:
I tried this with a self powered USB OTG cable, just to see if the Chromecast would blink, bing, or do anything to show recognition, no dice. Also tried booting with a USB drive in, no difference.
Click to expand...
Click to collapse
Is there any special kind of powered otg cable to work with this? I looked on Amazon but not sure. I want to grab one incase they make any progress on rooting this.
Sent from my HTCONE using Tapatalk 4 Beta
mustang_52 said:
Is there any special kind of powered otg cable to work with this? I looked on Amazon but not sure. I want to grab one incase they make any progress on rooting this.
Sent from my HTCONE using Tapatalk 4 Beta
Click to expand...
Click to collapse
Looks like its already been rooted. With what looks like a dual usb otg. They don't go deep into what specific cable but, I would guess it is a generic dual usb one off ebay, or amazon, heres a quick one i pulled from amazon http://www.amazon.com/Micro-Cable-P...8&qid=1375052489&sr=8-3&keywords=Dual+Usb+otg
But if you read into it, they say you can root, but unless your a developer you probably wont get any benefit of rooting....yet, if at all.
Obtaining root Link: http://blog.gtvhacker.com/2013/chromecast-exploiting-the-newest-device-by-google/
OneAn9ryN00b said:
Looks like its already been rooted. With what looks like a dual usb otg. They don't go deep into what specific cable but, I would guess it is a generic dual usb one off ebay, or amazon, heres a quick one i pulled from amazon http://www.amazon.com/Micro-Cable-P...8&qid=1375052489&sr=8-3&keywords=Dual+Usb+otg
But if you read into it, they say you can root, but unless your a developer you probably wont get any benefit of rooting....yet, if at all.
Obtaining root Link: http://blog.gtvhacker.com/2013/chromecast-exploiting-the-newest-device-by-google/
Click to expand...
Click to collapse
Please correct me if Im wrong, but the cable you linked only charges the thumbdrive/keyboard/mice/etc NOT the Chromecast so how would one root it since it does need power from usb plug? I've been searching for correct cable and cant find it; link to correct cable would be greatly appreciated!!!
This cable wouldnt work, right? http://www.ebay.com/itm/Usb-type-A-..._USB_Cables_Hubs_Adapters&hash=item4857e3608e
eurominican said:
Please correct me if Im wrong, but the cable you linked only charges the thumbdrive/keyboard/mice/etc NOT the Chromecast so how would one root it since it does need power from usb plug? I've been searching for correct cable and cant find it; link to correct cable would be greatly appreciated!!!
This cable wouldnt work, right? http://www.ebay.com/itm/Usb-type-A-..._USB_Cables_Hubs_Adapters&hash=item4857e3608e
Click to expand...
Click to collapse
I own that cable from Amazon and it should work. It brings in +5v from a charger connected to the female microUSB port and then splits it to the female full size USB port and the the male microUSB port so both the USB host device and the USB peripheral device are getting power.
spunker88 said:
I own that cable from Amazon and it should work. It brings in +5v from a charger connected to the female microUSB port and then splits it to the female full size USB port and the the male microUSB port so both the USB host device and the USB peripheral device are getting power.
Click to expand...
Click to collapse
I ordered this cable http://r.ebay.com/QgwBIW Will report back if it works when I get it.
eurominican said:
Please correct me if Im wrong, but the cable you linked only charges the thumbdrive/keyboard/mice/etc NOT the Chromecast so how would one root it since it does need power from usb plug? I've been searching for correct cable and cant find it; link to correct cable would be greatly appreciated!!!
Click to expand...
Click to collapse
I also bought that powered OTG cable off Amazon and it will power the Chromecast as well as provide the means to flash the Chromecast via a USB thumbdrive. When you apply power to the Chromecast, it automatically flashed the bin from the USB drive. There was no interaction required (or even possible). Of course this was on the original firmware - if your Chromecast updated itself, you have lost the ability to root the device at this time.
Clearly the Chromecast does sense the USB drive and pulls data from it during the initial boot sequence. However I'm not sure if it would ever work for other devices such as keyboards or storage devices, etc.
I'm not sure why anyone would want to hook those types of devices up to the Chromecast however. Once you have root, you can telnet into the device, so adding a keyboard doesn't seem that important. The whole idea of the device is that you send it media from other devices and control it via that other device. Adding storage for example doesn't seem important since it can pull media off the network already (ie a NAS or another computer).
Anyway. That has been my experience with it so far. It's a long winded answer to more than just your question about the OTG plug.
I would personally love the ability to send audio out without having an hdmi TV be on through the usb somehow...
Sent from my Nexus 7 using Tapatalk 4
USB Tethering not working - SGH-i997
Hi all,
i have install Avatar 7.0 to my Samsung SGH-i997 from "http://forum.xda-developers.com/showthread.php?t=2174227". it's look cool.
But when i am trying to USB Tethering, the massage shows as "Unfortunately,Setting has Stopped".
how to Fix this issue.

Pogo pins

Hello,
I was wondering what the pinout is for the 7 pogo pins on the side of the RM3(s). I want to 3D-print a holder for the phone, with some extra functionality, just like the Magic Adapter. I can't find a pinout or even what protocol is used to communicate between the phone and the Adapter. Anyone know anything about the pins?
Insyder28 said:
Hello,
I was wondering what the pinout is for the 7 pogo pins on the side of the RM3(s). I want to 3D-print a holder for the phone, with some extra functionality, just like the Magic Adapter. I can't find a pinout or even what protocol is used to communicate between the phone and the Adapter. Anyone know anything about the pins?
Click to expand...
Click to collapse
I posted the info a long time ago. You have audio and mic. L,R and Mic, power and gnd, then USB d+ and -. Careful powering stuff off the power and gnd it's not made to power devices. Inside the dock is a 4 port USB 2.0 hub controller not all the ports are hooked up that's how I added a micro SD card reader to my dock.
bignazpwns said:
I posted the info a long time ago. You have audio and mic. L,R and Mic, power and gnd, then USB d+ and -. Careful powering stuff off the power and gnd it's not made to power devices. Inside the dock is a 4 port USB 2.0 hub controller not all the ports are hooked up that's how I added a micro SD card reader to my dock.
Click to expand...
Click to collapse
Thank you for your reply. I will test if I can get a USB output from the pins!
Insyder28 said:
Thank you for your reply. I will test if I can get a USB output from the pins!
Click to expand...
Click to collapse
You can. It's got data + and -
How it works is that goes to a USB hub controller that goes to a USB Ethernet.
The micro SD card adapter I put on one of the unused ports.

Categories

Resources