Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,778,798 Members 39,519 Now Online
XDA Developers Android and Mobile Development Forum

[Discussion] Working OTG Devices

Tip us?
 
nFiniti
Old
(Last edited by nFiniti; 26th January 2013 at 11:26 AM.)
#1  
Senior Member - OP
Thanks Meter 8
Posts: 152
Join Date: Jun 2007
Storage [Discussion] Working OTG Devices

***EDIT***
USB Host DOES work with Flash Drives. For information see post 3: http://forum.xda-developers.com/show...1#post37201971

This is now my main focus. So I figure why not everyone post up what devices they got to work with the Kindle Fire 2 and/or what methods it took for you to do so.

3x Different Flash Drives: Not Working However one of their LED's Illuminate
USB Keyboard: Not Working
Logitech M570 Wireless Trackball: Working

I also tried a non powered hub, it didn't work. The Green LED Illuminated but nothing more. When connected to my Galaxy S 3 I can have multiple devices attached at a time. I tore the Hub down and found that it has a blank slot for power. I wired soldered in a 0.75a Samsung Wired Charger to it. It Illuminated the LED, As well as it illuminated the Power LED in Orange on the Kindle but no devices worked on the Hub. I tested the power output of the USB Ports and it was a little more than 5v per port.

Device: Kindle Fire 2
Rooted and TWRP'ed with the Nightly of CM10.1 1-20-2013

Will keep trying. As stated in another thread, that its simply power. After testing these things out, I don't think its power related. Either the kindle just doesn't have the "Drivers" if thats what you'd call it, or it simply can not run anything but a mouse. I hope that is not the case. It will ruin all appeal in my eyes.
 
plinders
Old
#2  
Member
Thanks Meter 2
Posts: 34
Join Date: Jan 2012
Location: Eindhoven
If you're rooted, have you tried installing StickMount?
Might work for the flash drives.
 
nFiniti
Old
(Last edited by nFiniti; 26th January 2013 at 11:41 AM.)
#3  
Senior Member - OP
Thanks Meter 8
Posts: 152
Join Date: Jun 2007
I tried, Stickmount tries. You can tell its trying to work something out. So more tests with a cut up usb cable on the OTG cable does in fact show there is a voltage issue. My Galaxy puts out perfect 5v. The Kindle puts out around 2.5v. I tried making another OTG cable but failed. I guess its just not getting connection to the extra pin. So I have a USB Extension I'm gonna split open and power it. So I don't have to hack up my only working OTG.

The main issue I'm having with this is, my current power unit is a measly 0.75a. And It charges the device. So I figure there will still be a voltage issue due to the device charging. So I could cut the red wire going to the device for now. But not sure if the device will realize this somehow and just not work. Thoughts? I've seen this done before when someone made themselves a powered OTG Hub system out of a couple USB Cables.

I'll continue till I'm too tired to think hehe.

***Edit***
Ok couple hours later.... lol I had a USB Extension, I cleanly just slit it down the m iddle and soldered in the two power wires from a samsung micro usb charger. The Power is 5v at 0.75a. So its not much. I know it wouldn't charge my nexus nor Galaxy Tab, but it charges the Kindle, or at least the kindle says it is. I doubt it really is. Anyway I soldered it in, cleaned up the surgery started some testing on my phone first. I connected a Micro USB cable to one end and then the other to my phone, and then the Kindle. It charges, or again says it is (*kindle might require more amperage). So Next I connect the OTG Cable to the other end and connect it to my phone, It charges through the OTG Cable. Next the Kindle, it does not charge the kindle. Possible amperage requirements, I don't know yet.

So onto the test without StickMount, Failure. It acts the same.

Test with StickMount, Well I'll let this screen shot explain most of it:


It worked! StickMount notification pops up and I found the flash drive in the current location. Inside the SD Card under a folder called /usbstorage/sda1/. Not exactly my first choice, not sure if this can be changed to go into mnt or somewhere else. The Device itself doesn't notice the flash drive. So if you go into System/Storage, it does not show the flash drive. But it is fully functional. I accessed some files without any issues.

So my final consensus: The Kindle Fire 2 currently has OTG/USB Host Capabilities. From the USB Host Diagnostics I ran, its fully functional. However the main issue is Power. The second issue is the device on the most current (1/20/2013 CM10.1 Nightly) rom doesn't have the proper... I don't know the right wording for it, but lets say drivers since I'm a pc guy. I'm sure with more development, it can control any device with the only issue being power related. This takes away from the meaning of "On The Go". Having some sort of 5v power source connected to your device while your trying to use a hard drive or something else is going to be a pain in the ass for most people. For me it really does not matter since the device is going to be setup in my car for media sourcing as well as game play. So a 32gb flash drive and a Xbox 360 controller is all I will be using.



