yashsingh1/xdaforums huggingface dataset:
[Atrix 4G General] Mgamerz:
You can use keyboards, mice, hard drives and other items on a powered hub. Road trip? Watch movies. My n810 nokia had usb otg, and it was great. Developers can make great use of otg.

I don't get what you mean how micro usb cables work with it??

Sent from my Motorola Atrix 4G on the network with the most backhaul, whatever that is
[Atrix 4G General] ParrotSquawk:
My issue is with the microUSB is that Moto handles power differently through the USB and has for as long as I can remember. All my existing microUSB cables will connect fine for data but won't charge the phone. With all my other devices, one cable would work for all of them.

Why is this important to this conversation? If you are designing something that is cross-device compatible, you have hardware issues if you ever have to depend on power signals coming from the USB port.
[Atrix 4G General] Rred:
I think "hub" is the wrong term here. All USB devices are either MASTER or SLAVE. A slave device is just a dumb peripheral, like a hard drive. A Master has the extra on-board intelligence to know what to do with slaves.

So your computer is a Master. The keyboard, mouse, hard drive, and most phones are all Slaves. Plug anything you want into a slave and it will just sit there, they're all as dumb as a post.

The chip that allows a USB device to be a Master is an added expense. It needs to be able to compute, and to look for device drivers as needed, or to signal a CPU to do so.

So let's all stand back and be amazed: Either Moto made the Atrix A MASTER! So it knows what to do with keyboards and all, or the 5th "data signal" line on the microUSB has changed the world as we know it, allowing this to be done without a master controller. (Anyone know what the tech story really is on this?)

Whether there's power from a powered or unpowered hub, that's just incidental to the larger question of "Who just plugged what into me, and what am I supposed to do about it?"

Phones? Are just slaves. Smartenough Phones? Aren't phones at all, they're full-blown computers now, which just happen to have cell phone programs on them.
[Atrix 4G General] Mgamerz:
For otg, a powered hub (or a power injector) is needed, unless using a low power device like a keyboard.

Yes, old moto phones don't accept non standard chargers... but my atrix works on usb, wall charger with any microusb cable I use. I have nokia, moto, and generic.

Car chargers are different as power and data ports are more commonly separated. MicroUSB is a phone charging standard now, so I kind of would guess the companies that signed would be violating the common microusb standard in place.

To the above post: software hacks can make otg, look at maemo 4 diablo on the nokia n8x0 series. You need alternative power though.

Sent from my Motorola Atrix 4G on the network with the most backhaul, whatever that is
[Atrix 4G General] ParrotSquawk:
The Master/Slave analogy is a good way to look at this. It clears up the image. AIUY: The USB port sits on and expansion bus which theoretically could have multiple ports connected to it if the software/firmware allows it, which the Atrix apparently does (the lapdock is really many devices on a "hub" connected to that one USB port on that bus)

Your social commentary on what phones have evolved into is also interesting. I remember one of my first mobile phones (mobile? it came in two parts, one which had to be toted in a big canvas bag.) My current phone drives my life: it maintains my calendar, contacts, agenda etc...So I am very happy with the dynamic, exponential growth of smartphones. The more phones, the "smarter" they become.

*AIUY= As I Understand You
[Atrix 4G General] Rred:
AFAIK a "hub" is exactly that, a dumb y-connection that simpy "splices" multiple devices onto the same cable.

A hub is NOT the same as the USB "bridge" or controller that is inside of a computer, allowing one controller to support multiple devices. If you pay Alien Autopsy on a typical USB hub, powered or unpowered, you should find just wires and leads, no active electronic components, no circuit chips. At best maybe a fuse for the powered hubs.

How the Atrix and its docks deal with multiple devices, i don't know. Bear in mind that USB3 gies them the option to use dropping resistors on the 5th wire as signals, and the Atrix can be "dumb" but simply by reading those signals, know what it plugged in. WIth the lapdock, I'm guessing there's some active electronics (a USB controller) in the dock to deal with questions of keyboard/mouse/whatever.

