USB OTG (USB host functionality) on Razr - Working! - Motorola Droid RAZR

I'm assuming Razr support usb host functionality as the motorola multimedia dock has USB ports.
I connected a samsung micro usb male to usb A female cable to it with a USB key (checked with a pair of models), but couldn't reach its files.
The Razr couldn't see it.
Maybe I'm missing something as I'm new to android world, but USB host functionality right from the phone without too many adapters would be the first thing I would show to any Apple's slave to show what modern phone is expected to do.
Hope I wasn't wrong as USB host capability + Bluetooth 4.0 together with its fast response and good audio were the quite unique specs (at least on the same device) which lead me to invest on it!
Anyone found a solution to use a standard adaptor or are we tied to the motorola multimedia dock (or hopefully at least a smaller proprietary adaptor?)
Maybe something like the Xoom 'desktop hack' could be a solution or is there any simpler one? I don't know exactly if this hack gave also OTG functionality together with unblocking the desktop mode (couldn't understand from what I googled around).
[go directly to the post with the actual findings
http://forum.xda-developers.com/showpost.php?p=20008351&postcount=31
I'll update this first post with a resume of the findings as soon as I'll have time to ]

Check this thread http://forum.xda-developers.com/showthread.php?t=1343982#post19398196

I have usb host cable from my old s2 ,i have tried but doesn't works any usb pendrive or usb mouse/keyboard.
Inviato dal mio XT910 usando Tapatalk

can u provide a link where did u buy it?

Szadzik said:
Check this thread http://forum.xda-developers.com/showthread.php?t=1343982#post19398196
Click to expand...
Click to collapse
Didn't helped, as from my first post I already checked with a samsung adaptor and didn't worked out of the box.

asheg said:
can u provide a link where did u buy it?
Click to expand...
Click to collapse
I bought it in a real life store, actually 'Mondadori informatica' which had in stock Razr since the 10th of November.
If it helps it is Model: ET-R205UBEGSTD by Samsung.
I checked it with two FAT32 memory sticks and didn't worked

It's useless.
You need a powered USBHost cable, so you need to connect the 5V to an external battery or an external power supply, and TX/RX to the USB end of the device you are connecting to the phone.
Or, alternatvely, you need a powered USB Hub.
It won't just work. Motos don't give any output power from the USB.

so did anyone find working otg usb host so far?

i have the proper nokia cable which works on the Xoom but it wil not work on the RAZR (i assume) until like the Xoom a custom kernel can be installed to access this feature.
dont see that coming anytime soon (least not Verizon RAZR)

Can't you all read what someone writes prior you?
USBOTG WORKS ONLY IF EXTERNALLY POWERED. HARDWARE LIMITATION.

kholk said:
Can't you all read what someone writes prior you?
USBOTG WORKS ONLY IF EXTERNALLY POWERED. HARDWARE LIMITATION.
Click to expand...
Click to collapse
If OTG functionality were just a matter of powering a device with an external source that would not be a big issue considering the avaiability of power reserve devices.
I think a step forward in understanding Razr's OTG capabilities will be given dismantling a multimedia docking station and playing with it as soon as it will be available.

@Karmarock
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1 VCC Red +5 V
2 D− White Data −
3 D+ Green Data +
4 ID none Mode Identification
5 GND Black Ground
LapDock:
+5V and GND connected directly to the battery of the LapDock, TX+RX connected to the integrated USB HUB.
Docking Station:
+5V and GND connected directly to external power (5V AC), TX+RX connected to the integrated USB HUB.
Oh, in BOTH, for enabling the Host Mode, pins 4 and 5 are shortcircuited, exactly as the USB OTG specifications.

Dismounted a micro usb male to USB female cable, to my surprise found it with connection 4 free.
Hence made the 4-5 bridge and checked again.
Yet no usb host connectivity with an external powered 2.5 HD.
The HD happened to charge the Razr.
Hence modified the cable disconnecting the +5V.
Now I should have an OTG cable with an external powered devices.
As soon as I'll find back my USB Y cable I'll check with it and some external devices to see if any of them is recognized right out of the box.
Yet I suspect that, like the Razr Upon USB connection let you choose between some differents kind of connections, maybe some settings has to trigger host mode.
Any idea?

You've done something wrong, mine works fine in USBHost Mode.

kholk said:
You've done something wrong, mine works fine in USBHost Mode.
Click to expand...
Click to collapse
Details? 10char

kholk said:
You've done something wrong, mine works fine in USBHost Mode.
Click to expand...
Click to collapse
What an incredible news!
There are quite a bunch of posts around about Razr USB host capability, but up to now (to my google capabilities) no one succeeded in connecting any external I/O!
I'm pretty sure about the wirings (at least according to pure guessing from your schematics) as I checked all of them with a tester.
The wiring I made is quite simple
on the micro USB side:
contacts 4 and 5 bridged
Data wires connected to its corresponding ones on the female USB.
Power and ground on the female USB taken from an male USB connected to a charger.
Anything wrong?
Now it comes the detail requests:
1) What does it happen when you connect your cable to the Razr. Does it recognize it in some way giving any notice?
2) Rooted is needed? (Mine is not yet rooted).
3) Any special setup/tweaking to have OTG working?
4) Where do you access the external I/O contenct? From a directory in \SDcard otherways where else? Can you name it?
5) What I/O have you succesfully connected? Any kind of memory stick works? Any kind of HD? Mouse? Keyboards?
Thanks in advance in the name of all of the Razr's users interested in usb host functionality!

You would have to connect ground from the charger to the phone also.

pajn said:
You would have to connect ground from the charger to the phone also.
Click to expand...
Click to collapse
Thanks Pajn for the suggestion, actually updated the wirings but with no luck!
Are you currently using a cable like this to connect devices to your Razr?
If the following questions could be answered at least we would know what to expect when the wirings are correct!
Karmarock said:
Now it comes the detail requests:
1) What does it happen when you connect your cable to the Razr. Does it recognize it in some way giving any notice?
2) Rooted is needed? (Mine is not yet rooted).
3) Any special setup/tweaking to have OTG working?
4) Where do you access the external I/O contenct? From a directory in \SDcard otherways where else? Can you name it?
5) What I/O have you succesfully connected? Any kind of memory stick works? Any kind of HD? Mouse? Keyboards?
Thanks in advance in the name of all of the Razr's users interested in usb host functionality!
Click to expand...
Click to collapse
@Kholk
Some words about your experience are eagerly waited with great anticipation!

Karmarock said:
Thanks Pajn for the suggestion, actually updated the wirings but with no luck!
Are you currently using a cable like this to connect devices to your Razr?
If the following questions could be answered at least we would know what to expect when the wirings are correct!
Click to expand...
Click to collapse
To bad it didn't work
No I have not tested. I proposed it because it have to be so electrically. If you don't connect ground the phone have no possibility to read the signal.
IE. if you power to things from different sources you should always connect the ground.
I don't have a cable so I can't test myself

Karmarock said:
What an incredible news!
There are quite a bunch of posts around about Razr USB host capability, but up to now (to my google capabilities) no one succeeded in connecting any external I/O!
I'm pretty sure about the wirings (at least according to pure guessing from your schematics) as I checked all of them with a tester.
The wiring I made is quite simple
on the micro USB side:
contacts 4 and 5 bridged
Data wires connected to its corresponding ones on the female USB.
Power and ground on the female USB taken from an male USB connected to a charger.
Anything wrong?
Now it comes the detail requests:
1) What does it happen when you connect your cable to the Razr. Does it recognize it in some way giving any notice?
2) Rooted is needed? (Mine is not yet rooted).
3) Any special setup/tweaking to have OTG working?
4) Where do you access the external I/O contenct? From a directory in \SDcard otherways where else? Can you name it?
5) What I/O have you succesfully connected? Any kind of memory stick works? Any kind of HD? Mouse? Keyboards?
Thanks in advance in the name of all of the Razr's users interested in usb host functionality!
Click to expand...
Click to collapse
The first try was with the Motorola LapDock, the second one with a custom USBOTG cable.
When you connect the RAZR to the USBOTG cable or to a LapDock, it says that a dock has been connected to the device (HD Multimedia Station or LapDock, both are recognized as docks, obviously).
So you have to connect something to your RAZR and it will be instantly recognized but the USB Device Connected notification is shown only in WebTop, not in Android.
The USBOTG cable HAS TO give power to the RAZR and to the devices you're connecting to it, otherwise the RAZR won't recognize the Dock Connected status.
Be sure your AC power is 5V with at least 1A, otherwise there won't be enough amperage for RAZR and the connected device and since the RAZR has got the priority, you'll only charge the device's battery and your connected USB device won't have the necessary power for working correctly.
ROOT is not needed for OTG USBHost operation as the device has been configured by Moto to work in USBHost Mode.
When you connect an external pendrive, the device will automatically create a device node and will automatically mount the connected pendrive/USBHDD in a directory created in /mnt.
I've successfully connected all the device I was able to use on ATRIX, including keyboards, mouses, an 8GB PenDrive and a 500GB external HDD.
I'm also about to see if I can do a modification to the ATRIX LapDock for including into it another USB HUB and a switchable (ON/OFF) 2.5 250GB SATA->USB HDD. If I'll success in this, I'll also post on xda-developers a thread with the instructions on how to do that.

