Hi!
I've been wondering if our device could act as an USB host. It would be good to experiment with that feature, adding new drivers to the kernel, and using external devices like a printer, or an usb drive. Is it possible?
I've read some forums, I've seen that on Motorola Droid and ZTE Blade, that they have attached an usb keyboard, or a usb flash drive. These devices did not have a power supply on the port, they solved it externally.
So, the big question is can we enable the host mode on the USB somehow?
I've heard this has to be supported by the processor, and as far as I know the MSM7227 does not support the USB-host function. :/
nutterbg said:
I've heard this has to be supported by the processor, and as far as I know the MSM7227 does not support the USB-host function. :/
Click to expand...
Click to collapse
I did some research on this, and found something interesting:
https://picasaweb.google.com/lh/photo/sEQxpLaNfqmYjQ0clvLM2Q?feat=directlink
I found this in the service manual of our phone So it's not impossible - the MSM7227 supports the host mode by hardware - the question is how do we get use of this?
zte blade has MSM7227 -> so if they got it workin ... maybe we can use their drivers?
that would be a great feature
smg72523889 said:
zte blade has MSM7227 -> so if they got it workin ... maybe we can use their drivers?
that would be a great feature
Click to expand...
Click to collapse
I've googled a little more on this, here's what I found :
USB keyboard+ZTE Blade: http://www.youtube.com/watch?v=B1ydScM0sXU
The guy's webpage, who made the custom kernel for USB Host mode to ZTE Blade and Nexus One - could be useful http://sven.killig.de/android/N1/2.2/usb_host/
And his kernel: https://github.com/sonic74/kernel_msm - the only problem is that this kernel is .35, i don't know if we could port the host drivers from that
If any devs are here, please help us
(I'd love the next SwiftDroid with usb host support)
Before I try looking into this, wtf is USB hosts. I'm gessing its different to Adb and mass storage by the looks of this conversation :/
lukemovement1 said:
Before I try looking into this, wtf is USB hosts. I'm gessing its different to Adb and mass storage by the looks of this conversation :/
Click to expand...
Click to collapse
USB host is the 'boss' device so to speak. It gives commands to its connected devices (USB Slaves) So, when your phone is connected to computer, the PC is Host where the phone is a slave. So using USB host on a phone/tablet, means you can connect a manner of devices such as keyboards, mice, flash drives and such. Hope that answers your question
any progress?
http://rumah-android.com/read-your-flashdisk-into-android-deviceusb-on-the-go.html any one try this and give us result.........
USB Host will come with platform 3.0+ ( for tablet )
So, you connect USB device to it.
If you want to control other device with Android platform below 3.0.
May use IOIO Board.
more detail
http://androidcontrol.blogspot.com/2011/10/ioio-board-for-android-control-io.html
Related
Hi,
I allways believed there is no RS232 on HTC Devices. Today I found something that confuses me:
http://bestcelldist.com/htc_tytn_ii_serial_data_cable.html
and this:
http://www.ppc-phones.de/index.php?site=ppcphones/htc_p4550.htm
is this Real? - where can you buy such cables? anybody a Wiring diagramm?
As our Devices miss USB Hosts maybe this is a chance to attache some custom Hardware.
BR
Daniel
more confusion:
http://htc-tytn-ii.handster.com/software.php?id=3339&for=HTC+TyTN+II
I know it doesn't work? Or am I wrong?
DanielS said:
more confusion:
http://htc-tytn-ii.handster.com/software.php?id=3339&for=HTC+TyTN+II
I know it doesn't work? Or am I wrong?
Click to expand...
Click to collapse
Interesting. Anyone ever give it a try ?
They do have a free download available...
http://teksoftco.com/index.php?section=products&pid=18
I read the manual and they say: "To connect a USB device to your Pocket PC, your mobile device must have a USB Host connector. Not all Windows Mobile Devices have it."
Kaiser do not have USB host.
I also believe that you cannot draw power from USB. So this leaves BT mouse as only option.
Assuming USB hub functionality is present on the HD2, does anyone know if standard USB devices (e.g.generic keyboards or standard USB memory sticks) could be used on HD2 without having to install special drivers?
I'd like to know this to!
And like the G02, can I use a gamepad on this baby?
Given that USB host isn't supported how do you expect the device to have the drivers for it?
According to various reviews I've seen, USB host is supported.
sent them a mail
hello, just a quick question regarding the new HTC HD2,
does is "support" USB host, i.e can I plug in ,say, a USB memory stick (Generic devices)?
best regards
Click to expand...
Click to collapse
lets see how fun the answer will be...
Well, there are no drivers for peripherals in the leaked ROMs, no official information, nothing that would really indicate USB host support. It may be enabled somehow via hacks, but that would certainly mean that drivers need to be installed separately.
got a reply from HTC today;
"It doesn't support"
thats a shame really, hoped it would have... no TV out and no usb host, that sucked
how would it work to extract the host drivers from another device?
Could they be used on the HD?
(I think not after what I have read, but it just might work)
may be you can try thoses drivers :
http://forum.xda-developers.com/showthread.php?t=480899
and some proper cabe because you may have to add a input power cable and see if it works and tell us
Hi all, I did a search under this forum and do not actually found any info.
Actually, many older Android phone/device do come with USB Host (OTG) function, hardware or software, with hacks or officials,
Mod/Hacks:
MOTO droid, N1, ZTE Blade, etc
Officials support:
Samsung GS2, MOTO Xoom, MOTO Atrix4G, EEETransformer, Many CN crappy Android Tablet.
I tried using a OTG Cable with a USB thumbdrive on LGP9xx but no luck, browsing thru the system I found that there are USBDisk DIRs on / or /mnt/USBDisk, there are no define on vold.fstab at all on LG, not like the MOTO Xoom..
dev_mount usbdisk /mnt/usbdisk auto /devices/platform/tegra-ehci
So my wild guess is it was not turned on kernel level?
As far as I can tell, there is USBHost OTG support on Tegra2, seen post related to that on that, I understand that hardware might not be wired (that's what we gonna check), anyone any info/hints/directions/ideas about this on the LGP9xx?
It would just be great if we can use OTG on LG99x...
thanks.
utp said:
Hi all, I did a search under this forum and do not actually found any info.
Actually, many older Android phone/device do come with USB Host (OTG) function, hardware or software, with hacks or officials,
Mod/Hacks:
MOTO droid, N1, ZTE Blade, etc
Officials support:
Samsung GS2, MOTO Xoom, MOTO Atrix4G, EEETransformer, Many CN crappy Android Tablet.
I tried using a OTG Cable with a USB thumbdrive on LGP9xx but no luck, browsing thru the system I found that there are USBDisk DIRs on / or /mnt/USBDisk, there are no define on vold.fstab at all on LG, not like the MOTO Xoom..
dev_mount usbdisk /mnt/usbdisk auto /devices/platform/tegra-ehci
So my wild guess is it was not turned on kernel level?
As far as I can tell, there is USBHost OTG support on Tegra2, seen post related to that on that, I understand that hardware might not be wired (that's what we gonna check), anyone any info/hints/directions/ideas about this on the LGP9xx?
It would just be great if we can use OTG on LG99x...
thanks.
Click to expand...
Click to collapse
It needs to be turned on via menuconfig. I could do a quick compile later, if you want. The downside is, that a enabled USBHost disables the slave mode. So no mass storage (Or you implement something like holding back while booting up etc to enable usb host)
Benee said:
It needs to be turned on via menuconfig. I could do a quick compile later, if you want. The downside is, that a enabled USBHost disables the slave mode. So no mass storage (Or you implement something like holding back while booting up etc to enable usb host)
Click to expand...
Click to collapse
Wow, that's a quick and straight to the point reply!!!!!
I think I can live without a slave mode, most of my files are copied to the phone by samba, dropbox or ftp....
just wonder what trick did SGS2 or others uses, I know many of the devices which support OTG has 2 diff USB port, 1 for host and 1 for slave, but I "think" got that working too in 1 port, wonder is it the same as our case here that needs special reboot or so? (SGS2 is not available here yet...so I have never tried it instead of watching in on the youtube VID online...)
Anyway, THANKS! waiting for your releases. thumbs up to all DEVs!!!!!!!!
utp said:
Wow, that's a quick and straight to the point reply!!!!!
I think I can live without a slave mode, most of my files are copied to the phone by samba, dropbox or ftp....
just wonder what trick did SGS2 or others uses, I know many of the devices which support OTG has 2 diff USB port, 1 for host and 1 for slave, but I "think" got that working too in 1 port, wonder is it the same as our case here that needs special reboot or so? (SGS2 is not available here yet...so I have never tried it instead of watching in on the youtube VID online...)
Anyway, THANKS! waiting for your releases. thumbs up to all DEVs!!!!!!!!
Click to expand...
Click to collapse
Don't know. One part maybe only with other hardware drivers. The reboot solution would be best for us (but needs some work). So the easy enable via menuconfig would be enough. Anyway I started to working on this, but I don't know if my otg cable isn't working (slave function was disabled but host didn't worked). So I wanted to test it anyway. What do you need? only mass storage?
The compile could take a while (working on fixing cust toolchain build)
I am aiming on USB thumb drive, keyboard and mouse..thx..
Honeycomb 3.1 has USB Host support.
Hopefully someone can pull it out and use it somehow.
Since there's no source it might not be easy.
Or you can just wait for Ice cream Sandwich(Q4 2011), i'm guessing there will be Host support.
Any news on development?
i think the usb port of phone has no more power to use the flashdrive.
So is this a dead project? Or is there any hope left?
Not being picky or challenging to admin, I originally post this thread under development, which is should be more related since I am not asking generally how to "use" USB Host but related to kernel/drivers development....
I think this thread in general would not actually get much development attention at all...
Anyway, nope, no news, I understand hacks/dev is not a piece of cake, thanks for everyone who is working on the topic here!!!!!!!
and since CM distro do not support USB host at all, then I would suggest there may not be enough attention or momentum at all on this...
dusitmon123 said:
i think the usb port of phone has no more power to use the flashdrive.
Click to expand...
Click to collapse
I may not agree, I did use a O2Graphite with a USB host cable with a USB jostick, and keyboard+mouse on many CN made crappy Tablets, they just works...
Many USB devices do not drain that much power, especially some Flashdrives...
Hello
So is this thread as good as dead, or is anyone trying to develop this?
as far as seen on the thread, it seems dead.....
hello
the usb memory stick must be formatted in fat32 to work.
Which specfic cable works with it?
flavianoxxl said:
the usb memory stick must be formatted in fat32 to work.
Click to expand...
Click to collapse
Sent from my LG-P990 using Tapatalk
Nothing works with it, no-one has produced a kernel with OTG support for the P990.
No idea what that post is about.
Hi,
i would really need a USB Ethernet adapter for my Galaxy Note. I searched forums and all i found was for tablets. I also noticed several times that people were talking that you can build the driver for specific device from official driver. If i understand right i could buy some USB Ethernet adapter and then build it's driver for galaxy note? Or not? Or is there maybe some "universal" driver already made?
I would be really thankful if someone explained this a little more.
Tnx
Moved To Q&A
Please do not post questions in a dev section.
alyosha said:
Hi,
i would really need a USB Ethernet adapter for my Galaxy Note. I searched forums and all i found was for tablets. I also noticed several times that people were talking that you can build the driver for specific device from official driver. If i understand right i could buy some USB Ethernet adapter and then build it's driver for galaxy note? Or not? Or is there maybe some "universal" driver already made?
I would be really thankful if someone explained this a little more.
Tnx
Click to expand...
Click to collapse
The drivers are included in the linux kernel of android, so the driver support is directly linked to the version of the kernel used on your device.
A small search gave me a result: look for USB to RJ45 Ethernet Adapter on amazon (you'll need a USB - micro usb adaptater tho.
shoutr said:
The drivers are included in the linux kernel of android, so the driver support is directly linked to the version of the kernel used on your device.
A small search gave me a result: look for USB to RJ45 Ethernet Adapter on amazon (you'll need a USB - micro usb adaptater tho.
Click to expand...
Click to collapse
So if i understand there are drivers already in kernel? Because i'm almost sure i red before that there are no drivers in kernel so this doesn't work out of the box.
I have OTG adapter so this is not problem. I'll try and buy some adapter and we will see if this will work. I have hydra-core kernel on stock rom.
alyosha said:
So if i understand there are drivers already in kernel? Because i'm almost sure i red before that there are no drivers in kernel so this doesn't work out of the box.
I have OTG adapter so this is not problem. I'll try and buy some adapter and we will see if this will work. I have hydra-core kernel on stock rom.
Click to expand...
Click to collapse
Sadly you'll have to try by yourself, but apparently, the one i found on amazon (around 16£) works on android 3.1+ devices.
shoutr said:
Sadly you'll have to try by yourself, but apparently, the one i found on amazon (around 16£) works on android 3.1+ devices.
Click to expand...
Click to collapse
Aham Do you maybe have Name and model of that device?
How about this? MicroUSB to RJ45..no need of a OTG in between I havent try it though..just found it on ebay & amazon..
http://www.amazon.com/Micro-Etherne...&sr=8-6&keywords=USB+to+RJ45+Ethernet+Adapter
http://www.ebay.com/itm/Tablet-5PIN...ablet_A_V_Cables_Adapters&hash=item4abdf06875
Ebay Adapter
Hi,
here is my unhelpful comment:
I have one of the little buggers (see attached image) boght on eBay:
Search for "USB to LAN RJ45 Network"
It works under Linux and identifies itself as:
"Davicom DM9601 USB Ethernet" and uses the Linux-Kernel-Module dm9601 (as it seems).
(NOTE: One strange thing: The newly bought device uses a MAC address, that was registered to an colleague on our network here. So it spoofs the address?!?!)
Combined with the Host-USB-Adater (OTG) it can be connected to the N7000 - BUT:
A) The LED lights up and blinks to show the trafic on the line
B) Nothing happens on the screen
C) In Elixir it shows up as
Name: /dev/bus/usb/002/002
ID: 2002
Product-ID: 38656
Vendor-ID: 4070
I Get no Menu to configure the wired connection.
So I guess there is no Driver.
I Used Hydracore v7 and Thor Kernel 0.26. (which is WAAAY slower then hydracore)
are there other things I could try?
This looks an interesting idea, wonder is its possible to to have PoE as well, disconnecting network access just to charge would be pretty annoying otherwise.
Hey!
This is my first thread I've ever created, so don't be too harsh on me
As far as I know, the new Android 10 includes a so called "desktop mode". So you can connect a compatible device via USB to an external screen. I think thats pretty cool and samsung already implemented this idea from the S8 upwards with Samsung Dex.
I understand that this needs USB 3.1, but the Motorola G7 Plus only has USB 2.0!
According to the datasheet of the build-in Snapdragon 636 processor, it does support USB 3.1!
So here comes the question: Is it possible to "activate" the required functionality in order to use the desktop mode?
So like changing a few things inside the root files (Like you can activate for example OTG)?
If not, is the hardware build that way, that it just doesn't have the data-lines?
And also, if all of that doesn't work, you surely saw such USB 2.0 to HDMI adapter, which do work on older computers, but do they might work with Android 10 connected to otg?
It would be really cool if something of that might work.
Thanks for your response!
TimTheDev said:
Hey!
This is my first thread I've ever created, so don't be too harsh on me
As far as I know, the new Android 10 includes a so called "desktop mode". So you can connect a compatible device via USB to an external screen. I think thats pretty cool and samsung already implemented this idea from the S8 upwards with Samsung Dex.
I understand that this needs USB 3.1, but the Motorola G7 Plus only has USB 2.0!
According to the datasheet of the build-in Snapdragon 636 processor, it does support USB 3.1!
So here comes the question: Is it possible to "activate" the required functionality in order to use the desktop mode?
So like changing a few things inside the root files (Like you can activate for example OTG)?
If not, is the hardware build that way, that it just doesn't have the data-lines?
And also, if all of that doesn't work, you surely saw such USB 2.0 to HDMI adapter, which do work on older computers, but do they might work with Android 10 connected to otg?
It would be really cool if something of that might work.
Thanks for your response!
Click to expand...
Click to collapse
Unfortunately this device does not support MHL so usb to HDMI dongles do not work. Apparently moto hasn't supported MHL for some time .
digitaljeff said:
Unfortunately this device does not support MHL so usb to HDMI dongles do not work. Apparently moto hasn't supported MHL for some time .
Click to expand...
Click to collapse
Thanks for your answer. But I knew that before. I am trying to finde some "workarounds" for this, because I do really like this phone!
Found a solution
So, after a bit of research, I found a solution to add external screens to any OTG compatible Android phone!
There are so called "DisplayLink adapters" and those seem to be compatible with any Android phone that supports OTG.
After installing the official app "DisplayLink Presenter", you should be able to get everything working.
I din't tested it yet, but I hope that this will help someone in the future.