But returning to hubs and the phone itself? Phone smart, hub dumb. Or at least, phone smarter than hub.<G>
[Atrix 4G General] zanzee:
ALL and I repeat ALL usb hubs have a controller built in, you cannot simply spider wires off a usb connection. USB is built off Ethernet and serial. Think of a usb hub like a managed Ethernet switch, it has a small amount of ram (temp store device ids and such) and flash as well as a very basic cpu.
[Atrix 4G General] Mgamerz:
Universal Serial Bus. Wikipedia it

Sent from my Motorola Atrix 4G on the network with the most backhaul, whatever that is. This post might have errors as I hate touchscreen keyboards.
[Atrix 4G General] Sir_Brizz:
Well, I got the host adapters and the dongle hub and tried it out. It works great. I didn't check battery life or anything and I used the packaged USB->AC adapter that came with my Atrix. I only tested it with a mouse in the browser, but it moved between controls just fine.

Now I need to find an extension cord that will work for the power and hope that the hdmi cable will fit in with the USB host attached and I'll have a ghetto version of the dock. :)
[Atrix 4G General] Rred:
"ALL and I repeat ALL usb hubs have a controller built in,"

Thanks, I wasn't aware of that.

One more reason that some of the cheap stuff may not work properly all the time. (As folks sometimes report.)
[Atrix 4G General] stvmac11:
Could we possibly use Tasker to automount attached flash drives?

using "USB Plugged" then check for the availability of the block/sda1.

if it's there, then use the terminal addin to "mount -t vfat /dev/block/sda1 /sdcard-ext/usb"

If I have time, I'll check into it, but as of now, I don't even have a cable ;)
[Atrix 4G General] sengot:
I just ordered this (see attachment), and just realized, will my hdmi cable will fit side by side with this OTG adapter? It seems big lol
[Atrix 4G General] paravorheim:
It will fit, but just barely. It's very tight.
[Atrix 4G General] sengot:
thanks for the info. I might cut the rubber a bit to make it less-tight :)
[Atrix 4G General] mrfahrenheit94:
That's what she said.

I'm sorry. It had to be done. Interesting thread....is it possible to use a device that doesn't need the 5v? It just seems like a pain to add the 5v into the equation.
[Atrix 4G General] Mgamerz:
5v? You mean 500mA? Low power devices such as keyboards should work. Once we get ics on this, we should have a decent driver library.

Sent from my Motorola Atrix 4G on the network with the most backhaul, whatever that is. This post might have errors as I hate touchscreen keyboards.
[Atrix 4G General] defiftyae:
I got all my parts from deal extreme and i thought i'd post some pics. the otg adaptors fit like a glove with the stock hdmi cable. It all works like a champ even with a wireless keyboard and mouse. I purchased the hub another member recommended and I used a power cord from a belkin powered hub I had that puts out 5 volts 3.8 amps. My only question is if 3.8 amps is to much or this setup? the phone will charge while its hooked up. Thanks to everybody for all the parts info.
[Atrix 4G General] Mgamerz:
You have the same case as me! :)

Also it charges? That's kind of strange since the atrix is master. Though my previous otg device had a difference charger port.

If we had kernel access you wouldn't need those special cables, only a microusb to normal female usb.

Sent from my Motorola Atrix 4G on the network with the most backhaul, whatever that is. This post might have errors as I hate touchscreen keyboards.
[Atrix 4G General] zanzee:
You need the 5vdc not the amps(you need some current of course). The 5vdc turns the host on and without it nothing happens. The phone can't supply any power at all. Hubs that follow usb spec have no power going up steam, only the cheap ones do for the most part.
[Atrix 4G General] Rred:
defiftyae-

That 3.8A isn't "there" it is just "available" if a device pulls it. If your device pulls 100mA or 500mA or 1A, the amperage (current) is available to feed it, but the excess will not flow into the device. Current draw is self-limiting, even in a dead short which can draw thousands of amps, but stops when something burns up. (Typically a fuse.<G>)