Related

Portable dvd writer - and portable printer

Hi guis, someone has already found/buy valid device?? thanks
I use one of these, small, slim, usb bus powered, multi format.
http://www.ebuyer.com/product/132741/show_product_specifications#specifications
Pantaloonie said:
I use one of these, small, slim, usb bus powered, multi format.
http://www.ebuyer.com/product/132741/show_product_specifications#specifications
Click to expand...
Click to collapse
It's nice that it's a small one, but every USB device will work
I didn't have any, but have an USB Harddisk (IDE).
I attached a DVD player to the IDE connection for the harddisk and it worked.
I'm not using this everytime, but only used it for installation of SP1 and Office 2007 Enterprise.
Now my HD is putted back in his case
Pantaloonie said:
I use one of these, small, slim, usb bus powered, multi format.
http://www.ebuyer.com/product/132741/show_product_specifications#specifications
Click to expand...
Click to collapse
If you put htcshift in bios mode, you can see the dvd writer on device list?
Very very very tanks!!
killer_t said:
If you put htcshift in bios mode, you can see the dvd writer on device list?
Very very very tanks!!
Click to expand...
Click to collapse
Don't know about that but you can select in the bootlist. (I used it to make a Ghost image )
michael85 said:
Don't know about that but you can select in the bootlist. (I used it to make a Ghost image )
Click to expand...
Click to collapse
I have an external 120 gb usb traxtor 1,8" hard disk, but i no see them in bios device...
Both my LG DVD drive and my 250Gb 2.5" WD Passport drive show in the bios and can be booted from.
LG DVD/USB writer not working!
michael85 said:
It's nice that it's a small one, but every USB device will work
I didn't have any, but have an USB Harddisk (IDE).
I attached a DVD player to the IDE connection for the harddisk and it worked.
I'm not using this everytime, but only used it for installation of SP1 and Office 2007 Enterprise.
Now my HD is putted back in his case
Click to expand...
Click to collapse
I have a similar one, that is LG GSA-E50L and it does not work properly...nothing helps, even SP1 could not make it work. The OS sees it and so does BIOS, i can even eject discs but it does not read or record any data !!! The device works excellently in my laptop/xp Media Center so it seems it is the problem of Vista...Who knows what to do?
ssaqu said:
I have a similar one, that is LG GSA-E50L and it does not work properly...nothing helps, even SP1 could not make it work. The OS sees it and so does BIOS, i can even eject discs but it does not read or record any data !!! The device works excellently in my laptop/xp Media Center so it seems it is the problem of Vista...Who knows what to do?
Click to expand...
Click to collapse
Are you using external power, or just the usb to power ?
Don't know that drive, i use a plextor, and it needs external power with the shift, or a usb power source pluged in the mini usb plug of the 3 port usb hub/lan device.
pusler said:
Are you using external power, or just the usb to power ?
Don't know that drive, i use a plextor, and it needs external power with the shift, or a usb power source pluged in the mini usb plug of the 3 port usb hub/lan device.
Click to expand...
Click to collapse
Cause the manual says it does not need any additional power plugs I used the equiped USB data cable (USB-mini USB) only. Another option suggested by the manufacturer that i used is USB data cable and DC-JackType USB power cable together that were pluged into 3 port USB hub from HTC...what exact model of the Plextor drive do you have, maybe i would buy one instead my LG...
my plextor is a PX-608CU
It dosnt need external power running on a laptop but i does when running on the shift,
On this drive there is 2 usb cabels, 1 power/data cable and one additional usb power cable.
even if i use both in the shift hub the is not enough power to use the drive unless i either use a miniusb powersupply to power the hub, or use external power to power the drive. (so the shift usbhub does not have that much juice in thats also why they made the powerplug in the hub)
Thank U Master !!!
pusler said:
my plextor is a PX-608CU
It dosnt need external power running on a laptop but i does when running on the shift,
On this drive there is 2 usb cabels, 1 power/data cable and one additional usb power cable.
even if i use both in the shift hub the is not enough power to use the drive unless i either use a miniusb powersupply to power the hub, or use external power to power the drive. (so the shift usbhub does not have that much juice in thats also why they made the powerplug in the hub)
Click to expand...
Click to collapse
It really is as you said; i would not have guessed that since the manual says it doesn't need additional source of power, but of course it does not refer to HTC Shift...so i really am grateful and i should also say sorry to MS for supposing some Vista bugs...
ssaqu said:
I have a similar one, that is LG GSA-E50L and it does not work properly...nothing helps, even SP1 could not make it work. The OS sees it and so does BIOS, i can even eject discs but it does not read or record any data !!! The device works excellently in my laptop/xp Media Center so it seems it is the problem of Vista...Who knows what to do?
Click to expand...
Click to collapse
nooooooooo, i buy it three days ago.. and arrives next week!!
are you sure? the gsa-E50L don't work on htc shift?????
if you attach into shift directly? without usb hub?
please reply!!!
killer_t said:
nooooooooo, i buy it three days ago.. and arrives next week!!
are you sure? the gsa-E50L don't work on htc shift?????
Click to expand...
Click to collapse
Read the thread it just need external power
For me its not a big problem since i bought the MP3450
witch have a usb power port that is always on.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
killer_t said:
nooooooooo, i buy it three days ago.. and arrives next week!!
are you sure? the gsa-E50L don't work on htc shift?????
if you attach into shift directly? without usb hub?
please reply!!!
Click to expand...
Click to collapse
Mine works ok when attached to the single usb port, but not when using the HTC hub... same goes for the 250Gb Passport drive.
I bought a slim wee LG DVD reader/writer, and also found that I had to use the USB power cable for the Shift to mount disks.
Question for the community: Windows Media Player refuses to play DVDs and pops up this error:
Windows Media Player cannot play DVD video. You might need to adjust your Windows display settings. Open display settings in Control Panel, and then try lowering your screen resolution and color quality settings.
Any suggestions for getting a disk to play without having to rip it first? Thanks!
Does anyone know of a slimline DVD player (not bothered about writer) that works with the Shift and will playback DVDs powered by the USB port only?
HTC Shift doesnt provide enough USB power for external USB devices!
Hi i use the following external DVD writer with my Shift ...
http://www.lacie.com/products/product.htm?pid=10986
The product is excellant and also has light scribe ... but let me assure u that though it works with a few laptops without external power, it doesnt work with shift. i have tried it without external power and though it's lights coome one and it spins also nothing is read... so u have to use an external power adapter with HTC shift if u wanna use an external dvd writer!
Realy portable printer, I would say Brother MW-140BT or MW-260 those are realy portable. Anyway either of them are too expensive.
I am using the old good Canon BJC-50 portable printer connected through the Delock USB Infrared adapter Ref. 61574.

[Q] Will this work ?

