USB host? - Legend Q&A, Help & Troubleshooting

Hi everyone,
I'm a proud Legend owner, but I'm thinking in change my phone soon (but not yet). Anyway, I was thnking if I can give my phone a new live connecting it to a hard drive, so I can build a webserver, filesharing or whatever with almost no power consumption.
However, I found that is necessary for the kernel to allow USB Host mode for it. Newer android versions support it, but for everyone else I've found this http://sven.killig.de/android/N1/2.2/usb_host/, there's a port even for G1.
Anyone with enought skills for porting it to legend?

usb otg works on thc legend
Hello
I compiled the kernel (ver 2.6.35) for htc legend and applied the Sven Killing's ehci usb host hack. I connected an usb mice and an usb keyboard, and both worked. I changed an some points the kernel source (like Kconfig and etc.) if somebody needs i can upload it.
You need an external power supply for the connected devices, and hacked an homemade usb micro host cable like this:
beyondthekeeboard.files.wordpress.com/2010/10/picture-50.png
It works fine, I didn't tested mass storage, but i think it would work.

Could you upload your compiled kernel?

Hello people,
i need some help enabling usb otg on the legend aswell. im running CM 7.2 and 2.6.32 kernel.
If someone could upload a modded kernel or do a step-by-step instruction for a noob like me, i'd be really grateful

Need also OTG functionality on my legend! Does anybody have a modded kernel?

Related

USB doesnt work on cm7

Hello,
I have flashed cm7 and recently i have noticed that my USB port does not work! . I searched in play store for stickmount but it says that my device is not combatible with this version. When i try to download it from other external sites it says there was an error parsing the package. Is there any solution to make my USB work?
USB is working.
What are you trying to do?
Attach an USB Stick?
Are you sure that the OTG cable you are using is OK?
are u talking bout the usb host or the mini usb port to connect to pc, eyther way for me only the host works, but that isnt such a big problem for me except the fact that i cant connect to pc?
I am trying to attach a usb stick directly but the archos does not recognise the usb.
AGAIN, and you are using an OTG Adapter?
No i am not using an OTG cable. I am trying to connect it directly through the usb port.
Are we talking about a A70 or an A101?
A70 NEEDS OTG.
A101 is known for "blowing" the usb-port. That was fixed in the last FW ( 2.3.84 and UD 1.6.4 ) but not in CM7.
I have an archos101. What is FW 2.3.84 and UD 1.6.4 . Are they more stable roms than the cm7?
FW == Archos Firmware
UD == UrukDroid
I can't ( don't want to ) tell you what's better for you, you have to search for your self in this forum, there are tons of infos about that.
I know! Thank you!

[Q] Help about attaching a webcam to android devic