USB 2.0 required 500mA per device to be available, that's 2.5A for a 5-port hub to share among the devices. USB 3.0 IIRC sets a requirement for more power still and with some devices like the Atrix pulling more than 500mA, it isn't unreasonable to have 3.8A available.
[Atrix 4G General] defiftyae:
That makes sense Rred cause it was a 7 port hub I got the ac adaptor from. Good to know.
[Atrix 4G General] Mgamerz:
The atrix never pulls more than 500ma on a standard port. That's whybthe rapid car charger is" rapid"- data ports are not used.

Sent from my Motorola Atrix 4G on the network with the most backhaul, whatever that is. This post might have errors as I hate touchscreen keyboards.
[Atrix 4G General] zanzee:
Wrong, to make it pull more than 500mah you just need to bridge both data lines. Just make sure the psu your drawing from can handle it. I've been thinking about Modding my USB hub with a switch to trick the atrix into AC power mode then switch on the data lanes after.
[Atrix 4G General] Itz Worm:
Noob here on the forum. So to clarify, it is technically possible to have the OTG enabled, with a powered usb hub attached, and charge the phone with more than 500mah, but with defiftyae's setup he will only be able to achieve that current (500mah) to the phone. This raises two questions for me; If he were to bridge the data lines (presumably 2 and 3), for a short period of time (aka some type of switch as suggested), A) Would the hub actually provide more than the USB standard (500mah) to the phone and, B) How long would the current be sustainable and/or sustained (hopefully indefinitely or until disconnected). I guess this really begs the question of how the actual media dock achieves this.

TL/DR: Where is(are) the current bottle neck(s) in a setup like defiftyae's
[Atrix 4G General] zanzee:
My guess is with a resistor of a certain value on one of the lines.
[Atrix 4G General] Lizzo:
hey, i can get a usb mouse/keyboard to work on my phone, but every time i connect a flashdrive i get the following error "The application usb (process com.motorola.usb) has stopped unexpectedly. please try again"... i have formatted it as fat 32 and my usb device is powered. do i need webtop to be enabled (like the pic in the first post) for it to work?
[Atrix 4G General] Norcalz71:
http://www.amazon.com/Motorola-Conn...G6WC/ref=sr_1_5?ie=UTF8&qid=1311633705&sr=8-5

any chance this connector for the xoom would work on the atrix as well no power source needed?
[Atrix 4G General] zanzee:
That cable is just a breakout cable so you'd still need 5vdc. As well its way over priced, you can get the dongles on dealextreme for $2
[Atrix 4G General] Blizzard22:
Listen Up Guys I made It!

Im using Cherryblur 2.3.4 and I plugged the Atrix to a USB Hub and plugged my Mouse, Keyboard, PSP without problems!

My atrix could detect my PSP without problems!

After I plugged my PSP into the Hub my Atrix tells me there is a new device detected.

And I can (at example) play music from it from the stock datamanager.

Its just great that my Atrix auto Mount it just so easily!

Update:

I have only two problems but Ithink the first is my USB Hub isnt good.

1.My Hub can only accept one USB Device.

2.My Atrix can detect my 1,5 TB Storage Device but he says that there are no data found.

Thats not true but maybe somebody knows how to fix that.

Update 2:

Without HDMI I can use the the Hub too but my Atrix screen can't react fast its laggy.

It unusable without HDMI plugged in the Atrix.
[Atrix 4G General] naturefreak85:
So did you use a standard USB OTG cable? Or did you have to build one with the 5V DC?
[Atrix 4G General] primeboss:
Does anyone know of Powered Hub that works without soldering that is on Amazon. How do you know if the hub needs to soldered or not. I have the links for the 2 hubs confirmed working without soldering but those are from dealextreme. I want to buy from amazon to use my gift cards.
[Atrix 4G General] cerps:
Can you post the links to the 2 hubs from dealextreme that work? I have the one for the hub with all the usbs on the cables, but can't find the link to the other one.
[Atrix 4G General] Lizzo:
grrrr...i still get the same error but i'm able to connect my kb and drives(after i use the script to make the drive show up in a folder i created on my sd card)
[Atrix 4G General] shriva:
new app out in beta, connects your canon DSLR (Camera) to your phone so you can run camera in tethered mode without a computer. tested and working on the xoom..