Just wondering if a typical cell charger can provide enough power to power these three things. (or if it will even work properly)
1 The Phone
2 A USB flash drive
3 HML adapter
What I want to do is connect power to the USB splitter male (I already have a wall plug to USB female adapter) then with the USB female ends I will connect a USB flash drive and then use a male USB to male micro-USB cable to power the MHL adapter. The phone goes to the other micro-USB end of the MHL adapter.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I want this for two reasons. 1 So I can play media from a flash drive to a TV or monitor and 2 (if this will even work) use it to connect a USB to XLR cable so that I can record with a better quality microphone to my phone.
I realize that the phone being able to recognize and use the flash drive or microphone may be an issue but I can take a chance on that if nobody can confirm if it will or will not work.
BTW: if you have not already noticed, we are finally starting to get some reasonably priced MHL adapters on fleabay now. They are ranging from around 20-26 CAD (one in picture is 26)
I would like to know as well, as that sounds like a great alternative to carrying around DVD's and stuff, maybe even an externally powered harddrive, would need extfat or ntfs support though for large files.
Sent from my GT-I9100 using XDA Premium App
Linux reads NTFS hard drives and flash drives fine, so I am hoping that Android should also.
I was planning on getting the MHL adapter regardless anyway, and the other cables that I would need would only be like 10 bucks. So I am wanting to try it out since, like you say, opens up more options for portability that may replace other devices or at least take up less space.
I was mainly looking to see if I would hear a show stopper of why not to do this, like if this set up could damage something that is connected.
K3VL4R said:
Linux reads NTFS hard drives and flash drives fine, so I am hoping that Android should also.
I was planning on getting the MHL adapter regardless anyway, and the other cables that I would need would only be like 10 bucks. So I am wanting to try it out since, like you say, opens up more options for portability that may replace other devices or at least take up less space.
I was mainly looking to see if I would hear a show stopper of why not to do this, like if this set up could damage something that is connected.
Click to expand...
Click to collapse
You will need a proper usb to go cable to connect the flash drive or hdd, i have connected a flash drive to my phone without any problems..
I would think you would need a custom kernels or ntfs-3G modules for the kernel you are using.
The big thing is if the phone can deal with being charged, output hdmi and connect to a HDD over the same usb port at the same time?
Maybe a powered hub?
Also wondering if there would be enough bandwidth on the bus to support that all.
The big thing that would be good for me is that I could buy a cheap self powered hdd, load it up with movies and stuff and watch it while at work where there's a lot of down time, and being able to charge and use tv out at the same time would mean I could watch the iplayer or something on the tv without having to worry about battery life!
Hey, connect a mouse and keyboard as well and your phone is basically a normal computer!
Sent from my GT-I9100 using XDA Premium App
Good idea. This powered hub is almost as cheap as the splitter cable and should take care of any power requirements.
As for the on-the-go cable, I have different angled micro male to usb female cables already so that I can help take stress off the jack when using it while charging. My USB flash drive does not power up with this cable. I just assumed it needed external power. What is different about the OTG cable, did they twist some wires or are mine just meant for charging if they are not working ? All the pins are present and the cable is thick, so no reason why they would not just connect everything internally.
Thanks for the replies so far.
K3VL4R said:
Good idea. This powered hub is almost as cheap as the splitter cable and should take care of any power requirements.
As for the on-the-go cable, I have different angled micro male to usb female cables already so that I can help take stress off the jack when using it while charging. My USB flash drive does not power up with this cable. I just assumed it needed external power. What is different about the OTG cable, did they twist some wires or are mine just meant for charging if they are not working ? All the pins are present and the cable is thick, so no reason why they would not just connect everything internally.
Thanks for the replies so far.
Click to expand...
Click to collapse
In order for usb to go to work you need a special cable, its got a special pin that's grounded or floating or has a few different values depending, the cables are very cheap on eBay or there's guides on how to make them.
OTG won't work with generic cables im afraid.
I just want this idea to work myself :d
Sent from my GT-I9100 using XDA Premium App
Im sitting here with a SGS2 with a USB kb, mouse, and a flash drive connected to it.
SGS2> (usb to go cable) > Powered hub > Mouse + keyboard + flash drive.
To get random devices to work (not hubs, input devices) you will need to add the device ids, see this thread for more info, more info and some device/vendor ids and a huge list of almost every device/vendor id
Attached is a rules file with logitech and some other vendors, add and expand as needed!
Now I need to buy a micro USB > many micro USB's and a mhl cable!
The powered hub is a must or stuff just wont work due to the power draw.
Im looking at picture of the MHL adaptor, and they all have a USB port for passthough, so we can defo at the very least charge while outputting via it.
The big question now is if you can daisy chain and do MHL and OTG at the same time!
Well, unless on a lucky chance the USB port will work with a splitter, you cant do MHL and OTG at the same time. A real shame
Thanks for the updates and links veyka. It also looks like the OTG cables do not charge the phone with the jumpered pins, so I will have to make sure and mark the OTG cables when they get here.
I should have the rest of my cables arrive in about 2-3 weeks and will post an update of what will or will not work. Sounds like the OTG cable alone should work with the USB to XLR cable for a microphone, as long as I can find a way to get the phone to recognize it. Though it would be nice to charge at the same time as well which the OTG does not support.
Do you know off hand what the headphone jack will accept for inputs ? Will it take TRRS or TRS audio in as well ? I am just looking at more options for XLR to the phone for connectivity without needing a mixer. Then I will use a mixer as well to see how much of a difference the balanced XLR out will make.
K3VL4R said:
Thanks for the updates and links veyka. It also looks like the OTG cables do not charge the phone with the jumpered pins, so I will have to make sure and mark the OTG cables when they get here.
I should have the rest of my cables arrive in about 2-3 weeks and will post an update of what will or will not work. Sounds like the OTG cable alone should work with the USB to XLR cable for a microphone, as long as I can find a way to get the phone to recognize it. Though it would be nice to charge at the same time as well which the OTG does not support.
Do you know off hand what the headphone jack will accept for inputs ? Will it take TRRS or TRS audio in as well ? I am just looking at more options for XLR to the phone for connectivity without needing a mixer. Then I will use a mixer as well to see how much of a difference the balanced XLR out will make.
Click to expand...
Click to collapse
In the end android should support anything linux does, you might need to build a kernel module (driver) or find someone that will for you.
You can get pretty much any input device going with the links above, but other stuff, I dont know im afraid
Hope lives eternal.
No clue im afraid
No problem bud. You have been more than helpful already. I already have a plethora of cables and devices for recording on laptop and PC with Windows and Linux. My Android uses for recording are so far purely just for practicing so that I have it down in case something of interest is created. So ease of use and portability is the main factor.
It also interested me just to be able to find different ways of recording since so much of it is done through software these says. The more knowledgeable I am with cables, signals and processing, the more options that I will have available to me. Though I still like to mic an amp then process afterwards.

[Q] Nexus Tab 7 - charging & USB host?