Hello friends and happy new year for all.
I have a question about using webcams in an android device,
can anyone help me
I mean , I want to attach my webcam to my android device (Xperia mini pro) but I don't know how to do it.
please help me.
You don't.
I find a way
I allso found a way in youtube but I don't know how to us it
I hope masters in here can help me
but I cant send the link here so I write the search words
Usage of USB webcam with customized Galaxy Nexus (android 4.0.3)
search in youtube
Why nobody don't help me ???
lovelysunset said:
Why nobody don't help me ???
Click to expand...
Click to collapse
Read the description of the video.
Sent from my Galaxy Nexus using xda premium
Attaching any USB peripheral requires the device to have USB On-The-Go (OTG) support. A lot of the newer (and high-end) devices have this, but yours does not. So it's not possible. It's not just a simple software mod. USB OTG requires the device to have a USB port that's capable of delivering power output to power low power USB peripherals like keyboards, mice, flash drives. For that same reason, in the video it is mentioned that only low power webcams work. It's at the hardware level, so no it won't be possible with your phone at all.
Sent from my Desire HD using xda premium
sashank said:
Attaching any USB peripheral requires the device to have USB On-The-Go (OTG) support. A lot of the newer (and high-end) devices have this, but yours does not. So it's not possible. It's not just a simple software mod. USB OTG requires the device to have a USB port that's capable of delivering power output to power low power USB peripherals like keyboards, mice, flash drives. For that same reason, in the video it is mentioned that only low power webcams work. It's at the hardware level, so no it won't be possible with your phone at all.
Click to expand...
Click to collapse
Thanks for your answer but I can use usb devices like Flash memory , usb mouse & keyboard , game pad and my 500 GB hard drive and also I can use usb power for my usb speaker .
is this not enough to being a device to support USB ?
can you help me in this way.
Thanks man!
lovelysunset said:
Thanks for your answer but I can use usb devices like Flash memory , usb mouse & keyboard , game pad and my 500 GB hard drive and also I can use usb power for my usb speaker .
is this not enough to being a device to support USB ?
can you help me in this way.
Click to expand...
Click to collapse
Yes you're right, your device does indeed have full OTG support. Sony never mentioned it in the official specifications, but I did a search in your device's forum and found info about it. In that case, I guess the procedure to getting the webcam to work is more hardware specific, so can't say whether it can or cannot work with your device. Your best bet is to ask a dev for your device about it, and see if they're interested to look into it. Also, the guy in the video said only low power webcams work. This is because the USB port can't deliver that much power output.
Having USB Host mode and even a powered USB hub is not enough to use a USB webcam.
You need kernel support and a custom app that accesses video4linux interface (/dev/videoX) OR a patched android framework that routes video4linux interface to android's standard camera API.
In other words, you must be able to modify and compile your own kernel and custom ROM for your particular device.
sashank said:
Yes you're right, your device does indeed have full OTG support. Sony never mentioned it in the official specifications, but I did a search in your device's forum and found info about it. In that case, I guess the procedure to getting the webcam to work is more hardware specific, so can't say whether it can or cannot work with your device. Your best bet is to ask a dev for your device about it, and see if they're interested to look into it. Also, the guy in the video said only low power webcams work. This is because the USB port can't deliver that much power output.
Click to expand...
Click to collapse
thanks a lot for your answer
brugobo said:
Having USB Host mode and even a powered USB hub is not enough to use a USB webcam.
You need kernel support and a custom app that accesses video4linux interface (/dev/videoX) OR a patched android framework that routes video4linux interface to android's standard camera API.
In other words, you must be able to modify and compile your own kernel and custom ROM for your particular device.
Click to expand...
Click to collapse
thanks
but can you help me about edit my kernel (boot.img) and which app I can use ??
lovelysunset said:
thanks
but can you help me about edit my kernel (boot.img) and which app I can use ??
Click to expand...
Click to collapse
You can't just edit the boot.img, you have to edit the source and then compile it. Either learn how to program etc. Or ask a developer for your device to have a look.
Sent from my Galaxy Nexus using xda premium
NIMBAH said:
You can't just edit the boot.img, you have to edit the source and then compile it. Either learn how to program etc. Or ask a developer for your device to have a look.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
thanks a lot man!
I have a Sony Ericsson Xperia Neo V running Lupus kernel and FXP152 (CM10) ROM. My phone's specification says it supports USB OTG. How can I get this feature?
Also, I am unable to use USB Mass storage mode. Its disabled for some reason. Can anyone explain?
answer
feeroz123 said:
I have a Sony Ericsson Xperia Neo V running Lupus kernel and FXP152 (CM10) ROM. My phone's specification says it supports USB OTG. How can I get this feature?
Also, I am unable to use USB Mass storage mode. Its disabled for some reason. Can anyone explain?
Click to expand...
Click to collapse
hi dear
for your broblem
first of all you must buy a cable that mach your phone port
second your phone must be unlock and root
third you must use modules that is with kernel (flash with CMW) and then install ModuleLoader.apk and select the modules you installed
then you must install a app (like stickmount.apk) to mount the usb you attached
you can found apps in apknew site
may this help you
sashank said:
Yes you're right, your device does indeed have full OTG support. Sony never mentioned it in the official specifications, but I did a search in your device's forum and found info about it. In that case, I guess the procedure to getting the webcam to work is more hardware specific, so can't say whether it can or cannot work with your device. Your best bet is to ask a dev for your device about it, and see if they're interested to look into it. Also, the guy in the video said only low power webcams work. This is because the USB port can't deliver that much power output.
Click to expand...
Click to collapse
Totally agree with Sashank
lovelysunset said:
hi dear
for your broblem
first of all you must buy a cable that mach your phone port
second your phone must be unlock and root
third you must use modules that is with kernel (flash with CMW) and then install ModuleLoader.apk and select the modules you installed
then you must install a app (like stickmount.apk) to mount the usb you attached
you can found apps in apknew site
may this help you
Click to expand...
Click to collapse
Thanks.
How do i get my device identified in my PC as a Disk Drive? I have tried flashing the following UMS zip, but no help on FXP152:
forum.xda-developers.com/showpost.php?p=34956370&postcount=4174
answer
feeroz123 said:
Thanks.
How do i get my device identified in my PC as a Disk Drive? I have tried flashing the following UMS zip, but no help on FXP152:
forum.xda-developers.com/showpost.php?p=34956370&postcount=4174
Click to expand...
Click to collapse
hello dear
I sow that page but I've no idea why you cant see the drive in your computer
first of all you must ENABLE your USB debuging from your device
and make sure you have installed your phones driver in your computer
maybe your phone is in MTA mode so you can see your drive under your phones name in camputer
and make sure your cable is working fine.
may this helpfull
lovelysunset said:
hello dear
I sow that page but I've no idea why you cant see the drive in your computer
first of all you must ENABLE your USB debuging from your device
and make sure you have installed your phones driver in your computer
maybe your phone is in MTA mode so you can see your drive under your phones name in camputer
and make sure your cable is working fine.
may this helpfull
Click to expand...
Click to collapse
Yes, I had enable mass_storage in buil.prop file before flashing that zip. Actually it used to work in FXP 148. But now am on FXp 152 ROm, and now that patch is not working.
I have USB device drivers for my phone from some other path. But thats not getting identified by driver update.
Currently, my phone gets identified in MTP mode in Device Manger, but no drivers installed (shows as yellow question mark).