Needs USB host support and a OTG cable.. Think it would work on the Atrix? or we need the 5v to make it work?

Any chance now that BL is unlocked that someone could turn this on without the 5v via custom kernel or something?

I would love to be able to tether my Camera on the phone, or plugin an external webcam if that would be possable also?
[Atrix 4G General] Mgamerz:
I love saying how my nokia n810 was open source and had otg built in.

Trolling from my ATRIX 4G on probably the crappiest main US carrier
[Atrix 4G General] Rred:
"2.My Atrix can detect my 1,5 TB Storage Device but he says that there are no data found.

Thats not true but maybe somebody knows how to fix that."

AFAIK Android only recognizes FAT-formatted drives. Odds are your drive is formatted NTFS (which is a better, more reliable system) and you'll have to reformat it to one of the FAT versions.
[Atrix 4G General] zanzee:
It'll see ext formatted as well, you just have to manually mount them via command line. If you install fuse you'd be able to load ntfs too.
[Atrix 4G General] paravorheim:
I think some of these newfangled kernels have ntfs support built in, ill try to find out on Wednesday when I get to a computer.
[Atrix 4G General] Djazin:
Holly hell I just went out and bought a dock x.x guess Ill use this for the other atrixs XD, I have fuse currently but how would I be able to get ntfs read by my atrix?
[Atrix 4G General] nodex:
Thanks to callen, I had enough info to mod a usb hub to work for me. I cut the data lines from the original plug, and used the micro usb port from one of those adapters from dealextreme (after cutting off the other end) and all I have to do is plug the usb plug into a port, and the micro usb plug into my atrix, and everything works. USB drives do automount which is nice.

The left Windows key on my keyboard is the menu button.

Micro usb port shown in pic. I soldered the 4th and 5th pins in the connector together (ID and GND) and then soldered that plus the other 3 pins to the usb hub.
[Atrix 4G General] Norcalz71:
so I received my OTG adapter and hub from dealExpress yesterday. Plugged it in and everything seemed to work fine while in the webtop. It recognized one thumb drive immediately, the other it recognized but said it did not see a file system, I am guessing it is NTFS.

Does the host mode work when the phone is just a phone, and not in webtop mode plugged into a monitor? For example if I have movies on a thumb drive and wanted to watch them just on the phone. When I plugged everything in initially without being plugged into a monitor in webtop, it did not recognize anything. However like stated, it popped up immediately when I was in the webtop environment.
[Atrix 4G General] aggielover:
Xoom Hack

Would it be possible to do what they did to get host on the Motorola Xoom?

Link: http://www.slatedroid.com/topic/15979-hack-enable-usb-host-mode-ie-thumb-drives-on-the-xoom/
[Atrix 4G General] Lizzo:
holy butterballs batman!!..it works!! :D thnks alot man ;)
[Atrix 4G General] Mgamerz:
Why do you need an otg cable? Does the software drivers not control the usb? My nokia n810 had this, this isn't real otg.. android feels so closed source.

Trolling from my ATRIX 4G on probably the crappiest main US carrier
[Atrix 4G General] omni_angel7:
Do you mean to say you flashed the xoom's boot.img or you did the same custom edits to ours? Please share your success with us :)

