Related
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'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
Hello friends
I'm trying to connect a galaxy note to a lan
I bought a cable micro usb (female) type OTG (I've already proven to work well), a usb lan adapter, RJ45 cable and a router connected to the Internet.
I tried connecting the note, and I get a message:
usb device connected unknown.
trying to enter the browser, I get ortho message:
no network connection, and I get a button to go to Settings, clicking leads me to wireless connections, and do not go out of the loop.
I would appreciate, if you know (You will tell me) if you can do, or else it is impossible, or if the adapter the problem comes from usb lan, which is not correct, since it is not known for android ...
Some will wonder about why want to connect via lan, because there are 2 very simple explanations, in my job working with lan, not wifi, then it is said that both the wifi, as bluetooht, etc.. are harmful to health. I do not know if mine will be superstitions, but I when I connect to wifi in my hand I feel the electromagnetic energy, and the feeling I am not nice ...
Thank you for your attention
Mosses
Moved To Q&A
Please Post all questions in the Q&A section
I believe this method wold not work. The Note would not have the driver to work with "a usb lan adapter". Only usb mice, flash disks, card readers, externally powered hard drives and a few keyboards are know to work via USB OTG with the Note. Oh and some Canon DSLRs, via DSLRController.
And if you placed any driver for Lan, as it has some connection rj45 tablet, just might work, do not you think?
There is no technological reason why this wouldn't work, you just need a kernel with USB gadget support enabled. I do not know if any of the custom kernels have that, though. You could also copy the kernel modules from a compatible one and insmod those, but first you need to find out which modules you need.
---------- Post added at 10:05 PM ---------- Previous post was at 10:03 PM ----------
socmoi said:
And if you placed any driver for Lan, as it has some connection rj45 tablet, just might work, do not you think?
Click to expand...
Click to collapse
There is no such a thing as "any driver for Lan." Lan is not a device, it's network topology, not some generic technology that magically works on anything with RJ45. You need kernel modules for the specific device you have.
Hi I found that in Gingerbread, there is the possibility
excuse me but I can not put links
in the TI-Android-GingerBread-2.3.4-DevKit-2.1_DeveloperGuide
the point 1.6.5.4, talks about it
Waited for this feature for two years, and still nothing, could somebody confirm if it needs a kernel implementation or both kernel + ROM implementation?
zopilote said:
Waited for this feature for two years, and still nothing, could somebody confirm if it needs a kernel implementation or both kernel + ROM implementation?
Click to expand...
Click to collapse
hi, just kernel implementation nad console to start network device. (while ago i used speedmod kernel source to build my own kernel with my lan card support).
destinqo said:
hi, just kernel implementation nad console to start network device. (while ago i used speedmod kernel source to build my own kernel with my lan card support).
Click to expand...
Click to collapse
:fingers-crossed: Thank you so much for responding! It is really awesome! Could you share your kernel? Does it require ICS or JB?, even with terminal it will turn our note into a powerful tool for networking related diagnostics. For sure it can also be done with an inbuilt battery access point, but getting physical connection to RJ45 switches ports is a real advantage. Can you please point me to the RJ45 to microusb adapter you tested it ti work?, than you again my friend this new got me really excited to try this feature. :highfive:
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.
I'd love the feature to use my usb ethernet adapter as the main connection for chromecast as it'd help with local streaming and maybe eliminate wireless latency issues
Well, it's been said there is HEC support to get HDMI Ethernet channel. Unfortunately, after a full afternoon of searching, you can't just make a cable. It's a separate protocol and you'd need a chip to translate the RJ 45 into HEC.
Not only that, I seriously doubt those chips are available to purchase in quantities less than 1000
Sent from my Nexus 7 using Tapatalk
Yeah HEC seems a bit overkill...
USB Ethernet adapter seems slightly more accessible, though only certain chipsets would be supported, and that's assuming there's enough RAM/storage and USB OTG doesn't dumb-down the USB connection any.
For example, my Toshiba Thrive (AT100) has support for a certain vendor's USB Ethernet adapter built into the stock ROM. Very convenient to maximum network bandwidth when I'm using it as a secondary display via iDisplay.
Well, dddtg and I were having the conversation yesterday and it seems the eth0 is supposed to be for HEC
Sent from my Nexus 7 using Tapatalk
Well that has some good potential then!
Sent from a device with no keyboard. Please forgive typos, they may not be my own.
How so?
Sent from my Nexus 7 using Tapatalk
At least there may bet possibility of * something * in the future. Better than no mention at all.
Sent from a device with no keyboard. Please forgive typos, they may not be my own.
kawaiichi said:
I'd love the feature to use my usb ethernet adapter as the main connection for chromecast as it'd help with local streaming and maybe eliminate wireless latency issues
Click to expand...
Click to collapse
as mentioned, me and tchebb believe the chromecast has built in support for HEC networking, as not only does the hardware support it, but a ethernet interface is active on each chromecast with a unique MAC address. We currently do not have the hardware to test it, so it can not be confirmed at this time.
As for USB Ethernet support with a OTG cable, at this time it is not possible. A few things would be required first for it to work:
Enable the USB Interface in the Stock OS with a custom kernel
have the proper driver compiled and added to the kernel, or loaded as a module
Make sure that all binaries in the chromecast could utilize the wired interface
The first part would not be too bad, but the issue is on part 2 and 3. There are many different manufacturers for USB Ethernet Adapters, and to compile and add every single one of their drivers would take loads of space and time.
As for part 3, all of googles binaries, while most open source, require propitiatory binaries that only Marvell can hand out, and as we don't have them if any of the applications are directly linked to the wired interface, there is no way we could easily force them to use a wired interface.
So tl;dr is it possible? yes. Is it easy or worth the work? not really. It would be best to just use HEC if its enabled.
Marvell?? Oh god
Sent from my Nexus 7 using Tapatalk
abuttino said:
How so?
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Well if a full HEC support was realized it could allow the Chromecast to serve as the Internet connection for all other Network aware devices that are HEC compliant in the home Entertainment system....
OR (and much more likely) Would allow Chromecast to use a wired connection from one of the other devices in the Home Entertainment system as it's primary Network access point.
The goal of HEC is suppose to be that only one device in the HDMI chain actually needs to be connected to the Net, The rest would all connect via HDMI instead.
But if you ask me it's probably a pipe dream to ever see it reach it's intended goal.