Hi All,
I have rooted my SGH-T989 and have flashed Zedomax's kernel to allow the USB Hosting functionality on my phone. This has worked great and I can now use a mouse and keyboard via a USB Splitter into a single OTG cable plugged into my phone.
The Setup:
Samsung Galaxy S2 SGH-T989 (Rooted)
Zedomax-T989-Kernel-v0.1.zip from
w w w .theandroidsoul.com/connect-usb-flash-drives-mouse-keyboard-etc-to-t-mobile-galaxy-s2-t-989/"
OTG cable
w w w .amazon.com/Micro-USB-Host-Cable-accommodating/dp/B005GGBYJ4
Belkin USB Hub [/URL] from
w w w .bestbuy.com/site/Belkin+-+4-Port+USB+2.0+Powered+Hub/2389094.p;jsessionid=F16C84B9FD065C59401C5EEEEA981347.bbolsp-app02-07?id=1218324435232&skuId=2389094
DLink KVM[/URL] from
w w w .officedepot.com/a/products/706845/D-Link-KVM-221-2-Port/?cm_mmc=Mercent-_-Google-_-Networking_and_Cables-_-706845-%7Bcopy:IQ_PE%7D&mr:trackingCode=480D3D1B-EC81-DE11-B7F3-0019B9C043EB&mr:referralID=NA
Normal USB mouse and keyboard
KVM Used to switch mouse and keyboard from Desktop to USB Hub for SGH-T989
The Problem:
If I use the mini to USB cable supplied with the Belkin USB Hub to the OTG cable the mouse and keyboard are recognized and usable. However, if I don't use the OTG cable it will NOT recognize the mouse and keyboard.
That is not my issue, I'm ok using the OTG cable, but it leaves me with a Female USB placeholder. Therefore, I have to connect it to the USB Hub. Obviously, the Mini to USB A cable worked for hosting, but it does not supply power to the phone even though the USB Hub is plugged in and powered.
My initial thoughts were that the USB Hub does not supply power out the side mini USB so I bought a 1.0 USB A to A , 2.0 USB A to A, 3.0 USB A to A, Gender Changer for OTG cable. and no matter what cable I plug into the front USB slots on my USB Splitter, I get NO POWER and NO HOSTING. Nothing seems to flow through to the phone other then the one Mini to USB with OTG, but leaves me powerless.
I have also bought the docking station, which I later found out that even with the OTG cable will not push the hosting through to the phone and had to return it in favor of a more generic stand to hold my phone landscape.
I am out of ideas as to what to try next to get power and hostability to my phone. Please help!
Thanks,
Sam
Odds the USB hub powered? I remember that the first OTG kernel that came out said the hub had to be powered to use a mouse or keyboard.
The hdmi cable has to be plugged to the phone charger as wellfor it to work
Sent from my SGH-T959 using xda premium
Yes it is powered, I have also tried unplugging it to remove power. However, the OTG cable will accept the KVM mouse and keyboard plugged directly into the OTG cable itself.
The one thing I'm not certain on is whether or not the mini to USB out of the side of the USB Hub is supplying power or not. However, that is the ONLY spot that is working for pushing the KVM Mouse and Keyboard through to the phone. Without just plugging KVM directly into the OTG cable.
The KVM is plugged into the USB Hub and the Mini is plugged into the side by the power and then plugged into the OTG. This setup works for hosting, but all the variations of plugging into the normal front facing USB spots of the hub have failed to do anything but bring in power. However, I have NEVER successfully brought power through the OTG cable, so I'm not even sure it can support power at this point.
Sam
the only devices that does not need additional power are USB keys / flash disk storage and the likes
everything else you need to plug it into a powered USB hub, and have the hub connect to the USB OTG cable
and you do not need any special Kernel for USB OTG to work on this phone
USB OTG works from factory stock ROM (i just tried it to verify )
Hi Allgamer,
Thank you for your insight. However, I did try the OTG cable before getting the special kernel and it DID NOT function. Once I downloaded Kedomax's kernel I was successful. This appears to be a feature they removed from T-Mobiles version.
As for the Power issue. If you guys would be so kind as to reread my initial blog and reply before posting power things to try as I have listed that I have tried powered and unpowered and plugged directly and indirectly and through a usb hub and without, all variations and cables to plug and play have been exhausted.
I'm looking for a more advance analysis that may help provide a solution to my current problem. I'm not sure if the OTG cable can allow power to pass through to the phone or not. I have yet to see that work. I'm also thinking I cannot host without the OTG which seems as though it would leave me in an infinite loop.
Here are more along the line of questions that I'm hoping someone can provide insight to as I have no way of answering these questions myself without an extended work bench and wider test result devices.
1.
Can anyone confirm that the OTG cable can in fact provide power to the phone as well when plugged into a USB Source such as a HUB that is providing power out the USB ports to the OTG cable itself.
2.
Can anyone confirm that the OTG Cable can still support hosting capabilities if power is being sent up the cable or does this disable it in some way.
Thanks again for your responses, no disrespect intended by my redirection of the thought process here.
Sam
Related
Is it possible using this kind of converter to connect simultaneously a mouse and a keyboard together to the phone ? (for example using a wireless set mouse/keyboard or a usb splitter).
Can the phone provide the power to work on both devices ?
Maybe if it was possible to charge the phone somehow using the same cable ?
http://forum.xda-developers.com/showthread.php?t=1098778
I want to connect the phone to a tv using hdmi cable (adaptor) and control the phone from distance using a wireless keyboard/mouse.
thanks
I would be interested in this too. I saw EVO 4G used as a desktop computer - http://forum.xda-developers.com/showthread.php?t=1038840 but he used bluetooth mouse and keyboard and the only thing connected to its micro usb port was hdmi cable. I would rather use some kind of usb hub in order to connect these 3 devices to the micro usb port in the phone and even charge it all at once. If anyone knows if it is possible please share your knowledge
BT
Yes, you are right about Bluetooth. I believe it's the best solution (but more expensive) because when connecting the hdmi adaptor no other ports remain for other usb devices. Also hmdi adaptor charges the phone (for example BizLink MHL to HDMI TV-Out Adapter)
thanks
You might be able to run both USB mouse & keyboard; try using a keyboard that has a USB port or two on it, then plug the mouse into the keyboard's USB. Power may be a problem; the SGS2's USB connector isn't going to provide anywhere near the 500 mA in the USB 2.0 spec.
Of course, if you're using the USB, you can't use the MHL/HDMI, and vice versa -- the connector modes are mutually exclusive. If you have to have HDMI output, you should be able to use a BT keyboard and/or mouse.
I've already ordered the Mine Keyboard and the Adapter to later know that atrix uses a micro USB...
this is the adapter:
http://produto.mercadolivre.com.br/...-conversor-usb-a-fmea-para-mini-usb-macho-_JM
Sure it doesnt fit in atrix. but.. if i buy this?
http://produto.mercadolivre.com.br/...-para-micro-usb-motorola-moto-q11-cpmt018-_JM
and then convert micro to mini then mini to usb normal? would i be able to plug a keyboard? Thanks
or even buy this new one?
http://produto.mercadolivre.com.br/MLB-195555339-conversor-usb-femea-para-micro-usb-_JM
Lordareon said:
I've already ordered the Mine Keyboard and the Adapter to later know that atrix uses a micro USB...
this is the adapter:
http://produto.mercadolivre.com.br/...-conversor-usb-a-fmea-para-mini-usb-macho-_JM
Sure it doesnt fit in atrix. but.. if i buy this?
http://produto.mercadolivre.com.br/...-para-micro-usb-motorola-moto-q11-cpmt018-_JM
and then convert micro to mini then mini to usb normal? would i be able to plug a keyboard? Thanks
or even buy this new one?
http://produto.mercadolivre.com.br/MLB-195555339-conversor-usb-femea-para-micro-usb-_JM
Click to expand...
Click to collapse
you will not be able to plug in a USB peripheral (mouse, keyboard) directly into the phone. it will not work.
you can, however, purchase a +5V powered USB hub (that plugs into the wall), and use that to plug into the phone and plug your KB/mouse into the hub, and it should work. you can find such hubs at www.dealextreme.com
to further answer your question, USB-___USB converters will work as long as the converters have all four lines hooked up. many converters are 'power-only' where only the power/ground lines are connected and the other two lines (data) are not.
So if i buy an ordinary pc hub that connects to power and the plug usb-to-microusb, it will work?
Well let it alone, ill buy a Bluetooth keyboard, will spare time and cables and converters ahahha
The Micro USB plug must be OTG (USB ON THE GO) or your phone won't recognize the peripheral. Also the advice given was correct, the phone USB port can't provide power to a peripheral device and so you must use a powered hub in between the phone and the peripheral device.
A USB OTG has pin 5 and pin 4 tied together in the Micro USB connector end to tell the phone to invoke OTG mode.
Lordareon: yea... if you'd go the wired route, you'd need a powered USB hub, since the Atrix's micro-USB port doesn't work as a host port. It doesn't provide power to external devices.
elementaldragon said:
Lordareon: yea... if you'd go the wired route, you'd need a powered USB hub, since the Atrix's micro-USB port doesn't work as a host port. It doesn't provide power to external devices.
Click to expand...
Click to collapse
already been stated twice.
I want to attach two usb devices to my Note.
One will be the MHL adapter and one will be the 2.4ghz wireless unit for a keyboard like this http://www.ebay.co.uk/itm/250996855143.
I need a Micro USB male to 1x Micro USB female and 1x USB female adapter.
These for some strange reason don't exist
I was just wondering if anyone has done anything similar.
I know I could get a Bluetooth keyboard, but I don't have one. I do however have the above keyboard
Oh wow! I'm interested into this keyboard! Does Lenovo Mini Wireless keyboard work perfectly with the Note? All buttons are recognized and trackball mouse is usable?
Its really good, i use it on my Note and my Libretto W100. The mouse and keyboard work perfectly.
vinokirk said:
I want to attach two usb devices to my Note.
One will be the MHL adapter and one will be the 2.4ghz wireless unit for a keyboard like this http://www.ebay.co.uk/itm/250996855143.
I need a Micro USB male to 1x Micro USB female and 1x USB female adapter.
These for some strange reason don't exist
I was just wondering if anyone has done anything similar.
I know I could get a Bluetooth keyboard, but I don't have one. I do however have the above keyboard
Click to expand...
Click to collapse
You cannot attach 2 or more devices to the same usb port. You need an usb hub for that, but I don't know if the MHL would work with the hub. I will try later today to attach an usb hub and connect more devices, and will report my findings.
br
d3m0n
Edit:
--------------------------------------------
I have successfully connected a self powered usb hub to the galaxy Note, and connected 2 thumb drives, a combo card reader, and a mouse. The Note mounted both of my thumb drives, as /usbstorage/sda and /usbstorage/sdb respectively. Then I inserted a mikroSD card into the card reader and the phone mounted it as sdc. I then inserted an sony memory stick into the card reader and it was mounted as sdd. All mounts were usable, and I could watch movies from them, and watch pictures, copy files from one to the other, etc... But, when I connected the mouse to the usb hub it didn't recognize it. Whatever combination I tried the Note would not recognize my mouse, when plugged into the usb hub. When plugged directly to the OTG cable it works perfectly, but won't work when connected to the hub (maybe cables are to long).
Using rooted stock xxla6 firmware.
Edit2:
---------------------------------------
Just found out, that usb otg and mhl cannot work simultaneously. When the MHL cable is plugged in, the GNote's microusb port will become an MHL port, and from that point it will not act as an usb host or usb slave. :-(
It's too bad, 'cause I really wanted to connect it to my full hd monitor and use a mouse and keyboard, too.
d3m0n1 said:
Edit2:
---------------------------------------
Just found out, that usb otg and mhl cannot work simultaneously. When the MHL cable is plugged in, the GNote's microusb port will become an MHL port, and from that point it will not act as an usb host or usb slave. :-(
It's too bad, 'cause I really wanted to connect it to my full hd monitor and use a mouse and keyboard, too.
Click to expand...
Click to collapse
How about bluetooth mouse+keyboard instead ? That would keep your USB port free for MHL
chriszzz said:
How about bluetooth mouse+keyboard instead ? That would keep your USB port free for MHL
Click to expand...
Click to collapse
That does work, and works a treat I might add.
Swyped from my finger, to your face on my Samsung Galaxy Note, using Tapatalk!
I like the idea of USB Hub
chriszzz said:
How about bluetooth mouse+keyboard instead ? That would keep your USB port free for MHL
Click to expand...
Click to collapse
This is the setup I'm going to do also. But as with topic, it's also very tempting to have everything USB powered. Since it will decrease latency and maybe power consumption as well? (as opposed to bluetooth) Well, MHL to HDMI will still drain our battery even if we connect it to power source
You can also try NZtechfreak's workaround:
http://www.androidnz.net/2011/11/samsung-galaxy-note-connectivity.html
Hi I recently bought the Samsung Galaxy S3 MHL/HDMI Adapter so that I can mirror my Galaxy Note II to TV.
HTML:
http://www.clove.co.uk/samsung-galaxy-s3-mhlhdmi-adaptor
Basically what I'm trying to do is to be able to connect simultaneously this adapter with my external HDD 500Gb.
HTML:
http://www.amazon.co.uk/Intenso-6021530-500GB-External-Drive/dp/B0056ZOLXQ/ref=sr_1_1?ie=UTF8&qid=1358358015&sr=8-1
That way I will be able to carry all my movies in the HDD and being able to play it through my mobile at TV.
Now when I connect the drive alone(non externally powered) to the mobile through USB OTG cable everything works fine.
That's the case when I connect the MHL adapter alone in the mobile. It works great.
My problem is when I try to connect BOTH the HDD and the adapter together. That way I can open my mobile navigate to my HDD and open the video file and play it at any given HDTV. But I can't find the right configuration to make it work. Now the first thing that comes into mind is a USB hub. I try to use this one I own with 3 slots I have but with no luck.
Code:
http://www.tomatoflash.com/products/product_detail.php?Cate=products&label=15&dSN=16&tSN=85&mSN=45#03
What I do is the following. I connect the HDD directly to the hub through usb. I use a usb to usb cable to power the hub. And on the third usb slot of the hub I power the MHL adapter. To the mobile goes the micro usb male cable of the MHL adapter.
Now what happens is that the MHL adapter as expected works fine, but the HDD, while it seems to power (green light on the HDD) cannot be recognized from the mobile.
I believe this happens for either 2 reasons.
First : There's no way the mobile can see the HDD through the hub this way (could an externally powered usb hub help I wonder??)
Second : I need to have a dual micro usb female to micro usb male cable (which doesn't exist??), so that I can directly connect both the HDD and the MHL adapter on the phone.
Below is a photo of the connectivity if it helps
HTML:
http://i50.tinypic.com/2myw2rl.jpg
So what do you think I'm doing wrong or what do you suggest in terms of connectivity?
Thanks in advance for your help and ask anything to clarify if I made things complicated
I'm sorry but I cannot post links because of my limited number of posts thus the "html"
Title says it all, has anyone tried this?
From what I've read (and the other threads on this topic) - no it can't be done.
It can't be done my friend
I got it to work
psycho1200 said:
It can't be done my friend
Click to expand...
Click to collapse
I used the following and plugged into my TV usb port and had ethernet (verfied with WIFI shut off) and it was charging.
USB 2.0 Ethernet adapter - <amazon.com/gp/product/B003VSTDFG>
OTG with power - <amazon.com/gp/product/B00C452XFO/>
Yup, this now works great for me too! :good:
I bought the Ethernet adapter Nvidia Recommends (same as browncoatdave's)
http://www.amazon.com/Plugable-Gigabit-Ethernet-Chromebook-Specific/dp/B003VSTDFG
And just whatever Y cable could find that didn't look uber cheap.
http://smile.amazon.com/gp/product/B00CXAC1ZW/ref=oh_details_o01_s00_i00?ie=UTF8&psc=1
What I have plugged into the shield
jjprichards said:
Title says it all, has anyone tried this?
Click to expand...
Click to collapse
1) 3 Port USB Hub
2) Plugable USB 2.0 to 10/100/1000 Gigabit Ethernet LAN Wired Network Adapter
3) Micro USB Host OTG Cable with Micro USB Power
4) Smart Touch Mini USB TouchPad Keyboard
5) Full Size trackball mouse
6) Charging cord
I am charging the battery with ethernet, keyboard and mouse plugged in.
No Problem. But this is also after the kitkat update which added the charging while ethernet is plugged in.
solidsn said:
1) 3 Port USB Hub
2) Plugable USB 2.0 to 10/100/1000 Gigabit Ethernet LAN Wired Network Adapter
3) Micro USB Host OTG Cable with Micro USB Power
4) Smart Touch Mini USB TouchPad Keyboard
5) Full Size trackball mouse
6) Charging cord
I am charging the battery with ethernet, keyboard and mouse plugged in.
No Problem. But this is also after the kitkat update which added the charging while ethernet is plugged in.
Click to expand...
Click to collapse
trackball mouse, why? gives me flashbacks of the 90s...
solidsn said:
1) 3 Port USB Hub
2) Plugable USB 2.0 to 10/100/1000 Gigabit Ethernet LAN Wired Network Adapter
3) Micro USB Host OTG Cable with Micro USB Power
4) Smart Touch Mini USB TouchPad Keyboard
5) Full Size trackball mouse
6) Charging cord
I am charging the battery with ethernet, keyboard and mouse plugged in.
No Problem. But this is also after the kitkat update which added the charging while ethernet is plugged in.
Click to expand...
Click to collapse
Did you plug all the devices in a particular order? I noticed that if I plug in my charger AFTER I plug in the OTG cable into the shield, then it is not charging. But when I plug in the charger into the OTG cable and then plug it into shield, it is charging.
Is your hub powered? What exact model is it? I am asking because I have very similar setup to yours but the shield does not detect USB devices connected to the hub - it's this one: http: // esperanza . pl/esperanza-usb-2-0-hub-4-porty-ea116,182,437.html
I can connect one usb device directly to OTG cable and it works, but when I connect a hub, it no longer works.
There is a cheap way to do this if you have the soldering skills, and are willing to try it.
Get a cheap USB "Travel" hub.
Open it up, and replace the Upstream USB cable with an OTG cable (A scrap Micro-USB cable may or may not work. The connector must be Properly wired for OTG).
Remove the main power diode in the USB hub, and solder jumper the 2 pads where it was. A Multimeter in continuity mode can help you find the right component, but it takes some experience. There usually is not much in a cheap travel hub, so I can usually find them just by looking, but like I say, only try this if you have the experience, and you know what you are looking for.
Power the hub through it's 5V power jack (if it has one), or you can add a power only micro-USB socket. (Only connect the (+) and (-) power pins, do not connect the data lines. Connect it to any one of the Full size USB port's power pins. Observe polarity.)
Voila! You now have 4 Full size USB ports, it will charge your device, and provide power (Up to the rated power of the AC adapter) for your USB devices.
I did this years ago in the Nokia 770 days. It was one of the first consumer devices that supported USB OTG. Article still exists here:
http://www.linuxslate.org/N770DockingStation.html (Scroll down to the "Electronic Components" Section)
Would this work?
Would this: SODIAL(R) Micro USB Host OTG Cable with Micro USB Power plus this: AnkerĀ® Unibody 3-Port USB 3.0 and Ethernet Hub
Give me the ability to charge tablet, use Ethernet and additionally connect USB mouse and keyboard, and possibly charge Nvidia Game Controller?
Or would it just be a waste of time and money