Hey, I was wondering if anyone knows how the Nexus Tablet 7 charges? Not through the USB port, right?
I have a Transformer right now w/ the dock & 2 full sized usb ports on it. But I have been waiting for the Nexus Tab for months, because of the screen, processor, and price. however since it does not have a microSD, I would definitely need to be able to plug in my 500GB usb hdd into it. I would need a OTG cable, right? And it does not use the MicroUSB port to charge, right? Otherwise how could you use the usb and charge it at the same time? Hoping someone can clear this up for me, thanks!
mvmacd said:
Hey, I was wondering if anyone knows how the Nexus Tablet 7 charges? Not through the USB port, right?
I have a Transformer right now w/ the dock & 2 full sized usb ports on it. But I have been waiting for the Nexus Tab for months, because of the screen, processor, and price. however since it does not have a microSD, I would definitely need to be able to plug in my 500GB usb hdd into it. I would need a OTG cable, right? And it does not use the MicroUSB port to charge, right? Otherwise how could you use the usb and charge it at the same time? Hoping someone can clear this up for me, thanks!
Click to expand...
Click to collapse
ditto. i would like to know the same thing.
it should be pretty easy to do, but not sure if its possible.
enohand said:
ditto. i would like to know the same thing.
it should be pretty easy to do, but not sure if its possible.
Click to expand...
Click to collapse
great, yeah, I would think you can do it but I just wanted to be sure before buying it. Perhaps when someone gets their Nexus Tab they can try it and tell us.
I'm not sure what the thoughts are around it, but I know Seagate has a portable Wifi Harddrive with an 8 hour battery.
http://www.seagate.com/external-hard-drives/portable-hard-drives/wireless/goflex-satellite/
I'm hoping that will deal with my additional storage capacity. I would love to know if it uses MicroUSB to charge just to avoid carrying several thousand adapters though.
mvmacd said:
great, yeah, I would think you can do it but I just wanted to be sure before buying it. Perhaps when someone gets their Nexus Tab they can try it and tell us.
Click to expand...
Click to collapse
after some digging i found out that the OTG cable or USB functionality does not work for external drives & only works for keyboard & mice by default.
im sure somthing has to be written to do this, or somthing has to be added to include the mass storage driver ?>
Well, Ebay says...
What's in the sealed box:
· Nexus 7 tablet
· >>>> USB sync/charge cable <<<<
· Dual-voltage USB wall charger
· Quick start guide
Click to expand...
Click to collapse
Spare charger puts out 5V 2000ma so yes it can charge via USB but much slower. The battery is so large most usb puts out 500ma so it would take 8 hours to charge battery from empty to full.
ToyTank said:
Spare charger puts out 5V 2000ma so yes it can charge via USB but much slower. The battery is so large most usb puts out 500ma so it would take 8 hours to charge battery from empty to full.
Click to expand...
Click to collapse
Hmm, well what I was asking if there was a way to charge AND use the usb port at the same time. Maybe with a powered hub, and a OTG cable? Anyway, would charging it via 5v 500 mAh be able to keep the battery level full? while using it, starting from fully charged?
enohand said:
after some digging i found out that the OTG cable or USB functionality does not work for external drives & only works for keyboard & mice by default.
im sure somthing has to be written to do this, or somthing has to be added to include the mass storage driver ?>
Click to expand...
Click to collapse
okay, ugh.. I really hoped Google would just support usb host mode off the bat. I guess all that's needed would be a kernel with host mode supported. but you'd need CWM, and root for that.. are there any forums that have the Nexus Tablet 7 category yet?? I would like to stay tuned for updates.
mvmacd said:
how could you use the usb and charge it at the same time?
Click to expand...
Click to collapse
You can always use USB hubs (not 100% sure). But, I'd recommend you to access your HDD over Wi-Fi. Many Wi-Fi routers support HDD connectivity. And, you can find HDDs with in-built Wi-Fi, too.
ToyTank said:
Spare charger puts out 5V 2000ma so yes it can charge via USB but much slower. The battery is so large most usb puts out 500ma so it would take 8 hours to charge battery from empty to full.
Click to expand...
Click to collapse
Hmm, well what I was asking if there was a way to charge AND use the usb port at the same time. Maybe with a powered hub, and a OTG cable? Anyway, would charging it via 5v 500 mAh be able to keep the battery level full? while using it, starting from fully charged?
enohand said:
after some digging i found out that the OTG cable or USB functionality does not work for external drives & only works for keyboard & mice by default.
im sure somthing has to be written to do this, or somthing has to be added to include the mass storage driver ?>
Click to expand...
Click to collapse
okay, ugh.. I really hoped Google would just support usb host mode off the bat. I guess all that's needed would be a kernel with host mode supported. but you'd need CWM, and root for that.. are there any forums that have the Nexus Tablet 7 category yet?? I would like to stay tuned for updates.
The tablet does support host mode.
However it can only be used for keyboard and mice, there is no drivers for external, or is sticks. Someone w ok und have to implement that with a Asop Rom
Sent from my SCH-I535 using xda app-developers app
enohand said:
The tablet does support host mode.
However it can only be used for keyboard and mice, there is no drivers for external, or is sticks. Someone w ok und have to implement that with a Asop Rom
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
I just found this: http://rootzwiki.com/topic/30129-kernel-nexus-7-cifsntfsusb-otg/
that will let me get a Micro USB OTG, and be able to plug in my usb hdd? And if I get a powered USB 2.0 hub, I can plug the OTG into the source port, and the power from the hub will charge it? and while it's charging I can then plug in my USB hdd into a port on the hub and it will charge & use the hdd at the same time?
If so as soon as I get home I will start looking for a Nexus Tab to buy
IndustryCanada said:
I'm not sure what the thoughts are around it, but I know Seagate has a portable Wifi Harddrive with an 8 hour battery.
http://www.seagate.com/external-hard-drives/portable-hard-drives/wireless/goflex-satellite/
I'm hoping that will deal with my additional storage capacity. I would love to know if it uses MicroUSB to charge just to avoid carrying several thousand adapters though.
Click to expand...
Click to collapse
Also Kingston has SSD wi-fi drives of 16, 32 or 64GB capacity - are about the size of an iPhone. Uses mini-USB for charging. http://www.amazon.com/Kingston-Wi-Drive-Mini-USB-WID-64GB-A/dp/B00822GIH2/ref=sr_1_1?ie=UTF8&qid=1342706869&sr=8-1&keywords=kingston+wi-drive+64gb
cushcalc said:
Also Kingston has SSD wi-fi drives of 16, 32 or 64GB capacity - are about the size of an iPhone. Uses mini-USB for charging. http://www.amazon.com/Kingston-Wi-Drive-Mini-USB-WID-64GB-A/dp/B00822GIH2/ref=sr_1_1?ie=UTF8&qid=1342706869&sr=8-1&keywords=kingston+wi-drive+64gb
Click to expand...
Click to collapse
Here's the thing, I already got a Seagate 500gb 7200rpm drive, so I ain't interested in wifi drives. I was looking for confirmation that the kennel I linked world make it work. And also Confirmation about the usb hub charging and accessing hdd at the same time, so if anyone has a Nexus 7 and OTG cable and would test this I'd be much obliged.
mvmacd said:
I just found this: http://rootzwiki.com/topic/30129-kernel-nexus-7-cifsntfsusb-otg/
that will let me get a Micro USB OTG, and be able to plug in my usb hdd? And if I get a powered USB 2.0 hub, I can plug the OTG into the source port, and the power from the hub will charge it? and while it's charging I can then plug in my USB hdd into a port on the hub and it will charge & use the hdd at the same time?
If so as soon as I get home I will start looking for a Nexus Tab to buy
Click to expand...
Click to collapse
I don't think so, the power source of a hub only delivers energy to the devices connected, not to the host
It charges like any other android phone.
RoberGalarga said:
I don't think so, the power source of a hub only delivers energy to the devices connected, not to the host
Click to expand...
Click to collapse
hmm.. you're right. so much for that idea..
Is there any way possible to charge the nexus tablet while using a OTG cable for plugging in a usb device?
what about a Y-Cable?
mvmacd said:
hmm.. you're right. so much for that idea..
Is there any way possible to charge the nexus tablet while using a OTG cable for plugging in a usb device?
what about a Y-Cable?
Click to expand...
Click to collapse
Hmm... a good idea. Time to paint
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Will it work? I dunno, but it's an idea to start
RoberGalarga said:
Hmm... a good idea. Time to paint
Will it work? I dunno, but it's an idea to start
Click to expand...
Click to collapse
Wow, exactly what I had in mind before I thought of the y cable. however I'd like to hear the outcome if anyone does try this, or the y cable
Dam...
No it will not work, the device does not have the ability to Mount a drive, it doesn't have the software needed to do so
Sent from my SCH-I535 using xda app-developers app

USB Host/OTG testing

I just got my DNA yesterday, and I have been testing a few USB peripherals to see how they work with an OTG adapter. I was unable to get anything working without an external power source, so I don't think the DNA is capable of delivering power via the port.
My setup consists of the following:
1. Belkin F5U234 4-port USB 2.0 hub
2. The hub is powered via a Mini USB Y-cable plugged into a USB PC/USB charging adapter (I can't seem to find the power adapter that came with the hub, but when I do, I'll test it)
3. The other end of the Y-cable is plugged into the OTG adapter, which is then plugged into the DNA.
From my experience so far, the hub has to be powered, with at least one peripheral plugged in, prior to plugging it into the phone.
I have been able to mount an SD card from a card reader and mount a USB flash drive.
I have been able to use a USB mouse.
I have not been able to get the phone to recognize a DSLR for use with DSLR Dashboard. However, I have not been able to do this on my Touchpad either, so it may be an operator malfunction. I've tried a Nikon D600 and D80.
USB keyboards should work.
Logitech Gamepad is recognized.
External hard drives are recognized, but should be formatted correctly.
Also worth noting is that the phone displays a message saying it's unable to charge the device and to use the supplied charger when the OTG cable is plugged in.
If someone can recommend a decent MIDI app for Android or a music production app, I have both MIDI devices and a Rocksmith cable that I can test with.
It has the ability to do USB otg self powered, just not enabled. Kernel needs it enabled.
Sent from my HTC One X using xda app-developers app
What format do you use for your hard drive? NTFS?
I've been plugging in USB flash drive, it mounts, but doesnt see any of my files on it... Also, it completely messed up my media files on the internal card, videos mostly, so I'm basically restoring the phone...
It doesn't seem to work with my wired Xbox 360 controller, sadly.
OTG WORKS
seedy oak said:
I just got my DNA yesterday, and I have been testing a few USB peripherals to see how they work with an OTG adapter. I was unable to get anything working without an external power source, so I don't think the DNA is capable of delivering power via the port.
My setup consists of the following:
1. Belkin F5U234 4-port USB 2.0 hub
2. The hub is powered via a Mini USB Y-cable plugged into a USB PC/USB charging adapter (I can't seem to find the power adapter that came with the hub, but when I do, I'll test it)
3. The other end of the Y-cable is plugged into the OTG adapter, which is then plugged into the DNA.
From my experience so far, the hub has to be powered, with at least one peripheral plugged in, prior to plugging it into the phone.
I have been able to mount an SD card from a card reader and mount a USB flash drive.
I have been able to use a USB mouse.
I have not been able to get the phone to recognize a DSLR for use with DSLR Dashboard. However, I have not been able to do this on my Touchpad either, so it may be an operator malfunction. I've tried a Nikon D600 and D80.
USB keyboards should work.
Logitech Gamepad is recognized.
External hard drives are recognized, but should be formatted correctly.
Also worth noting is that the phone displays a message saying it's unable to charge the device and to use the supplied charger when the OTG cable is plugged in.
If someone can recommend a decent MIDI app for Android or a music production app, I have both MIDI devices and a Rocksmith cable that I can test with.
Click to expand...
Click to collapse
A year ago I bought an OTG cable for my Rezound and of course it didn't work.
So yesterday, I visited the Verizon store to do a little testing with my dust laden OTG cable.
1) The DNA has a default setting for mounting SD cards. Settings--> Storage--> Mount SD. When I ticked this tab....bam!
2) The DNA recognized my Micro SD card from my Rezound phone. Upon opening the music player, the DNA found my music and played a song. Unfortunately, the phone didn't have a file manager app installed and the play store didn't have an account to enable downloading apps.
3) The DNA recognized my Logitech IR USB dongle but I wasn't able to get the keyboard working in the limited time I had. The Logitech keyboard showed up under Settings--> Launguage & keyboard--> Keyboard & input methods.
While I would prefer an SD slot, there is something to be said about being able to plug-in any USB storage device. I plan to return to the store and test further. For me, this is a game changer. I am seriously considering upgrading to this phone.
Now to overcome the case/battery issue. I'm very used to the comfort of the Rezound with the bulkier extended battery/case/holster setup. Fits perfect on my hip & hand, lasts all day and it's rooted with wifi tether. Meets all my needs but 1080p is addictive...
Icyman said:
A year ago I bought an OTG cable for my Rezound and of course it didn't work.
So yesterday, I visited the Verizon store to do a little testing with my dust laden OTG cable.
1) The DNA has a default setting for mounting SD cards. Settings--> Storage--> Mount SD. When I ticked this tab....bam!
Click to expand...
Click to collapse
What brand did you buy? I'm waiting for my DNA to get approved and I'm very interested in being able to continue to use my external SD card....plus if game pad peripherals work I'd be highly interested in that.
Icyman said:
Now to overcome the case/battery issue. I'm very used to the comfort of the Rezound with the bulkier extended battery/case/holster setup. Fits perfect on my hip & hand, lasts all day and it's rooted with wifi tether. Meets all my needs but 1080p is addictive...
Click to expand...
Click to collapse
My rezound's battery life is poor if I'm being optimistic and this is with barely using it. I have tried various kernels, roms, and batterys and I think this is just my third lemon.....Dying to get out of this into something else. I've read the fears on battery life but anything is better then what I have and a quadcore processor is worth dealing with it for the performance gain.
Bought THIS cable on ebay for a couple of bucks. Plugged a micro usb reader (with my 32Gig card in it) in one end and the other into my phone and voila! Complete access to my old external sd. Played my music fine and if I was rooted, I could restore an old Titanium backup. Love it!
So I been reading up on things dusting off my half knowledge of HTC (been since the Eris days) and from what I understand s-off is something that hasn't been real achievable for the phones that don't have am external sdcard. If what this thread is discussing do some more knowledgeable people think that this could be used to obtain s-off? The possibilities of this could be very promising our just wishful thinking!!
Sent from my AT100 using Xparent Blue Tapatalk 2
Was thinking the exact same thing....I know the crazy genius devs will figure something out.
Sent from my SCH-I535 using xda premium
milan03 said:
What format do you use for your hard drive? NTFS?
I've been plugging in USB flash drive, it mounts, but doesnt see any of my files on it... Also, it completely messed up my media files on the internal card, videos mostly, so I'm basically restoring the phone...
Click to expand...
Click to collapse
I belive the drive must be Fat untill NTFS is enabled in the kernal (based on the way the EVO worked)
Sent from my EVO using xda premium
Wanted to weigh in. I got an otg cable and used a Usb hub (not powered externally) and both my Logitech g9x mouse and Microsoft sidewinder x4 keyboard work and are powered by the phone. The game pad I have does not work.
edit: some pictures for proof just incase
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Also I know its hard to see the lights on the keyboard but they are on as well.
Got the Butterfly X920d today.
USB OTG working without hubs so far for: wireless USB keyboard and mouse, external storage, and most importantly for me USB AUDIO! Gamepads are a bust so far, but yet to try my gamepad (so far Logitech F310, PS3, Xbox 360 for Windows controller not working via USB OTG even with USB/BT controller, even the Wiiremote is not working over bluetooth when it did on my One X last year).
I can't wait for my USB OTG adapter I ordered from Amazon on 12/21/12 to finally get here off the slow boat from China (actually it's Japan I think)! lol estimated delivery still shows 1/18-2/5..but for $0.86 I cannot really complain.
bakemcbride21 said:
I can't wait for my USB OTG adapter I ordered from Amazon on 12/21/12 to finally get here off the slow boat from China (actually it's Japan I think)! lol estimated delivery still shows 1/18-2/5..but for $0.86 I cannot really complain.
Click to expand...
Click to collapse
The one i got from amazon just came yesterday. Worked with Sd card reader, will have to try to get a ps3 controller to work. Have no real need for it right now, but for 80 cents, might as well have it for when i do need something.
I've used a USB for a mouse and keyboard and SD card, yes SD must be FAT32 but I use a 32g card with no problems, streamed Movies at ease, between this, dnla and cloud I've got 8 gig free on my phone..
anyone figure out how to get the 360 to work?
Lights power on, but flashes and goes away when Android gives me a notification "Unable to charge"
Doesn't work with USB Stick Center, etc...
I can mount flash drives and such however
How could I enable USB OTG self powered mode?
c5satellite2 said:
It has the ability to do USB otg self powered, just not enabled. Kernel needs it enabled.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
How could I enable USB OTG self powered mode?
I've been waiting for a reply to this since 2013. Almost 5ish years lol.
Vhwang said:
How could I enable USB OTG self powered mode?
Click to expand...
Click to collapse
Bud, I doubt anyone has very many functioning dna's at this point. But I would check out roms that support this out of the box at this point.

[INFO] HP TP USB OTG Notes, Tips, & Tricks (4-28-14)

