[Q] How can i use a USB Hub? - Galaxy S II Accessories

Hey guys,
first, srys for my english.
Second, the Problem: I bought myself a USB OTG Cable, it works very well with a Notebook Mouse, buut my main idea is to put on a USB Hub with 2 Gamepads, and i've seen many Youtube vids where guys uses SGS 2 + USB hub, so how can i manage it?
Does anyone have a short Tutorial and Items which are needed to do it??
Would be great !!
Thanks to all.
---------- Post added at 02:53 PM ---------- Previous post was at 02:19 PM ----------
ok i got the USB Hub working... buuut my USB Mouse which is connected with the Hub isnt reacting...! help meee pls

Are you sure about those vids, I can't seem to find any. I'm pretty sure a USB hub will not work with a USB OTG device. The hub might power up but you won't get any connectivity.

Related

OTG through a HUB

Hey! So i managed my S2 to work with an OTG adapter. Now it recognizes Flash drives, USB mouse and keyboard as well. My problem is though, that i'd want to use both the mouse and the keyboard simultaneously, and later on my tablet as well.
I've got a USB hub which was pretty cheap i guess,
ht tp://itmedia.sk/item-images/other-usb_omega_hub4portSTARpowercapable/it6818_2.jpeg?nc=032
When i connect it to the OTG adapter it lights up, and if there's a flash drive attached to it when i plug it in, the phone recognizes the flashdrive without problem. As soon as i plug in a second flash drive, the light goes off from the HUB and both of the sticks get unrecognized. Also, the mouse nor the keyboard works through the HUB somehow..
I need to buy a specific hub with OTG support or a power hub perhaps? Could anyone help in this? I looked over google and stuff but people seemed to say different stuff at almost every site.. Thanks!!
My Galaxy S has stock 4.0.3 rom with the Syjah S2 4.1.4 Kernel
Phones doesn't support usb hubs.
przemcio510 said:
Phones doesn't support usb hubs.
Click to expand...
Click to collapse
Oh well that's quite interesting. Then you're saying this piece of video could be fake perhaps?
Since i can post links yet, search for this on youtube: USB HUB Support On GALAXY S2
Check the very first video.
I'm convinced that the every phone can handle only one device connected at the same time.
przemcio510 said:
I'm convinced that the every phone can handle only one device connected at the same time.
Click to expand...
Click to collapse
Well, it surely doesn't seem that way, that's why i was asking, since it's possible.
Weird.... i got sgs2 and 4-port usb hub and when i connect 2 pendrives to hub and hub to phone everything works good (i see UsbDriveA and UsbDriveB). If your hub have dc input you can try connecting power supply to this hub. Maybe this hub isn't compatibile with your phone.

USB OTG + USB HUB to connect A Mouse and Keyboard same time

Greetings Guys, I bought an USB OTG Cable, which works great on mouse,keyboard and pen drive.
My only ambition is to get it working with a Mouse and Keyboard at the same time, so I can use my mobile as a portable netbook like for work while im outside of home.
I have at the moment an USB OTG Cable, and a low power mini mouse and portable keyboard also an USB Hub with two ports, which can use external power source.
The thing is my note can see each alone, cant see the HUB and the devices connected, even with the external power connected to the hub, what I can do to solve this? thanks
Install USB OTG helper app (needs root), you can try to get some debug info from there.
Check this: www_leicke_eu/en/products/DS40538. I found it while looking for a usb hub that will permit me to charge my note 10.1 when using otg cable with mouse. Just replace _ with dots.
uhi711 said:
Check this: www_leicke_eu/en/products/DS40538. I found it while looking for a usb hub that will permit me to charge my note 10.1 when using otg cable with mouse. Just replace _ with dots.
Click to expand...
Click to collapse
but how does this fit to the N700? is their an adabpter for the plug
---------- Post added at 08:36 PM ---------- Previous post was at 08:31 PM ----------
fearkillerr said:
Greetings Guys, I bought an USB OTG Cable, which works great on mouse,keyboard and pen drive.
My only ambition is to get it working with a Mouse and Keyboard at the same time, so I can use my mobile as a portable netbook like for work while im outside of home.
I have at the moment an USB OTG Cable, and a low power mini mouse and portable keyboard also an USB Hub with two ports, which can use external power source.
The thing is my note can see each alone, cant see the HUB and the devices connected, even with the external power connected to the hub, what I can do to solve this? thanks
Click to expand...
Click to collapse
Have being looking for the same thing for a very long time. Dind't find anything like that and ended up with bluetooth keyboar and mouse.
Did you find anthing else?

