Hello guys I just want ask that what means usb otg?
Sent from my GT-I8150 using xda premium
Let me answer this question the last time, please link to this post if you see this question anywhere else...
USB OTG is a possibility to connect USB devices to the phone
USB OTG = hardware support + software support
our phone DOES NOT HAVE a hardware chip required for this so all kernel, ROM etc modifications are useless
we will never have USB OTG!
actually our chip can't direct power from the phone to the intended usb device, that's y usb OTG can't work on our phone
BUT a dedicated dev at xda has found a way to make it work for other chips that has our same problem through some tweaks and providing an external power supply for the usb devices
SO unless that dev starts working on our chip, we won't have OTG
for the original question, OTG : on the go i.e. u can blug a flash memory or a mouse or a keyboard (or wtvr u like) to ur phone through ur usb
press thanks if i help you
Related
Hi
Can someone answer if USB OTG is supported on the One V
using stock kernel and ROM?
Regards
max
EDIT: After some searching I found that "official" it is not suported
What surprises me is that in the kernel configuration of the stock
kernel all options are set that I would assume to allow OTG
e.g. there is something like
...
CONFIG_USB_MSM_OTG:
Enable this to support the USB OTG transceiver on MSM chips
...
Would be nice if someone could enable this for One V. This kernel project is enabling OTG for One X http://forum.xda-developers.com/showthread.php?t=1640532
Otg only works in bootloader....
Sent from my HTC One V using XDA
Hy
Actually we are talking here about USB-Host support and not USB-OTG
regards
max
maxwen said:
Hy
Actually we are talking here about USB-Host support and not USB-OTG
regards
max
Click to expand...
Click to collapse
Isn't it the same?
USB On-The-Go, often abbreviated USB OTG, is a specification that allows USB devices such as digital audio players or mobile phones to act as a host allowing a USB flash drive, mouse, or keyboard to be attached and also connecting USB peripherals directly for communication purposes among them.
http://en.wikipedia.org/wiki/USB_On-The-Go
Hi
hlavicka82 said:
Isn't it the same?
Click to expand...
Click to collapse
USB-OTG also means that you dont necessarily need a powered hub to use it AFAIK
And USB-OTG means that "both sides" can act as a client or a host
From your link above
...
USB OTG defines two roles of devices: OTG A-device and OTG B-device. This terminology defines which side supplies power to the link, and which is initially the host. The OTG A-device is a power supplier, and an OTG B-device is a power consumer. The default link configuration is that A-device act as USB Host and B-device is a USB peripheral. The host and peripheral modes may be exchanged later by using HNP. Because every OTG controller supports both roles, they are often called "Dual-Role" controllers rather than "OTG controllers"
...
Whereas USB-Host means that the android device is always the host
Since the HTC is not providing power on its USB port you always
need to use a powered usb hub in this case.
I am pretty sure that we can have USB-Host on the V since other devices
using exactly the same chipset can do it. But I still need to do some investigation
regards
max
Hi Guys
See attached screenshot and notice the "mouse pointer"
So it means we will have USB host support!
Actually not much was "missing" the guys at HTC just
"forgot" to register the usb host driver on init
At the moment the "mode" musst be switched manually
between "host" and "peripheral" which means e.g. charger a.s.o
The automatic switch based on using a OTG cable is not working
or I have the wrong cable
SO I was able to connect a active hub with a mouse and it works
Next thing will be a usb storage device
I will still need some more time to finalize this.
This will then continue in the Titanium-KISS kernel thread
regards
max
Lol why do you have an app for screen shots?
Sent from my GT-P7500 using xda app-developers app
Hi
Just a short update
-OTG cable detect working
that means switching between host and peripheral (normal) mode works
automatically. No need for a script anymore
-USB keyboard tested and works
-USB storage is still killing me
regards
max
Hi
Update:
http://forum.xda-developers.com/showthread.php?goto=newpost&t=1794497
Regards
max
Hi
Just found a nice other xda thread about USB host
http://forum.xda-developers.com/showthread.php?t=1820375
Info there applies nearly 1:1 to KISS kernel
regards
max
Hey...i am on stock rom and kernel..can uab otg work for me..if yes then tell me the setup...
Sent from my HTC One V using Tapatalk 2
I also wan to use otg on my one v.
Sent from mah Htc one V.
Hello.
I bought this USB OTG cable from Amazon :
http://www.amazon.fr/gp/product/B00646KVBW/ref=oh_details_o00_s00_i00.
With it, I can read USB pen drives content without any problem. It is detected as soon as I plug it and I can play MP3 files from the drive for example.
However, I'm unable to use any USB mouse / keyboard or gamepad (ICS is supposed to have added gamepad profile...), although i've seen many people doing it.
I'm using stock ICS 4.0.3 (unrooted, but that shouldn't be a problem...), I've tried to use USB Joystick Center to see if anything was detected, but no luck so far, although Videos show people even using a wireless XBOX360 controller with what seems the exact same configuration...
Did I miss something ? Is it possible that my cable only allows to use usb mass storage but nothing else ?
I hope someone has some experience to share...
Thanks in advance for your help and sorry if this has already been answered.
Myster-D
Bump ? Anyone ?
Do you think I should have the thread moved to the main Q&A forum ?
Thanks
The cable is fine the kernel isn't you will most likely have to change the phones kernel to enable a few other host otg options.
Thanks for your help.
Is there a way to enumerate the modules implemented in the kernel without rooting ?
I really thought stock kernel had the mouse / keyboard hid profiles...
Thanks again.
Sent from my GT-I9100 using xda app-developers app
My buddy gave me what I assume to ba a cheap OTG cable and when I Try to use a mouse to scroll on screen it's no bueno.....any suggestions or maybe phone doesn't support it? Kernel issue though doubtful? Thanks to ANY responses
You have power source support???.....cuz One v doesn't support power to USB otg.....
Sent from my HTC One V using xda premium
handryg555 said:
You have power source support???.....cuz One v doesn't support power to USB otg.....
Sent from my HTC One V using xda premium
Click to expand...
Click to collapse
Thanks I didn't know this........ thought I was crazy or just a cheap otg cable.......
The right kernal for otg to work
if i wanted to use custom kernal that supports the use of otg and exacting how to flash-install the virgin moble cdma primo c..and what r the dangers of doing this..and is there a easier way to do all this.? i'm only after the use of OTG for some games..
aaronrw said:
Thanks I didn't know this........ thought I was crazy or just a cheap otg cable.......
Click to expand...
Click to collapse
Dude there's always thanks button.....
Sent from my HTC One V using xda premium
handryg555 said:
Dude there's always thanks button.....
Sent from my HTC One V using xda premium
Click to expand...
Click to collapse
All out for the day I guess. Seriously:what:
sentfromybrain
I'm trying to get USB Host mode working on my CDMA HTC One V (PrimoC) too. I've read that the GSM version of the HTC One V (PrimoU) supports USB Host Mode with the Titanium-KISS kernel, but unfortunately there is not a CDMA version of that kernel. I'm trying the SuperSick kernel on my PrimoC but haven't had any luck with USB Host Mode yet.
The first thing to do is make sure you have the right cable setup. From what I've researched, you need a setup like in this thread:
http://forum.xda-developers.com/showthread.php?t=1820375
The USB Y cable approach sounds likeliest to work. They have two USB Type A male connectors (the type that plugs into a computer USB port) on one end and either a USB Type A female connector or a USB Type B/Mini-B male connector on the other end. These sometimes come with external USB hard drives that need more power than one USB port can provide. You plug the main Type A male connector into your USB OTG adapter and plug the second Type A male connector into a power source like the charger that comes with the HTC One V. You connect the other end of the cable to your device (mouse / keyboard / hub / etc). As far as I know, the power pins on all the connectors on such a cable are all connected together (+ to +, - to -) so that power flows from your external power source into the phone and your connected device.
There is also mention of using USB hubs that are externally powered. Supposedly some of these also supply power back to the phone, which I'm guessing is necessary but I'm not sure. None of the powered hubs I have seem to power the source USB connection, and actually have an internal diode that probably prevents this from being possible without modification.
Of course, you still need to have a kernel with USB Host Mode support.
Apparently there is a subtle terminology difference between "USB OTG" and "USB Host Mode", mainly with regards to the fact that the HTC One V doesn't output power to the USB power pins as far as I know. See:
http://forum.xda-developers.com/showthread.php?t=1771135
lanigera said:
Supposedly some of these also supply power back to the phone, which I'm guessing is necessary but I'm not sure.
Click to expand...
Click to collapse
If you have such a hub it will make the y-cable unneccessary
to allow charging of your HOV while using USB host mode
To make USB devices work you also need to load the required
kernel modules e.g. HID, mass storage, ....
Depends on the kernel creator if it includes those into the kernel or
as separate modules
For my PrimoU kernels you will find here http://forum.xda-developers.com/showpost.php?p=28599248&postcount=2
some scripts that will load the required kernel modules.
You MUST do this before attaching the USB host cable
maxwen said:
For my PrimoU kernels you will find here http://forum.xda-developers.com/showpost.php?p=28599248&postcount=2
some scripts that will load the required kernel modules.
You MUST do this before attaching the USB host cable
Click to expand...
Click to collapse
I'm starting to wish I had bought a PrimoU instead of a PrimoC so I could just use your kernel.
I looked at your USB scripts, and I think something may be slightly different / missing in the kernel I am using (latest SickKernel) which prevents them from working for me.
I mounted /sys/kernel/debug/ and it seems I have some an msm_otg driver loaded, but there is no "/sys/kernel/debug/msm_otg/mode" control file, just two other control files.
There is a read/write "/sys/kernel/debug/msm_otg/aca" which says "disabled" that I can set to "enabled". But, I still get an empty "/sys/bus/usb/devices/" directory when I plug in my hub.
There is also a read-only "/sys/kernel/debug/msm_otg/chg_type" that says "USB_SDP_CHARGER" when my hub is plugged in and "INVALID_CHARGER" when nothing is attached.
The usbhid.ko, usb-storage.ko, and hid-topseed.ko kernel modules (which I assume depend on msm_otg working) are nowhere to be found, so I'm guessing their functionality is either built into the kernel or not included yet.
I'm tempted to try compiling & modifying the kernel source myself, but I can't until I upgrade my computer.
I tried connecting a USB keyboard using an USB OTG cable, but I didn't get it to work. The other USB port is in use by my external harddrive.
Is there a possibility to make the keyboard work?
Can immagine more people want to add a second USB device to their OUYA...
Dropshots said:
I tried connecting a USB keyboard using an USB OTG cable, but I didn't get it to work. The other USB port is in use by my external harddrive.
Is there a possibility to make the keyboard work?
Can immagine more people want to add a second USB device to their OUYA...
Click to expand...
Click to collapse
You'll need to buy a USB HUB (Get a powered one to future proof all your USB needs, you can get a USB 2.0 Hub pretty cheap). This will allow you to hook up at least 3 USB's to the OUYA. The Micro USB won't work for things such as hard drives or HID devices.
In the future, please use the search function before posting as this has been talked about in many other posts.
Dropshots said:
I tried connecting a USB keyboard using an USB OTG cable, but I didn't get it to work. The other USB port is in use by my external harddrive.
Is there a possibility to make the keyboard work?
Can immagine more people want to add a second USB device to their OUYA...
Click to expand...
Click to collapse
I have a 4-port hub and it works fine connecting 1 storage and 3 other usb devices
I had this issue where only one harddrive could be used and If you have a harddrive with 2 partitions ouya wont mount it. Luckily I found an app called usbotghelper which does all the above I mentioned plus read and write and ext3 support. I wish it would get submitted to the ouya store so I could use the paid version that will mount on startup.
As the thread title states, I want to find out if the Wileyfox Swift support USB OTG? I have tried attaching a USB flash drive via the cable that used to work with my One Plus One that I had, but it does not respond when connected to the Wileyfox Swift. Any ideas? Thanks for any help!
Ill test it in 15 mins and get back to you.
I think I might have used OTG via TWRP recovery, but don't know about the ROM
Thanx for checking this. It would be great if there's a way to get this to work but I also wouldn't be surprised if the phone cannot support OTG.
It doesn't look like it is configured for OTG. It might be changeable via a custom kernel going by Chainfire's USB Host app.
I did not try the 'fix' in the second app as I don't have a current backup.
It might also not work because you have a wrong OTG cable since many microUSB cables won't work with the Swift
You might want to try using externally powered usb hub or Y shaped OTG cable to power the flash drive. I don't have any at the moment to try. Most likely it will turn out that the microUSB on the phone doesn't have the wiring to provide power (as it was for Nexus S but can be used if powered externally).
Maybe anybody can make OTG support in kernel and it will work with Y cable like on Nexus4?
r25txe said:
I did not try the 'fix' in the second app as I don't have a current backup.
Click to expand...
Click to collapse
seems like the 'fix' don't work...
h t t p : / / imgur.com/pY0zWOr
http://forum.xda-developers.com/showpost.php?p=65353312&postcount=84
cac2s said:
http://forum.xda-developers.com/showpost.php?p=65353312&postcount=84
Click to expand...
Click to collapse
Thanks for the update. As I stated in the beginning, I am not surprised that Wileyfox Swift doesn't support USB OTG. It's still a good phone despite this omission.
While the kernel that comes with it does not support USB-OTG, it is not impossible that a kernel with support could be built. The APIs are there, they just need instructions to call them.
I'm not too fussed about it, if it had no portable SD card support I would be annoyed, but having the card allows much of the usage cases of USB-OTG.