I will be doing more testing with multiple devices but it is 4am right now. One more thing, Bluetooth abilities are possible with a cheap dongle. However for some reason the Kindle recognizes it as a physical keyboard. I have tested this on other devices in the past so I believe it is possible with some more development. But that's far in the future and still of course require additional power.

Goodnight guys.
 
tjmack3rd
Old
#4  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Aug 2010
Location: 12149
Default Re: [Discussion] Working OTG Devices

I have 3 different thumb drives.
Sony 4GB = does not work
SanDisk cruzer slide 16GB = does not work
SanDisk cruzer 8GB = Works
The regular cruzer is probably 5+ years old. I have access to others and will update my post when I get them.
I'm on PowerPoint45 cm 10.1 using chainfires stickmount.

Sent from my Nexus 7 using Tapatalk HD
 
nFiniti
Old
(Last edited by nFiniti; 26th January 2013 at 11:11 PM.)
#5  
Senior Member - OP
Thanks Meter 8
Posts: 152
Join Date: Jun 2007
Nice. The regular flash prob requires less power. I noticed one of mine which was larger almost worked. But would shut off prob to not enough power. But a newer one wouldn't light up at all.

Plans for today: To re build that USB Hub I was messing with last night. I desoldered the USB cable off of it to solder in a Micro USB, But I don't remember if it worked. I then tried to turn it into an OTG direct 4port hub but nothing happened. So I'm sure I screwed something up. But the initial results should be a powered, 4port Micro USB OTG Hub. I just hope I have enough juice to make it work for not only charging the Kindle but powering the devices on the hub. I have a Galaxy Tab Official 2.0a car charger I can try out. I want to be able to have at the least, a 32gb Flash Drive and a 360 Gaming Controller.
 
nFiniti
Old
(Last edited by nFiniti; 27th January 2013 at 09:26 AM.)
#6  
Senior Member - OP
Thanks Meter 8
Posts: 152
Join Date: Jun 2007
Well I got some done today. I found an old phone charger that was 1a. I finally just used my OTG Cable and soldered it in place of the std usb connector on a cheap USB Hub. I'm sure everyone has the same hub I'm using, I have two, one says Microsoft on it, the other says AMD but they are super cheap and are given out everywhere you go:


Its a non powered USB hub, however when opened up there is a bare spot for a power connector. Middle pin is 5v + and the two around it are common Ground -.


Don't be strayed by my crap solder work. I'm using a cheap harbor freight soldering iron and the new charger has very thick wire so it didn't really fit in the small holes. The ground is just directly connected to everything else thats ground related so I grounded it there. That way the two wires aren't soo close together.

I have now successfully tested 3 flash drives, NTFS, Fat32 and some strange Fat32 drive plus my Trackball. As well as this I have successfully charged my Galaxy SIII off of the hub. I wouldn't exactly recommend this unless your running like a legit 2a charger. I only did it to test out power requirements. I think either my cable is damaged too or I'm at the limit of power the small 1a can handle because every once in a while the hub shuts off. I think its just cable related.

Here is everything connected as you can see.


However the tablet it self is not charging. At least the icon on the notification bar doesn't say so. I have tested the voltage here and its 5v. But IDK? Maybe the Kindle wont allow it? BUT, with all my testing, the battery has stayed at 88%. I'm gonna try to kill it some more. Maybe with some transferring files between drives.