XS OTG cable

I am unable to connect my Xperia S with external storage as I brought 3 different otg cables and all of them are not working, Please can anyone tell me where can I find OTG cable that surely works with Xperia S. I m from India
aprilian8 said:
I am unable to connect my Xperia S with external storage as I brought 3 different otg cables and all of them are not working, Please can anyone tell me where can I find OTG cable that surely works with Xperia S. I m from India
Click to expand...
Click to collapse
what external storage where you trying to connect? pendrive, harddisk or memorycard?
HP pen drive FAT32 formatted
aprilian8 said:
HP pen drive FAT32 formatted
Click to expand...
Click to collapse
what capacity btw?
When you connect a pendrive, usually either of 2 things happen:
1.) shows that external storage is connected, details can be seen in settings>storage, external storage. file access needs to be done using a file manager app.
2.) shows, device power consumption error. meaning, ur pendrive consumes lot of power than the phone can provide. solution to this is to use a new pendrive or thru a externally powered usb hub.
Its of 8GB. The phone doesnt show any sign of connected pen drive and even the external storage option in "storage" is greyed out
thanks
Sent from my GT-I9505 using xda app-developers app
aprilian8 said:
Its of 8GB. The phone doesnt show any sign of connected pen drive and even the external storage option in "storage" is greyed out
Click to expand...
Click to collapse
hmm, I dont c wat is wrong, try another pendrive, prefarably of a different model or brand and of smaller capacity.
else it shud be a problem with the cable.
I had bought a general OTG cable from Ebay
aprilian8 said:
I am unable to connect my Xperia S with external storage as I brought 3 different otg cables and all of them are not working, Please can anyone tell me where can I find OTG cable that surely works with Xperia S. I m from India
Click to expand...
Click to collapse
You can use "StickMount" app to mount USB storage , incase your phone is not detecting the USB device. The only issues is that the app needs a rooted device. so if your mobile is rooted then you are good to go.
StickMount isnt helping either
try connecting a usb mouse and/or keyboard..
if it works, try a different pendrive, else then maybe u can blame the OTG cable or ur phone...
I made my own OTG cable using an old regular micro cable that I no longer needed. I believe you need to "jump" pin four to pin five....but you would be best researching it. I recall it being extremely easy to do, but then again I do have years of experience ripping stuff apart and putting it back together.
---------- Post added at 07:56 PM ---------- Previous post was at 07:54 PM ----------
Also, I don't think drive size is an issue as I've connected a 2TB full size external hard-drive (the kind with a power brick) and was able to use it just fine. It was NTFS formatted so I did have to use USB OTG Helper to get it working, but it did work with no problems.

[Q] USB OTG Charging