[INFO] HP TP USB OTG Notes, Tips, & Tricks ​
DISCLAIMER: I'm not a dev, nor do I play one on t.v. Use the information and links at your own risk. READ and UNDERSTAND what your doing before flashing is the best bet. I take no responsibility or credit for the information.
This is a work in progress... Still gathering my notes for the thread.
Major Credit to @ramjet73 for working with me on the Evo3d OTG Tips & Tricks thread and allowing me to reuse the info here:
-----------------------------------------------------------------------------------------------------------------------------------
Other XDA USB OTG related threads:
Spunker88's HP Touchpad USB OTG Compatibility List
Solar powered USB hub (kinda cool)
Nitty gritty OTG hardware discussion
Mpgrimm2's [MOD] Self Powered USB OTG on the HP Touchpad! (v2 Full Size)
ramjet73 said:
For kernels that have On-The-Go (OTG) USB host support built-in, it's very easy to support USB peripherals such as keyboards, mice, flash drives and portable hard drives from your phone regardless of the ROM installed. If you would like more information about OTG, here's a very good thread in the XDA Sensation forum that covers it pretty well.
The commands to mount and unmount USB storage devices manually are covered in that thread, but I've found the easiest way to mount and dismount my flash drive is to use an app called [root]StickMount from Chainfire, the developer of SuperSU. Depending on the ROM installed, it may not be considered compatible and won't show in the Play Store, let me know if that happens and I will post the apk.
If you are using OTG to attach any type of USB devices, please share your experiences and any tips you might have. Also, please use this thread for any questions you might have about OTG support and devices, even if you haven't gotten around to trying it yourself yet.
Click to expand...
Click to collapse
A couple of quick FYI's about using USB OTG with the Touchpad:
- USB OTG has been possible on the HP TP since CM9 (or earlier?)
- To enable OTG on any android device, Pin 4 (I.D. Pin) needs to be shorted to Pin 5 (DC Return) on the host device. This is the function of "OTG" cables. Note that I have purchased OTG cables that didn't work because Pins 4 & 5 were not shorted/manufactured correctly. On some devices with 3.x Kernels, it is possible to enable USB OTG via a sysfs command (not the TP yet).
- The HP Touchpad is not capable of supplying 5v power out the microUSB port for OTG functions so a standard OTG cable WILL NOT WORK. You must use either an OTG Cable with Isolated External Power Plug, an externally powered USB Hub, or a modified USB Charger/Cable.
- Even though external power is required for OTG, earlier support for USB OTG on the TP would only allow a device that draws/reports 100ma or less (ie USB mouse, small thumbdrives, etc) to be active when directly attached to the primary msm_otg port of the TP (Not Sure if this still applies). This limit can be "bypassed" for larger draw devices (ie portable hard drives) by using an externally powered USB Hub in between the TP's OTG Cable and the device. The hub's "Host" end will report 100ma or less to the TP and allow up to 480ma devices to be plugged into the hub. Good. (Credit to AndroidLover at RootzWiki for this info)
- It is possible to make your own USB OTG Cable with Power, or modify some USB Chargers for OTG functionality if you have some basic soldering skills and equipment.
- Most "dedicated" android USB Chargers have the "Data" pins sorted to tell an android device to use "AC Charging" ("fast charge") instead of "USB Charging". This "prevents data communication and only allows charging. Without a correctly "isolated" OTG Power Cable, OTG will not work with most chargers. Some chargers will either have shorted data pins (i.e. HTC), a low resistance across the pins (i.e. HP) or an "Open" (nothing) across the pins (i.e. aftermarket "Apple" chargers).
- Recommended minimum apps to use with USB OTG:
StickMount, USB Device Info, USB Host Diagnostics, ES File Explorer (or Similar)
Purchase Links for USB OTG items I Use with my TP
I just verified that if you get the Micro USB Host OTG Cable With USB power ($6 from AppleCable on Ebay) that Ramjet73 mentioned (or this one), it will work with any standard USB charger (ie the 1 Amp HTC or 2 Amp HP Touchpad Charger) because the USB Power Connector is Isolated. I also picked up Applecable's USB 2.0 3 Port Hub with data Sync Charger cable for $7
(I may try to modify it to be a USB OTG powered hub with this OTG Adapter and this USB to 3.5mm/1.3mm Adapter to power the hub directly from "ANY" USB charger.
EDIT: It works fine, but modified it anyway).
Here's some updated AppleCable Ebay Store links (4-18-14):
Micro USB Host OTG Cable With USB power
USB 2.0 3 Port Hub with data Sync Charger cable (not OTG, but a cheap hub that works. can be modified for OTG)
Micro USB Host OTG Cable w/micro USB power
Left Angled Micro USB Host OTG Cable w/USB power
Right Angled Micro USB Host OTG Cable w/USB power
USB OTG Cable Schematics. HP TP Needs Cable 2 or Cable 3​
If you are able and want to make your own OTG cable, use the schematic for cable 2 (or cable 3) as needed for the TP.
Here are some pictures of an earlier version I made (Cable 4, not recommended) as an example.
Markmx6's HTC USB Charger/Powered OTG Cable Mod Part 1 of 2 : (Reposted here with permission)​
Markmx6; said:
First off, I am not responsible for you screwing up your phone, shorting your house out, frying your SD card, burning down your home, or anything else that may or may not occur from you building this...
Tools you will need: Razor blade, Soldering iron, Solder, Super glue.
Optional tools: Dremel with cut-off wheel.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I started with components I imagine you will all have, since they came with the phone. The HTC charging cable and outlet adapter.
First, cut around the base of the outlet adapter. This is around 3/16" thick, and the cut is better off to be made on the "shiny" plastic than the "dull" portion. I used a Dremel, but any type of blade will do, it just may take more time.
Make a cut along the white line on the board (Shown in red here) Otherwise this will not work. On typical chargers they short out the Data+ and the Data- connections (mpg2 edit: it forces "AC Charging" mode). Not sure why... Digging a razor blade across this several times should do the trick, but if you want to make sure with a continuity tester that will always give piece of mind.
Now you need to cut your cable, I recommend leaving around 2" or more from the standard usb side. (A little of this wire will come in handy for later in this project)
Cut and then strip your wires, there will be a braided shielding wire just under the insulation. Then it will be helpful to "Tin" the ends of your wires.
The shielding can be completely removed, or you can ground it out, but I haven't found this to be needed.
You will now need to solder the wires to the circuit board. This will obviously need to be in the correct order.
From the top will be:
RED = 5V+
WHITE = Data +
GREEN = Data -
BLACK = 5V-
Now you can re-assemble the Outlet adapter if you choose.
Now you need to cut up the other (phone) end of your cable to enable the OTG function.
Post 2 will outline this.
Click to expand...
Click to collapse
Markmx6's HTC USB Charger/Powered OTG Cable Mod Part 2 of 2 : (Reposted here with permission)​
Markmx6; said:
Carefully cut down the sides of the connector, if you can do this in one clean cut it will be helpful when you re-attach then after your modifications.
Carefully cut away the plastic, and what looks like hot glue. You need to expose the side that has a blank terminal. and the one on the other side that has a black wire.
Pins 4 and 5 need to be attached, so a small piece of wire (from the leftover ends of the cable comes in handy) works really well.
It doesn't really show up in the pictures though
Now re-glue the pieces from the end of the cable back onto the connector
That is all.
For usb storage you need to have all of the cables hooked up before you insert the SD card.
Click to expand...
Click to collapse
Sent from my "Up all night, Sleep all day" EVO3D!
I got to looking around and wondering with the parts I have if I am setup for OTG and just need to plug everything together without hacking up a power supply which I'd prefer not to do.
Here's what I have on hand:
I ohmed out the " CrazyOnDigital 2 port charger's" data pins:
Port1-pin3 & port2-pin3 = 0.1 ohms (and about 30k to gnd/shld)
Port1-pin2 & port2-pin2 = 0.1 ohms (and about 30k to gnd/shld)
(I also reversed the leads in case I was reading through a diode)
So it looks like the data pins on this aren't shorted together and that it will function as a Powered USB "y" cable/pass through between ports 1 & 2.
Part 2
I realize that my purchased USB OTG cable won't plug in between the charger & my phone (Schematic #1) so I may use a USB extension Cable and USB A to A adapter that I have (not pictured) or I may just hack a spare USB A to Micro USB (5pin) cable that I have into another OTG Cable.
Q: My understanding is that an OTG cable has the ID pin (pin 4 of the 5pin Micro) tied to Gnd, like Markmx6 did in his original cable; correct? So, that's why the micro USB end gets cut open a bit.
A: Yes.
----------------------------------------------------------------
My Additional References:
Zoom [DIY] MicroUSB Host Cable
So in a normal micro/mini USB cable, there are 4 wires, 5 pins.
1. Red - V+
2. White - Data -
3. Green - Data +
4. Empty
5. Black - Ground
That micro male to mini female cable above has the 4th (5th?) wire, brown. This is the ID wire. Shorted to ground, it makes the cable a host cable.
Click to expand...
Click to collapse
Wikipedia's: USB On-The-Go page
The OTG cable has a micro-A plug on one side, and a micro-B plug on the other (it cannot have two plugs of the same type). OTG adds a fifth pin to the standard USB connector, called the ID-pin; the micro-A plug has the ID pin grounded, while the ID in the micro-B plug is floating. The device that has a micro-A plugged in becomes an OTG A-device, and the one that has micro-B plugged becomes a B-device. The type of the plug inserted is detected by the state of the pin ID .
Three additional ID pin states are defined[4] at the nominal resistance values of 124 kΩ, 68 kΩ, and 36.5 kΩ, with respect to the ground pin. These permit the device to work with a USB Accessory Charger Adapter which allows the OTG device to be attached to both a charger and another device simultaneously.[6]
These three states are used in the cases of:
- A charger and either no device or an A-device that is not asserting VBUS (not providing power) are attached. The OTG device is allowed to charge and initiate SRP but not connect.[6]
- A charger and an A-device that is asserting VBUS (is providing power) are attached. The OTG device is allowed to charge and connect but not initiate SRP.[6]
- A charger and a B-device are attached. The OTG device is allowed to charge and enter host mode.[6]
Click to expand...
Click to collapse
Micro-USB connector pinout
-----------------------------------------------------
Part3: SUCCESS! (with Otg Enabled kernel)
I went ahead and modified a spare USB A to Micro B cable for OTG without power. Plugged everything up with my Logitech Wireless USB mouse and it works! Cool as can be! See new pics. (Yellow wire is the Jumper).
Still have a few questions:
Q: Would the "purchased" OTG Cable already have pin 4 & 5 Shorted?
A: YES it should, but one of the cables I bought was defective.
Q: Does your OTG setup from the op charge the phone at the same time (and/or keep it charged)?
A: Yes (Not Likely on the HP TP)
Edit: Apparently I broke the +5v wire during reassembling the cable. See pictures.
My CrazyOnDigital 2 port charger doesn't have the data pins shorted (D+ and D-) like the stock HTC unit. This causes any "Android" device to charge at the lower 500ma Max "Charging USB" rate vs "AC Charging" (explains my slow charging when travelling), but a bonus is that it allows me to pass data b/w the 2 ports like a simple hub.
- If the D+ and D- pins are shorted when an OTG USB cable is plugged in, the phone will go into "AC Charging" mode, but not allow OTG devices to work, but if the phone is still connected and the data pins opened back up, you retain "AC Charging" mode and have USB OTG functions.
(I'm thinking that a simple on/off switch installed across the data pins of my charger will give me a dual mode charger).
---------------------------------------------------------
AC CHARGING / USB CHARGING (Data Pass Through) MOD 12-1-12​I am not responsible for you screwing up your device, shorting your house out, frying your SD card, burning down your home, or anything else that may or may not occur from you building this...
- I got tired of having a 2 port 2 Amp charger that only allowed 500ma "USB Charging" with Android & OTG. See pix:
Post 8 for me.
Originally Posted: 2/23/13
Q: Does anyone know for certain if it's possible on the touchpad to echo the OTG "mode" command (ie host vs none) ?
On the evo3d there is a sysfs command that can be "echoed" to enable OTG with any standard cable and I was able to get the Kernel Tuner dev to add a toggle in his app for it.
If I can find someone who knows & can verify the sysfs command for our CM touchpad's I can have him add it into the app easily (Apr2014 Edit: KT not currently in development).
Note: I haven't found it yet by digging around with EsFileExplorer and activating OTG with a cable.
Mpgrimm2 said:
Didn't know OTG could be activated (on the Evo3D) using a standard cable with a sysfs command like:
Code:
echo host > /sys/kernel/debug/msm_otg/mode
Options are "host" or "none" (maybe this command can get added to "kernel Tuner" app! ). Wonder if it's the same for the Touchpad.
Fyi, don't know how different it would be on each device (ie GS3 vs. Evo3d & HP Touchpad), but it looks like for the Touchpad on CM9 it's
Code:
/sys/kernel/debug/otg/mode
Click to expand...
Click to collapse
I realize some may say "why bother, just use an OTG cable", but if you look through my OTG mod thread, you will realize that it's one less wire to solder to a circuit board and will also allow any user to avoid buying the cable.
Note: I also posted this in my [MOD] Self Powered USB OTG on the HP Touchpad! (v2 Full Size) 11-30-12 thread.
Dorregaray said:
In kernels 2.6.39 and newer the sysfs entry is named msm_otg. We're using the 2.6.35 kernel where the entry is named otg. The available options are: none, peripheral and host.
It seems that the:
Code:
echo host > /sys/kernel/debug/otg/mode
command should work.
Click to expand...
Click to collapse
Mpgrimm2 said:
Thank you for the feedback.
Code:
/sys/kernel/debug/otg/mode
That's what I was thinking too, but I can't seem to see any change of state at that location when activating it with a shorted ID pin and the developer for Kernel Tuner indicated that he added the code for it which doesn't seem to work either.
When I check the mode file there isn't anything there (blank). I have also tried settings permissions for rwx-rwx-rwx and manually typing "host" and saving the file. It goes immediately back to a blank file.
Admittedly I'm an amateur and was trying to echo it with an /init.d script at one point (edited with EsFileExplorer), shouldn't that work? I will fiddle with it some more.
Click to expand...
Click to collapse
Dorregaray said:
First of all try to echo from a terminal app on running system and check if it works, check also the dmesg if there's no error there. If it will be working then you can add an entry to init.d script
Click to expand...
Click to collapse
Last one for me. Feel free to comment.
Trouble with OTG/Touchpad/DS4 controller
I hope someone can help me. I am trying to connect my Dual Shock 4 PS4 controller to my Touchpad via OTG, so I can use Remote Play for my games. I am rooted, using PAC MAN ROM 4.4.4RC-1. Through trial and error (and this forum), I discovered that a normal OTG cable will not work. So, I ordered and received my powered OTG cable in the mail from China (I found the link in this thread a couple of weeks ago). Unfortunately, the HP Touchpad still doesn't seem to recognize the DS4, so I want to make sure I am doing this correctly. Pictures of the cable are attached, along with my setup. The only thing missing from the pix is the connection of the male USB side of the cable to the iPhone wall charger (the cable is very short to get all in one picture). I lost the official Barrel charger 2 years ago, but the iPhone wall charger DOES charge my Touchpad when in Android mode, so not sure why it won't work for OTG connectivity.
1. I connect the DS4 to the micro-USB controller cable that came with the PS4.
2. I then connect the male USB side of that cable to the female USB of the powered OTG cable.
3. I then connect the micro-USB of the powered cable to the HP Touchpad.
4. I then connect the male USB side to the female iPhone wall charger (I lost the TP Barrel charger a couple of years ago).
And I get nothing. The DS4 seems to have no connectivity with the HP Touchpad using this method.
FYI: Again, I am rooted and running Pac Man Rom 4.4.4RC-1
The strange thing is that when I connect the Touchpad to the iPhone wall charger when it's on Android, it charges! So I don't understand why it's not working when connected to the DS4. Is the official Barrel charger the only one that will work? Do I need to install some app or software to get the DS4 to be recognized via OTG?
Any help you can provide would be greatly appreciated!
Thank you!
ConfusedTouchpad said:
I hope someone can help me. I am trying to connect my Dual Shock 4 PS4 controller to my Touchpad via OTG, so I can use Remote Play for my games. I am rooted, using PAC MAN ROM 4.4.4RC-1. Through trial and error (and this forum), I discovered that a normal OTG cable will not work. So, I ordered and received my powered OTG cable in the mail from China (I found the link in this thread a couple of weeks ago). Unfortunately, the HP Touchpad still doesn't seem to recognize the DS4, so I want to make sure I am doing this correctly. Pictures of the cable are attached, along with my setup. The only thing missing from the pix is the connection of the male USB side of the cable to the iPhone wall charger (the cable is very short to get all in one picture). I lost the official Barrel charger 2 years ago, but the iPhone wall charger DOES charge my Touchpad when in Android mode, so not sure why it won't work for OTG connectivity.
1. I connect the DS4 to the micro-USB controller cable that came with the PS4.
2. I then connect the male USB side of that cable to the female USB of the powered OTG cable.
3. I then connect the micro-USB of the powered cable to the HP Touchpad.
4. I then connect the male USB side to the female iPhone wall charger (I lost the TP Barrel charger a couple of years ago).
And I get nothing. The DS4 seems to have no connectivity with the HP Touchpad using this method.
FYI: Again, I am rooted and running Pac Man Rom 4.4.4RC-1
The strange thing is that when I connect the Touchpad to the iPhone wall charger when it's on Android, it charges! So I don't understand why it's not working when connected to the DS4. Is the official Barrel charger the only one that will work? Do I need to install some app or software to get the DS4 to be recognized via OTG?
Any help you can provide would be greatly appreciated!
Thank you!
Click to expand...
Click to collapse
I will hopefully touch base with you shortly. PM sent.
Small update. Spoke over the phone briefly and he was able to get USB OTG working with a USB mouse (had to unplug/replug OTG cable from TP to have it initialize each time) so it looks like he has the basics for a working OTG setup and an OTG enabled ROM.
Might be the version of ps4 controller he is using or the apk/driver that enables it to work.
Hopefully more to come. Anyone else try this setup before? Chime in.
He is on
[ROM][OFFICIAL][KitKat 4.4.4][TENDERLOIN] PAC-man KK RELEASE [WEEKLY]http://forum.xda-developers.com/showthread.php?t=2779954
[NEW][ALL][PORT][4.0+] PS4 Remote Play for Android (New Thread)
http://forum.xda-developers.com/showthread.php?t=3068225
Sent from my LG G4 on Tapatalk.
An confused update
ConfusedTouchpad said:
Hi ....just an update following my email earlier:
1. I went to a local PC Repair place and they let me use a 5.3V wall charger, to see if some added juice might be enough to get the DS4 recognized by the TP over the OTG cable. Unfortunately, nothing.
2. I went to Gamestop and they let me connect their DS4 to the Touchpad, to see if it would work (using the iPhone wall charger I brought along). Again, nothing.
3. I don't know how this happened, but at one point during the process, the Touchpad turned completely blue and would not respond to anything. I was able to reboot by holding the Vol button down, plus the other 2 buttons. Freaky.
Maybe this info + my earlier email might help you know what's going on? It doesn't seem like this is going to work for me, but you never know.
Thanks!
Click to expand...
Click to collapse
Sent from my LG G4 on Tapatalk.
Another thought on the matter,
Last time I dug into OTG TP setup, there was an issue with either the kernel or the msm chipset that prevented it from using any device directly connected to the OTG cable/port that was asking for more than 100ma or so (ie USB portable drives, CDROM's, etc). You would think this doesn't matter since we are providing power externally separate from the TP but it didn't know that.
The work around was to connect a powered USB hub between the touchpad and the device so that the Touchpad sees the low power Hub on its port, and the hub acts as the middle man supplying the full 500ma out to the device, ie the DualShock4 controller.
Got a powered USB hub handy?
See post 2 for a picture of my hub setup.
(I see I mentioned this in post 1 also)
If u want to see the details, you can get USB port and current draw info from the USB Device Info app or USB Host Diagnostics app linked at the bottom of post 1
Sent from my LG G4 on Tapatalk.
Mr. Grimm....as always, thanks for the info. Other than your responses, it's pretty much crickets in here, eh? (Think everyone else abandoned this thread a long time ago).
I am a little confused about your post below. I did see posts #1 and #2, where it was stated that regular OTG cables wouldn't work for the TP, that you need a powered USB one. That's why I bought and tried a powered cable....in fact, there was a link to it in post #2: "Micro USB Host OTG Cable With USB power".
So if I understand your post below correctly, you're now saying I need something ADDITIONAL (power or an additional cable) on top of the one I just purchased? I'm not sure I understand....I thought I had done what I was supposed to. I connected the USB male part of the cable to the iPhone charger, and also a 5.3V wall charger I tried at a PC Repair store and neither would work. The only thing I've gotten to work, occasionally, is the USB mouse connected to the cable. DS4 not working.
Any help would be appreciated....thanks!
mpgrimm2 said:
Another thought on the matter,
Last time I dug into OTG TP setup, there was an issue with either the kernel or the msm chipset that prevented it from using any device directly connected to the OTG cable/port that was asking for more than 100ma or so (ie USB portable drives, CDROM's, etc). You would think this doesn't matter since we are providing power externally separate from the TP but it didn't know that.
The work around was to connect a powered USB hub between the touchpad and the device so that the Touchpad sees the low power Hub on its port, and the hub acts as the middle man supplying the full 500ma out to the device, ie the DualShock4 controller.
Got a powered USB hub handy?
See post 2 for a picture of my hub setup.
(I see I mentioned this in post 1 also)
If u want to see the details, you can get USB port and current draw info from the USB Device Info app or USB Host Diagnostics app linked at the bottom of post 1
Sent from my LG G4 on Tapatalk.
Click to expand...
Click to collapse
You MAY need the hub if the Ps4 controller indicates it needs more than 100ma on the USB port. Perhaps you can pick one up at Walmart and return it later if it doesn't work.
- Yeah, I don't think many people actually use or have tried OTG with their Touchpad. So there may not be a lot of traffic here.
Most of my OTG info actually originated from my Evo3D threads because it had the same chipset and processor as the Touchpad.
Sent from my LG G4 on Tapatalk.
Thanks. Is 100ma more than the stock TP barrel charger provides? Maybe I should just order one of those off Ebay, if that will provide the power needed, since I need one anyway after losing it. Is the USB hub more powerful than the barrel charger?
Also, adding all these things makes for a really clunky setup and sadly reduces the convenience of OTG connection. I guess I will have to decide if it's worth it.
mpgrimm2 said:
You MAY need the hub if the Ps4 controller indicates it needs more than 100ma on the USB port. Perhaps you can pick one up at Walmart and return it later if it doesn't work.
- Yeah, I don't think many people actually use or have tried OTG with their Touchpad. So there may not be a lot of traffic here.
Most of my OTG info actually originated from my Evo3D threads because it had the same chipset and processor as the Touchpad.
Sent from my LG G4 on Tapatalk.
Click to expand...
Click to collapse
ConfusedTouchpad said:
Thanks. Is 100ma more than the stock TP barrel charger provides? Maybe I should just order one of those off Ebay, if that will provide the power needed, since I need one anyway after losing it. Is the USB hub more powerful than the barrel charger?
Also, adding all these things makes for a really clunky setup and sadly reduces the convenience of OTG connection. I guess I will have to decide if it's worth it.
Click to expand...
Click to collapse
That is not exactly the issue, but you should be using a 2 Amp (2000ma) charger with your Touchpad. 1.8A may work fine though. (Stock is 2.0 or 2.1 Amp I believe)
Regardless of getting 'enough' actual power from a charger to the devices, here is the deal/conversation between the TP's chipset (Host device) and the DS4 controller's usb chipset...
DS4: knock knock. Hi, I'm a device that needs 480ma from your USB port, can you let me in.
TP: From behind the closed door... Sorry, only 100ma or less here.
DS4: But I have my own USB power. [email protected]#%
(TP lets hot little 30ma thumbdrive through, followed but 35ma mouse)
Later... Ds4 comes back with its cute little 75ma Hub friend...
Hub: knock knock. Hi, I'm a device that needs 75ma from your USB port, can you let me and my friends in?
TP: From behind the closed door... Uh, sure you all look like only 100ma or less.
Sent from my LG G4 on Tapatalk.
I don't know many people where I moved to recently but if I can get my hands on a ps4 controller, I can see how thing work on my setup.
Please install those 2 USB info apps I mentioned before, they will help identify what the TP sees on its port:
USB Device Info
USB Host Diagnostics
Sent from my LG G4 on Tapatalk.

Categories

Resources