[Q] USB Hosting?

Hi, I wonder if USB Hosting works on Nook Tablet?
Does it require OTG cable?
I have this type of keyboard that can be connected to Nook via microUSB cable, but it doesn't work.
I'm currently on CM10.1, but does any other ROM support USB Host?
I have an OTG Adapter that works at least on a Galaxy S3, but not on the Nook Tablet with CM 10.1.3.
Anyone knows how to get it working (if possible at all)?
AFAIK, USB Host is currently not supported on the NT.
FWIW USB Host is supported (for common USB device types such as keyboard/mouse, flash drives) on the Nook Simple Touch (running rooted stock ROM and a modified kernel version) and on the HD+ (running either CM10.1 or CM10.2).

[Q] OTG/USB Host for MT65XX Phones, especially for Jiayu G3, possible?

Hi folks!
I need the OTG/USB Host function on my Jiayu G3. Normally it doesn't support it..
So I did i lot of research and tests at "how i can enable it" and found some information:
1. some things point to it, like the libusbhost.so in /system/lib
2. all 5 pins of the usb slot are connected to a chip (this says nothing, i know)
3. i have found a pdf, which says that otg is possible on mt6575-77 (found on github)
So my question, has anybody get otg/usb host get enabled on Jiayu G3 oder m65xx phones? OR is anybody there who want the same like me and helps me to make it possible?
OTG unlock
Hi
I have a similar problem with my Jiayu G3s (MTK6589T).
For most USB devices it does not react but i hope there is a chance to make it work.
I do not know if it si trustworthy but according to USB OTG Checker my device supports USB OTG.
When i insert one of my USB flash drives i can find sdcard1 folder (total commander) . It is empty but it reacts.
Can anybody please help or just explain what is the problem. Thank you
USB Cables
Djoudie said:
Hi
I have a similar problem with my Jiayu G3s (MTK6589T).
For most USB devices it does not react but i hope there is a chance to make it work.
I do not know if it si trustworthy but according to USB OTG Checker my device supports USB OTG.
When i insert one of my USB flash drives i can find sdcard1 folder (total commander) . It is empty but it reacts.
Can anybody please help or just explain what is the problem. Thank you
Click to expand...
Click to collapse
Hi there,
I think I have a possible solution for this case.
Many USB cables are not correct to link with computer. I have two cables, one of Jiayu and other (more thin) brought in a chinese store. The cable brought in chinese store don't work to link with computer.
I hope this information was useful.
Any updates?
maxiandroid.blogspot.com/2012/06/usb-otg-android.html
This might help. Using an apk it is possible to make it work, IF kernel supports it. Don't know if phone has hardware support though...
I've read here that you should connect the ID pin to a pull-down 150k resistor, then to GND.

[Q] Is it possible to add OTG support to my device ?

hey guys
i have xolo q1000s and i have tried usb otg but it doesn't gets connected. even i have used apps like usb host controller,usb otg helper and lots more but still no success and yes i have a rooted device
hope anyone can help me
i have read its possible to add otg if your device supports usb host by modifying your kernel but couldn't find any proper info
some screenshots:

Categories

Resources