Related
Just wondering, since some of the newer tablets let you hook up mini usb devices to it and so. Was wondering if there had been any adapters yet or so for us streak 7 users? Would be cool to get a wired controller hooked up and so.
You would need an OTG cable to do that, as dell doesnt make any you will have to make your own or use the HDMI dock.
Well I have the HDMI Dock, so I could use the dock then insert the usb device to that? Was thinking about getting that Logitech F710 with that usb dongle, heard it had support for android. What else would I need? Or hows that work fully.
As for the non dock part, has anyone made a cable yet to work?
if your device had a usb-a connector you have no choice then but to make a cable.
the sixaxis/ds3 uses a mini usb connector and might work though usb,
I know it and the wiimote will work over bt, with the wiimote being the easier to pair one.
Well I have the wiimote working fine, Issue there is.. Yea.. Battery drain on that remote. So figured maybe getting a adapter. I guess I need a USB to Mini micro usb? (The new style mini usb thing.. man I miss the old big RAZR size ones) How many of you have used a HID device or so on android or the streak 7?
you'd need to splice together the dock connector to preferably a USB-A female port, it'd be the most useful as you'd have a cable that could accept anything, but it'd mean you'd always need a minimum of 2 cables.
You'd also have to dissemble to dock connector itself i believe as the OTG pins are different from what's wired in the normal sync/charge cables, you cant simply cut the cable and rewire it, you'd prob have to cut the dock connector open and resolder
If you made a dock to micro usb connector it'd only accept devices that have a micro usb port on it.
Keep in mind usb mode means that the controller would be drawing power from the device itself, while controllers dont draw that much, it's still something to point out
Wouldnt this be all I need?
http://www.amazon.com/USB-Female-Mini-Male-Adapter/dp/B0016RNX2I/ref=pd_sbs_e_4
Would take the normal size usb dongle or cord, fits into the USB slot of the dock itself.
I havnt actually tried it but it sounds like that should work, i know that port is designed for otg connections so i'd assume it'd take care of the hard work.
When on 2.2.2 Did I need a special program for this to work? I know 3.x had native support. Just wondering. =) (Or can any game/emulator with key remapping auto detect)
if it's anything like the hoops needed for the s5 on 2.2.x yes, unless dell included their own code stuff to make it work, then i'm not sure.
I've never attached a controller to anything, wired or not so I can only say that much
Wonder what the app would be called or so, anyone know? I mean I ordered the part, should be here in a few days, then I can report any tests I have with a Rumblepad 2.
Ok tested it out, So far nada. Dont know if its even supposed to work.
Has anyone here hooked a wired controller up to their android? Running Honeycomb now too.
I know people talk about the F710, which I wonder if that works cause its battery powered?
So what's the verdict guys? Can a controller or other USB device be connected to the mini USB port on the docking station and work? If not, will it work if you plug in a mini USB OTG cable (like this one http://www.ebay.com/itm/Mini-USB-Re...757?pt=LH_DefaultDomain_0&hash=item3a6edf5335) into the docking station and then plug the controller into the OTG cable?
So far my verdict is nada.. dont think its supplying power to the usb ports. Now its been said that adapter based ones may work, something where controller is powered by batteries. Tho again. No one ever gives a real confirm.
My next area to branch out is http://www.onlive.com/controller 50$ but you can use a adapter for the pc. However it also works with bluetooth, something that the tablet DOES support and no adapter needed. Since I have the onlive app, least it will work 100% for THAT. Once my tax money comes in, Ill order the controller and see if it can work on emulators and so too. least then we will have 1 solid answer that has some good use. (Since honestly, onlive on the tablet really isnt bad at all!)
Why not bluetooth your ps3 controller though the sixaxis app on the market thats what I've done works great
Sent from my Dell Streak 7 using xda app-developers app
I have used my Wii remote that way
Sent from my Nexus 7 using Tapatalk 2
To answer both. If I am not mistaken. PS3 controllers have to be "paired". Which means when you wanna play PS3 or Tablet.. got to re-pair them all the time, correct?
Wii-Motes I know you dont have to re-pair them. However.. one thing I hate... that to use the classic controller.. you need to have the Wiimote laying around somewhere.. then the cable for classic. Seems bulky for normal use.
Both controllers all are battery too. Would be nice for wired solutions. If I do anything wireless, I may as well get that Onlive controller with BT support.
If you have a sixaxis/DS3 dedicated to non-ps3 use: you only have to re-pair it every time you want to use it on a different device.
The sixaxis/ds3 do work in usb mode, at least on pcs. I dont recall if there's a solution to use it in usb mode on android (though i'd imagine it should, as usb mode is trivial to enable)
If you only have a single device to use it with, you only ever need to pair it once and then you're done.
Well, I finally went and tried hooking up a usb hub to my S7, and my results were absolute failures.
I bought an OTG <-> dell 30 pin a while back and a standard OTG <-> dock cable.
I dont have a baseline as I dont know offhand which kernels are specifically tested to work.
It seems to enable the hub (by enable I mean it powers up on detection of a host, it's wall powered)
on my S5 with ICS/Phoenix kernal (which is known to support usb hosting), but nada on my S7 with ICS B4/mod and stock 514.
Can anyone explicitly confirm that the b4 and stock kernals work with host?
I'm pretty sure nothing is happening on either of those, and as it works fine on my S7 it's definitely not bad cables/hardware.
Edit: at least the S5 is even capable of powering the hub itself, and with a dock it can charge at the same time. If it wernt for the terrible HDMI out on it, it would be a full on android pc with the dock.
The S7 on the other hand: I still cant get anything, remotely powered or self powered: it gives no response
I can tell you, yes, ICS kernel does have otg drivers but may not provide power to those devices.
Sent from my Nexus 7 using Tapatalk 2
I have a Galaxy GT-I9003 phone and a GT-P7300 tablet.
Both devices support tethering to a PC via USB but, according to customer care at Samsung NZ, it is not possible to tether the phone to the tablet (or vice versa) with USB, only via wireless or Bluetooth.
I find this a bit strange.
Any thoughts??
I looked around for a cable to connect the two devices so that I could test this, but it looks like Samsung does not supply such a cable.
It may be possible to rig a cable using the cables supplied with the devices and a USB adapter??
doesn't it strike you that your phone has to be in USB host mode while your tablet as USB client?
That alone may be a feat to achieve, cabling comes later.
priyana said:
doesn't it strike you that your phone has to be in USB host mode while your tablet as USB client?
That alone may be a feat to achieve, cabling comes later.
Click to expand...
Click to collapse
Always thought USB was a 2-way street.
Never considered the host/client scenario.
for example, your PC USB ports are host ports. You can connect devices to it and the OS will see the device and use it.
The port in your phone/tablet is usually a client. You only plug it so that the PC can see it.
Having said that, Galaxy Tab 10" has a USB host port function, and you can plug a mass storage to it, a mouse, or a keyboard, I think.
Some of the cheap tablets even allow you to plug a USB 3G dongle modem to it.
Now, whether your GT-I9003 has host port function, I don't know.
Hello,
I have a USB OTG cable and dell keyboard that I have tested and work in OTG mode on a Nexus 7, however i cannot get them to function with my HP Touchpad 32gb, running CM9 2.6.35, built on Sun Oct 28.
The device recognizes when I plug in anything via USB, but only as a generic Linux USB hub, and not as any particular device. Are there any steps to take to debug this? Has anyone had experience with this type of an issue?
Thanks for your help,
Cory
I don't know if this is the issue, but I know the touchpad doesn't support OTG like the the Nexus does. I think you need a Y-adapter + OTG to provide power since the micro usb port doesn't give any power to the device you connect. Someone correct me if I'm wrong though.
Apparently even a powered USB requires a powered Y cable to be properly recognized. I hacked together a quick Y cable manually, by splicing in another USB cable's power and ground (Red and black) to the respective locations on a female USB cable. Works as expected.
I am now communicating with an Arduino over Serial
Thanks!
Read this thread, should give you all the info you need:
http://forum.xda-developers.com/showthread.php?t=1582771
Basically the Touchpad has OTG but it provides no power.
wcdolphin said:
Apparently even a powered USB requires a powered Y cable to be properly recognized. I hacked together a quick Y cable manually, by splicing in another USB cable's power and ground (Red and black) to the respective locations on a female USB cable. Works as expected.
I am now communicating with an Arduino over Serial
Thanks!
Click to expand...
Click to collapse
I'm curious if you are able to charge with this cable hack while using usb devices?
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
ZedZardoz said:
I'm curious if you are able to charge with this cable hack while using usb devices?
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
Click to expand...
Click to collapse
if so , he is the first of the many many many who has used this cable..HPTP just is not set up for charge + usb data at the same time
amkaos said:
if so , he is the first of the many many many who has used this cable..HPTP just is not set up for charge + usb data at the same time
Click to expand...
Click to collapse
Agreed. I think people just are not stating reality regarding the ability to charge and use OTG Hosting to USB devices at the same time.
My goal here has been to attach a flash drive with video/audio media and play & charge on long flights. It looks like play, charge are mutually exclusive on my beloved TouchPad.
I've asked for the specific confirmation of this from this YouTube but have never had the poster reply:
https://www.youtube.com/watch?v=p10LgZFIawo&feature=BFa&list=PLCED27D4A23068E04&index=7
There are devices out there that have very advanced micro USB device implementations. Sadly the HP is only superficially supportive.
I for one cannot wait to get my SGN2 smart dock which offers:
Charging
OTG (x3 USB)
Audio out
HML HDMI out
Docked Profile
Not sure if this has already been discussed/discovered, but will it be possible to use the new Nexus dock "and" an OTG cable at the same time? It seems feasible given that the dock charges the device using the pin connectors which frees up the USB port.
One possible problem is that the dock also acts as a passthrough for data/audio so there may be a problem with the tablet trying to reconcile both sources trying to have simultaneous access.
I ask because it would be nice to be able to charge my Nexus 7 and utilize an OTG cable (for storage drives and game controllers) at the same time. I know there is an OTG Y-cable solution, but that involves rooting the tablet.
Has anyone already explored the possibilities of this combination?
Xenoterran said:
Not sure if this has already been discussed/discovered, but will it be possible to use the new Nexus dock "and" an OTG cable at the same time? It seems feasible given that the dock charges the device using the pin connectors which frees up the USB port.
One possible problem is that the dock also acts as a passthrough for data/audio so there may be a problem with the tablet trying to reconcile both sources trying to have simultaneous access.
I ask because it would be nice to be able to charge my Nexus 7 and utilize an OTG cable (for storage drives and game controllers) at the same time. I know there is an OTG Y-cable solution, but that involves rooting the tablet.
Has anyone already explored the possibilities of this combination?
Click to expand...
Click to collapse
I read somewhere else that while docked, the device doesn't react to an OTG cable. This is just what I've heard, haven't seen it confirmed.
This guy did something similar, and the results are evident: Dock point is useless! Charge and OTG can not be carried out simultaneously!
Would be nice to know, if Timurs kernel, which allows charging and multiple USB would solve this. Have no dock, so I can not check. What I would like to have is something like the magnetic pogo charger which is annonced for Nexus 10.
Hi,
As you know, the Nexus 4 doesn't support USB OTG, meaning you can't use it with USB drives, gamepads, etc.. One reason is that the device doesn't seem to provide the neccessary 5V, the other reason is that it's not supported by the kernel.
So, I've been digging a bit, and now I can claim partial success! It's possible to supply the 5V yourself, and then activate USB host mode manually. It's a bit cumbersome, but for the beginning better than nothing. I tried a mouse and USB drives.
I should warn you that this is just a proof of concept and nothing that you'll want to use on a daily basis. Regular USB doesn't work properly while running this kernel, and I haven't checked battery consumption. Also this is based on Android 4.2.1, and if you have 4.2.2 you might not be able to make calls. That shouldn't be a problem as this is for testing only, though. Just let me say, I can't guarantee for anything, and I'm not responsible if you brick or blow up your phone.
You'll need:
- A USB OTG cable
- A USB Y cable to provide the 5V (It has two USB-A plugs and one USB-A socket.)
- My custom kernel
- Unlocked bootloader
- Android developer tools (adb, fastboot)
Load the boot image on your phone (this is not permantent):
Code:
$ fastboot boot myboot.img
Connect everything as follows (should be obvious):
- Y cable power plug (typically red) to the PC or adapter
- Other Y cable plug into the OTG cable
- OTG cable into the phone
- USB device into the Y cable socket
You need a remote shell on your device. Use adbWireless or similar to enable ADB over WiFi, then do:
Code:
$ adb connect 192.168.0.108:5555
(or whatever your phone's IP is)
$ adb shell
Now you should be on your phone. Do
Code:
[email protected]:/ $ ls /sys/kernel/debug/msm_otg/
and you should see 'mode' if the new kernel works. Now become superuser and enable USB host mode:
Code:
[email protected]:/ $ su
[email protected]:/ $ echo host > /sys/kernel/debug/msm_otg/mode
To disable USB host mode, use "none" or "peripheral". Note that at this point, I couldn't get it to go into regular USB mode. This means that MTP and adb over USB doesn't work yet.
Connect a device, and you should see more than two entries under "lsusb". Congratulations, your Nexus 4 has just recognized it's first USB device! If you install Stickmount (you have to sideload it since it's marked as not compatible), you can mount USB flash drives. Nexus Media Importer doesn't seem to work, though.
How does this work?
Basically, I just added the following line to the beginning of msm_otg_debugfs_init in msm_otg.c:
Code:
motg->pdata->otg_control = OTG_USER_CONTROL;
This enables the mode file in debugfs I use for mode switching. The next step would be to enable manual mode switching while keeping regular USB support, which shouldn't be too hard. Later down the line we can think about switching automatically on cable insertion, and maybe event getting 5V out of the device, but that would be a lot harder.
So, try it out, let me know if it works for you, and feel free to tinker around and improve what I've got!
Nice to see some progress going. Only thing that irks me is the Y cable though, kinda defeats the purpose of OTG to me...
Thanks a bunch for your work though!
Sent from my Nexus 4 using xda premium
You are a genius. :good:
Just connected a powered USB-HUB and a mouse to my OTG cable, flashed the kernel and typed the commands directly with a terminal app on the device.
It simply works !!!
Awesome development, one of my biggest gripes was the lack of USB OTG, I just assumed it was included as stock, that's why part of the reason I purchased this device.
This is awesome. Going to have to order some cables now. Since we have to supply power anyway, is it possible to support usb-otg + charging? Figure the phone is "too thin" anyway... I'll probably be making a 64gb microsdxc + battery case for the phone. Hello extended battery life.
Great work, I was just looking for this yesterday. Would it work with a USB dac (Assuming I had a powered usb hub)? Just asking because I think usb audio is often overlooked, and I would really like to have it.
Nice!
It would also be interesting to see if the slimport adapter allows otg pass through (their website says it does)... Then that's HDMI +charging +mouse/keyboard. Even miracast + mouse/keyboard would be awesome
Sent from my Nexus 4 using Tapatalk 2
Flynny75 said:
Even miracast + mouse/keyboard would be awesome
Click to expand...
Click to collapse
we've already got that, haven't we?
Finally! Now I will get to use my 1TB Portable HDD!!
My 8 gig is FREE! Lol
Sent from my Nexus 4 using Tapatalk 2
I'd like to be sure I'm getting a good USB Y cable. I see a few on Amazon, some have the word 'Power' in them, some don't. Most don't have a red plug. Are there some specific characteristics I should look for in the description to know that it's suitable for this purpose?
Here's one example that does NOT say 'Power' in its description.
http://www.amazon.com/OEM-UTStarcom-USB-Adapter-Cable/dp/B002W8EDOM/ref=pd_sim_e_2
Thanks, CaptainMuon, for your terrific work!
EDIT: After reading Scorpio16v"s post (and watching his video...thank you!), I thought I would try with a powered hub, since I don't have the Y cable. Also, I used the terminal emulator instead of adb, as he suggested. YES! It worked with a USB micro sd card reader adapter (I had bought it from ebay specifically for this Nexus 4 since I knew there was no sd card slot). That required stickmount, as CaptainMuon mentioned. Then I tried a USB mouse, and that worked also. This is great!
I'd still like to know more about the Y cable, as I asked above, even though this other method worked well for me.
Wonderful!!
R: Manual USB OTG working
Can the USB hub be non powered?
Inviato dal mio Nexus 4
Cice96 said:
Can the USB hub be non powered?
Inviato dal mio Nexus 4
Click to expand...
Click to collapse
When I powered off my USB powered hub, neither the USB Micro SD or the USB mouse worked.
Greaaatt news and excellent development on this front sir.
I was eagerly waiting for someone to come up with a solution to this topic.
But coming back I've read in so many places that a kernel can be tweaked so as to supply 5V to the socket!!(I'm considering that is the problem here. With power supply its working).
??
Sent from my Nexus 4 using xda app-developers app
Awesome, my one gripe with the phone is now (almost) gone!:good:
Any chance it it'll work with non-OTG cables/adapters (The plain USB host ones which don't have that extra pin)?
Just posting to thank you for all the time and effort you must of put in.
ziddey said:
This is awesome. Going to have to order some cables now. Since we have to supply power anyway, is it possible to support usb-otg + charging? Figure the phone is "too thin" anyway... I'll probably be making a 64gb microsdxc + battery case for the phone. Hello extended battery life.
Click to expand...
Click to collapse
It seems to be charging in USB host mode. (In my Y cable, the +5V line connects all three plugs, so the phone gets juice too. Not sure if that's always the case.) We have to do some testing to see if it charges at normal speed, etc.
eiriklf said:
Great work, I was just looking for this yesterday. Would it work with a USB dac (Assuming I had a powered usb hub)? Just asking because I think usb audio is often overlooked, and I would really like to have it.
Click to expand...
Click to collapse
I guess, if it is supported on any other android device, it should be possible here. Would be great if someone with a DAC would try it!
Flynny75 said:
It would also be interesting to see if the slimport adapter allows otg pass through (their website says it does)... Then that's HDMI +charging +mouse/keyboard. Even miracast + mouse/keyboard would be awesome
Click to expand...
Click to collapse
Dito. If someone has such an adapter, I'd be excited to know if it works.
sga999 said:
I'd like to be sure I'm getting a good USB Y cable. I see a few on Amazon, some have the word 'Power' in them, some don't. Most don't have a red plug. Are there some specific characteristics I should look for in the description to know that it's suitable for this purpose?
Here's one example that does NOT say 'Power' in its description.
http://www.amazon.com/OEM-UTStarcom-USB-Adapter-Cable/dp/B002W8EDOM/ref=pd_sim_e_2
Click to expand...
Click to collapse
Hmm, I don't know how you could make a Y cable that doesn't provide power from one end, and data from the other . It should work, but I know there are a lot of scam/poor quality cables out there, so I can't guarantee it. I've got this one:
http://www.amazon.de/Delock-Adapter...=sr_1_4?s=ce-de&ie=UTF8&qid=1361096352&sr=1-4
Yes good through bro...well done
But ohhhh man...i hate to use extra stuff like y cable and a powersource....
F**k google
Sent from my Nexus 4 using Tapatalk 2
you should post this to development section ;
let's see if other dev can also contribute to make a nice working kernel with these stuff;
without any bugs you had mention above.
BTW ;
Nice work Bro. :good:
by the way ; i can use my powerbanks as the power source. so i don't need any land electric sources.
not yet try it, i will need to find the XY cable first ( non powered USB Hub will do fine, and powered by the 11000Mah Powerbanks )