-omni
[Atrix 4G General] Lizzo:
lol nope, that's un-necessary. since most of the atrix's roms already have the required folders pre installed into the /mnt/ folder (i'm currently on cherry pie) all u have to do is go to your "vold" file and edit it to look like this...

# flash drive connection to USB1

dev_mount usbdisk_1.0 /mnt/usbdisk_1.0 auto /devices/platform/tegra-ehci

dev_mount usbdisk_1.0 /mnt/usbdisk_1.0 auto /devices/platform/tegra-ehci/usb1/1-1/1-1:1.0

# flash drive connection through hub connected to USB1

dev_mount usbdisk_1.1 /mnt/usbdisk_1.1 auto /devices/platform/tegra-ehci/usb1/1-1/1-1.1

dev_mount usbdisk_1.2 /mnt/usbdisk_1.2 auto /devices/platform/tegra-ehci/usb1/1-1/1-1.2

dev_mount usbdisk_1.3 /mnt/usbdisk_1.3 auto /devices/platform/tegra-ehci/usb1/1-1/1-1.3

dev_mount usbdisk_1.4 /mnt/usbdisk_1.4 auto /devices/platform/tegra-ehci/usb1/1-1/1-1.4

dev_mount usbdisk_1.5 /mnt/usbdisk_1.5 auto /devices/platform/tegra-ehci/usb1/1-1/1-1.5

dev_mount usbdisk_1.6 /mnt/usbdisk_1.6 auto /devices/platform/tegra-ehci/usb1/1-1/1-1.6

dev_mount usbdisk_1.7 /mnt/usbdisk_1.7 auto /devices/platform/tegra-ehci/usb1/1-1/1-1.7

then replace the usb.apk with the one from the cm7 pre beta rom (dont forget to set the permissions) then restart and u'll have true usb host with the use of a usbotg cable cuz whatever flash drive/fat32 hard drive will auto-mount in "/mnt/usbdisk_1.0"
[Atrix 4G General] XxKILLx3RxX:
has anyone else tried doing this?
[Atrix 4G General] Lizzo:
lol just do it and quit askin questions :p
[Atrix 4G General] Rajinn:
the mouse cursor appears to work in gingerbread
[Atrix 4G General] abbots:
i have 3.1 3G 'standard' Xoom, it doersn't seem to have Usb.apk, how/where to install/copy ? it ? what permissions does it need?

on my standard Xoom, I don't have all these dirs in /mnt, do I make them with mkdir ?

thanks
[Atrix 4G General] pukased:
I cant find files

Hi, i cant find this files, i have 2.3.4 stock.
[Atrix 4G General] pukased:
How to

Sorry i understand, could you make "How to" step by step? pls.
[Atrix 4G General] lellouchftw:
Read a few pages but can't find a clear answer to my question:

Currently is there a way of getting USB OTG onto my atrix without soldering or fiddling with my Atrix, and without the Webtop?

If so can you link me to the relevant items please >.<
[Atrix 4G General] nopnopnop:
Yes. The XOOM camera adapter plus a powered hub. If you want portable, you'll probably need a USB battery and a hub that can be powered from a (second) upstream port.

http://xdaforums.com/showthread.php?p=17235153
[Atrix 4G General] Lizzo:
i'll try my best to make one... but the way i do it, u do not need to follow anything on the first page
[Atrix 4G General] pukased:
Yeess

Yes pls i have 2.3.4 stock, OTG adapter I bought and I could not use :(
[Atrix 4G General] nopnopnop:
Which hub and which OTG adapter?
[Atrix 4G General] Xram:
To start, sorry for link, < 8 posts...

And sorry for my bad english, i'm french!

DIY OTG cable :

www[dot]tombom.co.uk/cable.jpg

(source : www[dot]tombom.co.uk/blog/?p=124)

You don't need to do the micro-dongle, just to connect micro usb b male to usb a femelle AND TO usb a MALE for usb power (mass no necessary to solve) / unsolve resistor and bridge pads instead.

Like that, if you want to connect usb hub you can, and it works terribly.

All usb hub will work! Multi usb good, this is my installation :

img11.hostingpics.net/pics/206694Image001.jpg

For supply just use a 220vac/5vdc converter (prefer min 2A for 4 ports hub, each port need -at max- 500mA, depend of devices).

EDIT : really, 2.3.4 is awesome for usb host. Cursor for mouse, automount of usb drive, ...

I have some questions about drivers. Need I create driver and app to use devices like webcam, card reader and other ?
[Atrix 4G General] dzr:
Atrix 2

Will these work to get USB Host on Atrix 2 (BTW, the bootloader is locked)?

http://www.dealextreme.com/p/micro-usb-on-the-go-host-otg-adapter-pair-50774

http://www.dealextreme.com/p/cable-style-dual-power-1000ma-usb-2-0-4-port-hub-13526

or

http://www.dealextreme.com/p/usb-2-0-4-port-hub-with-short-circuit-protect-white-41232
[Atrix 4G General] Zeljko1234:
I bought USB hub, OTG adapter and with official rooted 2.3.4 works great. Mounting automatically, mouse and keyboard works. Atrix touch screen is laggy after connection, mouse cursor is not, but after few minutes event touch screen is normal again. So I suppose I don't need to solder anything?

I though that this mode will trick Atrix that is connected to dock. Obviously this is not the case. If I connect to monitor, I only have multimedia center option, without webtop. Is it possible to make a hardware trick that Atrix thinks it is connected to the dock?

Callen81, thank you for great trick :)
[Atrix 4G General] maajstor:
Look at [MOD] Webtop over HDMI Hack for Atrix GB 2.3.4 (HKTW, AT&T 4.5.91, ORFR 4.5.2A). Or load any of ROMs that have it already integrated.
[Atrix 4G General] Zeljko1234:
Thanks, I know that software mode. I'm looking for hardware mode. Atrix must recognize somehow that is connected to the dock. Probably over HDMI?

Did you try this soft mode?
[Atrix 4G General] nopnopnop:
Sorry for the lack of links. XDA is telling me to POST MOAR, and I don't feel like spamming some thread with lolmetoo.

I think you need a different thread for the Atrix 2. I had forgotten it launched until I bought a TPU-Case from Amazon and didn't read the product description. Oops. (For the record, the case is too large to fit an ATRIX 4G properly and of course has the wrong cutouts in the back.)

I don't know, and people have reported varying quality in these kinds of adapters. At that price there seems little harm in trying, as long as you don't conclude a failure using them proves the device won't work.

Motorola sells a cheap little 3" female microUSB-to-left-angle-microUSB cable. A rigid chain of adapters sticking out the side of a phone just screams "I'm a long lever to crack your case open" but I'm a known alarmist.

That appears to be the same hub I was using on my ATRIX 4G (except my packaging is in Japanese.) I can confirm it works with several kinds of USB battery on the red upstream port as well as a USB wall adapter. I used the XOOM camera adapter on the black port to plug into my phone.

On a 4G that almost certainly will not work by itself, if I read the description correctly: it's an unpowered hub. The hub draws all its power from the single upstream port; your phone would have to run the hub itself as well as devices connected to it. AFAIK most phones need an external source of power for any USB devices besides maaaaaybe flash drives.

For such unpowered hubs you may be able to use the same kind of USB power Y-adapter people use on hard drives; these also have a red plug for power and a black plug for the OTG cable.
[Atrix 4G General] maajstor:
I'm actually using it on a regular basis. All you need is connect your Atrix to external display via HDMI. I also have it connected to powered USB hub to connect mouse and keyboard. Bluetooth peripherals will also do. :cool:

edit: USB hub must be connected with OTG adapter. This one works fine with me.
[Atrix 4G General] iwcarbon:
For a cable i actually had an idea to use something like this:

USB Rapid Charge Cable

usbfever.com/index_eproduct_view.php?products_id=167

Then Plug one into a 5V USB DC Cigarette Outlet Plug

The other end into the phone with the Micro USB OTG

Then you have the other end for a hub... or direct to device.

should be no soldering required, and will charge your phone.

usbfever.com/index_eproduct_view.php?products_id=2584

This is also nice.