So I have a 'Y' cable for USB OTG. When i plug in the charger size (the OTG works) it calls msm_otg_notify_chg_type with USB_CDP_CHARGER. So far so good.
However, it calls pm8921_set_usb_power_supply_type. Since flo_defconfig has not set CONFIG_PM8921_CHARGER, this returns an error.
I'm a bit confused about the relationship between SMB345 and PM8921. If l look in board-flo.c, it seems to use SMB345 to set the charging.
If I set CONFIG_PM8921_CHARGER in the config, it fails (or doesn't call?) the probe, so that doesn't help, just a different error.
So, the Q is... can anyone explain the intended operation of the 'Flo' for OTG Charging? Should i be trying to figure out how to get the PM8921_CHARGER option going? or the SMB345 option?
usb_cable_type_detect() is in smb345 and seems to do some of this work, and is called too.
No one?
I've done some work and figured out how to make it charge with the OTG cable.
I found that CONFIG_PM8921_CHARGER is not set (and probably for a reason, it uses the SMB345).
If you enable CONFIG_USB_MSM_ACA and CONFIG_USB_MSM_STANDARD_ACA then when the cable is plugged in, it will start to charge. In msm_otg_notify_chg_type() it gets an error when it calls pm8921_set_usb_power_supply_type() since its all stubbed. I tried adding smb345_charger_enable(motg->chg_type == USB_INVALID_CHARGER ? false : true); there, but i'm not sure its needed (the cable callbacks seem to do the work).
The catch? when ACA is enabled, the actual OTG function stops working
So the same cable will either charge, or do OTG (depending on kernel config), but not both together.
So my conclusion is something is wrong in the state machine
Now, msm72k_otg.c is quite a bit more complex than msm_otg.c. Its not clear to me why these are not the same file.
Also, its important that CONFIG_USB_MSM_STANDARD_ACA be set (which does only one thing, ignore the RID_B and RID_C bits). If this is not enabled, no state is detected.
OK, so something is wrong in the state machine. Between the smb345 and the msm_otg there's some weird layering here. But the net effect is that its not working, they are confused about the state machine.
Any suggestions? Anyone?
Hi,
I'm a little out of my depth here as I didn't understand all of your update.
However, I was under the impression that USB OTG can not support charging due to the way the port implemented USB OTG.
This is a hardware limitation with how USB OTG was added to the existing physical port rather than a software limitation.
(I've tried to find some verification of this theory, but so far I have not been able to, if I can find it, I'll update.)
T.
---------- Post added at 03:44 PM ---------- Previous post was at 03:43 PM ----------
Acuum2 said:
Hi,
I'm a little out of my depth here as I didn't understand all of your update.
However, I was under the impression that USB OTG can not support charging due to the way the port implemented USB OTG.
This is a hardware limitation with how USB OTG was added to the existing physical port rather than a software limitation.
(I've tried to find some verification of this theory, but so far I have not been able to, if I can find it, I'll update.)
T.
Click to expand...
Click to collapse
maybe have a read of: http://rootzwiki.com/topic/31144-usb-otg-pass-through-charging/
---------- Post added at 03:51 PM ---------- Previous post was at 03:44 PM ----------
Seems i may be wrong.
also very interesting reading.
http://rootzwiki.com/topic/30615-can-you-charge-usb-host-mode-simultaneously/page-4#entry957309

[Q] USB hub and external storage

Has anyone tried using External storage over a USB hub with Stickmount? I have an unpowered hub and a portable external HDD. I figure this isn't working because of lack of power. I would like to know if anyone has used a combination of unpowered hub/powered drive or powered hub/ unpowered drive, with any level of success.
Strange USB experience
Same thing here.
With the unpowered hub it does not see my 500gb drive.
I've been trying to figure it out.
Some say Stickmount would not auto-mount for them, yet my 32gb flash drive(fat32) auto-mounts at boot and displays a message
reported from Stickmount indicating the successful mount.
I just now unintalled Stickmount and re-booted and it still auto-mounts - but no message now.
I had tried several usb mount apps before and one of them must have stuck. Can't fine it with Titanium. Not sure what it was.
Can anyone tell me how to track it down? It might be useful. Maybe rooting changed something. IDK
---------- Post added at 03:09 AM ---------- Previous post was at 03:03 AM ----------
I also tried this one without the hub.
https://play.google.com/store/apps/details?id=com.skidmrk.umswatcherotg
It would display two 500gb drives but I could not click the mount button without my mouse and the auto-mount option didn't seem to work.
[email protected] said:
Same thing here.
With the unpowered hub it does not see my 500gb drive.
I've been trying to figure it out.
Some say Stickmount would not auto-mount for them, yet my 32gb flash drive(fat32) auto-mounts at boot and displays a message
reported from Stickmount indicating the successful mount.
I just now unintalled Stickmount and re-booted and it still auto-mounts - but no message now.
I had tried several usb mount apps before and one of them must have stuck. Can't fine it with Titanium. Not sure what it was.
Can anyone tell me how to track it down? It might be useful. Maybe rooting changed something. IDK
---------- Post added at 03:09 AM ---------- Previous post was at 03:03 AM ----------
I also tried this one without the hub.
https://play.google.com/store/apps/details?id=com.skidmrk.umswatcherotg
It would display two 500gb drives but I could not click the mount button without my mouse and the auto-mount option didn't seem to work.
Click to expand...
Click to collapse
It's probably the hub/drive combo. I have a unpowered hub that the FTV can see my wireless mouse but not my Toshiba 1TB. But I have powered hub that I can connect and see the Toshiba drive.
kairnage said:
It's probably the hub/drive combo. I have a unpowered hub that the FTV can see my wireless mouse but not my Toshiba 1TB. But I have powered hub that I can connect and see the Toshiba drive.
Click to expand...
Click to collapse
I don't think any unpowered usb hub will be able to spin a harddrive at 5900RPM or 7200RPM. Molex or Sata power connectors deliver 12V and USB only delivers 5V. It may work if you have an external SSD, but I'm not so sure.
My unpowered usb hub powers my 32GB Flash Drive, Flirc, Bluetooth dongle for Keyboard and a USB Mouse.
I was able to mount a 1TB, externally powered HDD and navigate the folders.
Tried to play videos in XBMC. There was sound but no picture on every file I tried.

Categories

Resources