lol As I'm typing this, I sit down for a second with the tablet on the carpet floor and just stare at it. I've noticed that some reason the led turns off and on at random times. But I've never seen it say its charging. Well the screen just dimmed but didn't shut off so I get up to check real fast and when I turn it on, it says 88% - Charging! But then instantly goes back to 88% - Not Charging when the screen lights up. And there it goes again (Please bare with me as I'm doing this all this very second.) Looks like it just needs some more amperage. 1a is not enough to power everything and charge the device.

I was worried that the kindle wasn't going to support Charging OTG. Well I happen to have a spare 2a Galaxy Tablet charger and no Galaxy Tab.... I'll try it out and get back to you guys!
 
iytrix
Old
#7  
Senior Member
Thanks Meter 45
Posts: 220
Join Date: Dec 2012
Location: San Jose
Quote:
Originally Posted by nFiniti View Post
Well I got some done today. I found an old phone charger that was 1a. I finally just used my OTG Cable and soldered it in place of the std usb connector on a cheap USB Hub. I'm sure everyone has the same hub I'm using, I have two, one says Microsoft on it, the other says AMD but they are super cheap and are given out everywhere you go:


Its a non powered USB hub, however when opened up there is a bare spot for a power connector. Middle pin is 5v + and the two around it are common Ground -.


Don't be strayed by my crap solder work. I'm using a cheap harbor freight soldering iron and the new charger has very thick wire so it didn't really fit in the small holes. The ground is just directly connected to everything else thats ground related so I grounded it there. That way the two wires aren't soo close together.

I have now successfully tested 3 flash drives, NTFS, Fat32 and some strange Fat32 drive plus my Trackball. As well as this I have successfully charged my Galaxy SIII off of the hub. I wouldn't exactly recommend this unless your running like a legit 2a charger. I only did it to test out power requirements. I think either my cable is damaged too or I'm at the limit of power the small 1a can handle because every once in a while the hub shuts off. I think its just cable related.

Here is everything connected as you can see.
*PIC REMOVED BY ME BECAUSE CMON, IT'S A QUOTE, YOU'VE SEEN THE PIC ALREADY!*

However the tablet it self is not charging. At least the icon on the notification bar doesn't say so. I have tested the voltage here and its 5v. But IDK? Maybe the Kindle wont allow it? BUT, with all my testing, the battery has stayed at 88%. I'm gonna try to kill it some more. Maybe with some transferring files between drives.

lol As I'm typing this, I sit down for a second with the tablet on the carpet floor and just stare at it. I've noticed that some reason the led turns off and on at random times. But I've never seen it say its charging. Well the screen just dimmed but didn't shut off so I get up to check real fast and when I turn it on, it says 88% - Charging! But then instantly goes back to 88% - Not Charging when the screen lights up. And there it goes again (Please bare with me as I'm doing this all this very second.) Looks like it just needs some more amperage. 1a is not enough to power everything and charge the device.

I was worried that the kindle wasn't going to support Charging OTG. Well I happen to have a spare 2a Galaxy Tablet charger and no Galaxy Tab.... I'll try it out and get back to you guys!
This looks good! If you want, once you are done with the testing, I can try and write up a guide with your words on how to do it then let you post that. I did the same for some of the stickied threads. It looks like you're almost done and I think this would be a really good info thread once compiled nicely. Stuff like how to do OTG, what works, what needs a powered HUB, stuff like that. I personally will probably never use OTG, but I see the value and I like what it can be used for.

Best of luck!
 
nFiniti
Old
(Last edited by nFiniti; 28th January 2013 at 10:43 AM.)
#8  
Senior Member - OP
Thanks Meter 8
Posts: 152
Join Date: Jun 2007
That's nice. lol I understand I talk a lot, but when it comes to things I must have, like more than 5gb of memory on a device that should have a few TB :P. It would be nice for others to try out things to see what works and what doesn't. Because to have a powered USB Device is kinda not the point of OTG "On The Go". But like someone figured out that one of his older Flash drives worked, so hopefully others chime in too.

If you wanna do that, you have my approval. Just make sure it suits what I did, "Dedicated OTG". or "Guaranteed OTG". Since that's what I was mainly working towards. This discussion thread is mainly to locate what works and what doesn't and the main OTG Capabilities of the Kindle Fire2. I don't plan on changing much else to what I have already done except adding a larger psu to the hub so it charges the device while powering the hub and its devices for my own personal gain. I want to keep this open so people can throw up what they have learned as well so the information is out there for others. I personally hate going into a device and not knowing.
 
iytrix
Old
#9  
Senior Member
Thanks Meter 45
Posts: 220
Join Date: Dec 2012
Location: San Jose
Quote:
Originally Posted by nFiniti View Post
That's nice. lol I understand I talk a lot, but when it comes to things I must have, like more than 5gb of memory on a device that should have a few TB :P. It would be nice for others to try out things to see what works and what doesn't. Because to have a powered USB Device is kinda not the point of OTG "On The Go". But like someone figured out that one of his older Flash drives worked, so hopefully others chime in too.

If you wanna do that, you have my approval. Just make sure it suits what I did, "Dedicated OTG". or "Guaranteed OTG". Since that's what I was mainly working towards. This discussion thread is mainly to locate what works and what doesn't and the main OTG Capabilities of the Kindle Fire2. I don't plan on changing much else to what I have already done except adding a larger psu to the hub so it charges the device while powering the hub and its devices for my own personal gain. I want to keep this open so people can throw up what they have learned as well so the information is out there for others. I personally hate going into a device and not knowing.
I should get an OTG cable. I have a small flashdrive, not sure about the name or brand since the size made it temporarily misplaced. It's the same size as the wireless receivers though for most modern mice and keyboard so it's SUPER small, which I actually wouldn't mind tucking the cable into my case, plus it's 32GB. The issue on PC, is the transfer rate is a little low, but that may be because it uses so little power, which I'm hoping.

Any good places to get an OTG cable?
 
nFiniti
Old
#10  
Senior Member - OP
Thanks Meter 8
Posts: 152
Join Date: Jun 2007
Ebay, Amazon (great place for cables)

https://www.google.com/search?q=OTG+...w=1920&bih=965

Just a quick search. You can also make one, if space is an issue. You just need a MicroUSB and a female USB. Pin 5 gets soldered to pin 4 on the MicroUSB and bam! Making one would help with space issues since you can tuck the wires easier. If you are good at soldering.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes