USB OTG support? - Verizon HTC Droid Incredible 4G LTE

Does the Droid Incredible 4G LTE support USB OTG? And if it can’t out of the box can it with a software patch/app etc…?

experiments
JonM3 said:
Does the Droid Incredible 4G LTE support USB OTG? And if it can’t out of the box can it with a software patch/app etc…?
Click to expand...
Click to collapse
I'm very interested in this as well. I purchased two usb type a female to usb micro b adapters. This lets me connect my usb thumb drive to my htc incredible 4g lte. One of the adapters is On-the-go. I've connected the drive to the phone in various sequences looking for the light on the drive to illuminate, icons to arrive in the notification area and messages to arrive at the end of the dmesg log. I haven't seen anything encouraging so far. I suspect (hope) the hardware can support usb host mode.
Help would be great!

I also tried connecting a USB OTG cable to the Droid Incredible 4G LTE but no luck. So I connected a powered USB hub to the USB OTG cable and it still didn’t "see" my USB drive, so just to verify that both setups work I tried them both on my Galaxy S3 and both setups worked just fine. So I know it’s not the cables. Not sure what to make of it other than it doesn’t have a USB host controller? Or it’s not enabled (I hope)? Any other insight into this would be great.

/proc/config
I believe /proc/config shows options used to compile the linux kernel. I appended references to OTG in /proc/config to this post. "# CONFIG_USB_OTG is not set" suggests otg support has not been compiled into the kernel but "CONFIG_USB_OTG_UTILS=y" makes me think there is a chance. Perhaps some insmod command will load the appropriate module. It’s probably worthwhile to determine what these OTG flags really mean. I’ll try to look into that in the next couple of days.
I would prefer to not recompile the kernel because this device is my everyday phone and I would be in trouble without it. Furthermore, I believe not all hardware supports OTG in the first place and I haven't yet seen a declaration that this device does support it.
Does anybody know what USB chipset is used in the htc incredible 4g lte and whether it supports OTG or USB host mode?
#
# Miscellaneous USB options
#
# CONFIG_USB_DEVICEFS is not set
CONFIG_USB_DEVICE_CLASS=y
# CONFIG_USB_DYNAMIC_MINORS is not set
CONFIG_USB_SUSPEND=y
# CONFIG_USB_OTG is not set
# CONFIG_USB_OTG_WHITELIST is not set
# CONFIG_USB_OTG_BLACKLIST_HUB is not set
# CONFIG_USB_MON is not set
# CONFIG_USB_WUSB is not set
# CONFIG_USB_WUSB_CBAF is not set
.
.
.
#
# OTG and related infrastructure
#
CONFIG_USB_OTG_UTILS=y
# CONFIG_USB_OTG_WAKELOCK is not set
# CONFIG_USB_GPIO_VBUS is not set
# CONFIG_USB_ULPI is not set
# CONFIG_USB_MSM_OTG_72K is not set
# CONFIG_NOP_USB_XCEIV is not set
CONFIG_USB_MSM_OTG=y
# CONFIG_USB_MSM_ACA is not set
CONFIG_MMC=y
# CONFIG_MMC_DEBUG is not set
CONFIG_MMC_PERF_PROFILING=y
CONFIG_MMC_UNSAFE_RESUME=y
# CONFIG_MMC_CLKGATE is not set
# CONFIG_MMC_EMBEDDED_SDIO is not set
CONFIG_MMC_PARANOID_SD_INIT=y

I received the same results.
I have received the same results during my tests. I have yet to try this test using a Powered OTG Cable that is listed in a way that leads me to believe that it is designed to work with the HTC Droid Incredible 4G LTE. May end up purchasing one of these somewhere down the line. If anyone else may have experience with this please leave an reply to let me know your results. I hope we may see good results of support for this device.

sorry, but not worth trying any further! some other devs for the Dinc4G discussed this topic months and months ago:
final result was that the wiring for the Dinc4G simply doesn't permit OTG as HTC decided to rather support their own car-mode docking adapter than OTG. means: without any at least hardware changes (soldering etc!) it is simply not possible... independent of what kernel hacks you may try.
cheers,
an ex-Dinc4G dev here on xda
Sent from my HTC Butterfly s using XDA Free mobile app

Related

HTC flyer usb out question

I have a xbox 360 wireless gaming receiver and wondering if i could sync this receiver with my HTC flyer
Purpose:
So I can sync an xbox controller to my emulators
Something like what this person did
http://www.youtube.com/watch?v=9Omyv6YzBmA
Only thing I need is an micro usb to standard usb adapter, but I am wondering if any adapter will work syncing xbox controller with the htc flyer
http://www.amazon.com/Micro-USB-Male-Female-Adapter/dp/B0027YYMU6
You need to know if the Flyer supports OTG or not, the Xoom does. That's the cable that guy is using in that video. I'm not sure if it's supported on the Flyer.
Sent from my Incredible using xda premium
It looks like the Flyer doesn't support USB host, as some things would need modifying from the searches I've done. You could buy the $2 item and try it, but it most likely will not work.
Sent from my Incredible using xda premium
Lol, Ill get it and try it out.
But it doesn't make sense, how can HDMI out work from the Usb port but it cannot host material
I read the 3.1 honey comb port should enable usb hosting, any idea if thats true?
The two are not in any way related, however when I looked at the modules loaded it appeared that the HC rom would support usb host.
I sent an email to HTC this is what they said:
Unfortunately, your tablet cannot be used as a USB host at this time. You may want to download a 3rd party application from the Android Market that would allow you to monitor access points. Remember, HTC does not support any third party applications. When HTC documentation makes reference to third-party products or services, we do so on an "as is" basis with no implied warranty or guarantees about the functionality or suitability of the product. We offer such references merely as education for customers wishing to explore different options.Please consult the product vendor's written help materials, web site support resources, or contact representatives of the vendor for assistance.
Any idea what 3rd party aps could do this?
Honeycomb and ICS supports USB ports.
Sent from my Nexus S 4G using xda premium
I think the port does work in usb host mode but it is not powered, so you need to use a powered hub to get anything to work. This has been discussed before, do a search and see what you find.
Here you go:
http://forum.xda-developers.com/showthread.php?t=1082909
Works in HC but you need a powered USB hub. Maybe it will work without a hub in the official HC release?
http://forum.xda-developers.com/showpost.php?p=17562960&postcount=29
Yes it works in HC , you must use a powered hub
I would like to be able to hook up a hard drive if we ever get honeycomb. I have just enough knowledge that I am certain I would brick my device if I try the HC leak install on my BB Flyer, so I am impatiently waiting for the OTA update.
Anyway, can I hook up a hard drive with external power or do I have to have a powered hub? I have successfully used a portable usb drive and a Y-cable with power end plugged into a usb battery before where host was enabled on my Gen 7 Archos, but there wasn't enough power to actually run the drive. Do you think this setup will work on the Flyer with HC?
AS long as your hard drive will run without any power from the Flyer and is properly formatted (FAT32) it should work with or without a hub
butterflygirl said:
I would like to be able to hook up a hard drive if we ever get honeycomb. I have just enough knowledge that I am certain I would brick my device if I try the HC leak install on my BB Flyer, so I am impatiently waiting for the OTA update.
Anyway, can I hook up a hard drive with external power or do I have to have a powered hub? I have successfully used a portable usb drive and a Y-cable with power end plugged into a usb battery before where host was enabled on my Gen 7 Archos, but there wasn't enough power to actually run the drive. Do you think this setup will work on the Flyer with HC?
Click to expand...
Click to collapse
It should work with any device that that does not require that it be powered by USB for example the external powered hard drive you mentioned. For directly connected devices only low power devices such as pen drives would work, rotational disks will most likely require a powered hub/battery to operate.
DigitalMD said:
AS long as your hard drive will run without any power from the Flyer and is properly formatted (FAT32) it should work with or without a hub
Click to expand...
Click to collapse
so no support for NTFS or EXT3?
butterflygirl said:
so no support for NTFS or EXT3?
Click to expand...
Click to collapse
It depends on drivers, and how vold works. Ext3 should work, or could definitely be made to work. I've never tried NTFS so can't comment on that.

Usb to Cat-5

I work in IT and I thought it would be nice to use my prime for testing routers, switches & ect. I got a belkin usb 2.0 ethernet adapter and it works great. I am running ICS by the way.
This one?
http://www.belkin.com/IWCatProductPage.process?Product_Id=281799
ICS feature list didn't show support for USB LAN adapters. So you're saying standard kernel provides support? Can you up a pic of the networking setup in ICS?
---------- Post added at 03:01 AM ---------- Previous post was at 02:51 AM ----------
Looks like there's a driver pack for HC 3.2 for rooted TF101. Hope to see same for ICS.
http://forum.xda-developers.com/showthread.php?t=1274656
Super curious about this..
http://www.amazon.com/Belkin-F4U047-RS-Ethernet-Adapter-100MBPS/dp/B005UUY24A
would this work?
I remember the reading somewhere that the prime can use a usb the eternity adapter without rooting the prime
And cheap once from amazon and dx also wormd
I'll try to find the link for it
But if someone knows please correct me if I'm wrong
This is the one I got
http://m.radioshack.com/radioshack/product/detail.do?itemId=12182056&categoryId=&path=
https://www.youtube.com/watch?v=LKCOB_sdwYs&feature=youtube_gdata_player
Hmm, I have the D-Link DUB-E100. I'll have to see if that'll work when I get home.
It worked with the Honeycomb drivers, FWIW.
Just tried the USB adapter from my Mac Air and it just worked
With micro HDMI to VGA, who needs a laptop now... well apart from Android development still being better in Eclipse
Can anyone try a USB wifi adapter and see if it works? If it does, please mention adapter make & model. TIA.
that is v cool, have you tried using a console cable to usb for switch configuration? e.g. getting a serial to usb adapter and plugging into the switch and using telnet client on your laptop?
fro5tie said:
that is v cool, have you tried using a console cable to usb for switch configuration? e.g. getting a serial to usb adapter and plugging into the switch and using telnet client on your laptop?
Click to expand...
Click to collapse
I went a different route. Still having some issues getting it to work though. I'll post a [Q] thread on it and see if I can get some positive feedback.
could someone test 1080p streaming via ethernet?
oremy said:
could someone test 1080p streaming via ethernet?
Click to expand...
Click to collapse
Do you want internet video or pc to tab streaming tested?
shawnfr said:
Just tried the USB adapter from my Mac Air and it just worked
Click to expand...
Click to collapse
Hi Shawn,
seriously, your Macbook Air USB-Ethernet adapter works?
Can you confirm whether your Prime is rooted? Which version of Android is it running?
Thanks,
Eddie
Belkin usb to gigabit ethernet works too
I have one of these usb to ethernet devices:
http://www.amazon.co.uk/Belkin-USB-Gigabit-Ethernet-Adapter/dp/B002N56EWI
Works without any added drivers, etc. on the 'Prime running ICS. I rooted mine straight away so can't say 100% that it works without root access before anyone asks (sorry!).
Streams 1080p videos flawlessly from my pc via the MyNET DLNA app and also from the 'Prime's internal memory to my Samsung TV via DLNA (again using MyNet).
Gotta love the 'Prime
This $7 USB Ethernet adapter (only 100MBps) from Monoprice works out-of-the-box with the TF201. The "asix" linux module is builtin to ICS and provides the functionality. The adapter automatically picked up an IP address via DHCP the moment I plugged in the ethernet cable. Manual network config using the "ip addr" command is also a possibility, although I assume it requires root access if you do not already have that.
Code:
<6>[390237.318936] usb 1-1.2: new high speed USB device number 84 using tegra-ehci
<6>[390237.373125] usb 1-1.2: New USB device found, idVendor=0b95, idProduct=772a
<6>[390237.374868] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
<6>[390237.375961] usb 1-1.2: Product: AX88x72A
<6>[390237.377596] usb 1-1.2: Manufacturer: ASIX Elec. Corp.
<6>[390237.379214] usb 1-1.2: SerialNumber: 000002
<6>[390238.066107] ASIX USB Ethernet Adapter:v4.2.0 19:32:21 Jan 17 2012
<6>[390238.066164] <6> http://www.asix.com.tw
<4>[390238.068588] eth%d: status ep1in, 8 bytes period 11
<6>[390238.098586] eth0: register 'asix' at usb-tegra-ehci.2-1.2, ASIX AX88772A USB 2.0 Ethernet, 00:60:6e:05:22:fb
<4>[390238.122315] eth0: rxqlen 0 --> 10
<4>[390238.122645] eth0: rxqlen 10 --> 20
<4>[390238.122942] eth0: rxqlen 20 --> 30
<4>[390238.123389] eth0: rxqlen 30 --> 40
<4>[390238.123600] eth0: rxqlen 40 --> 44
<4>[390238.132625] eth0: ax88772a - Link status is: 0
I am a fan of the BTEP terminal client for Android, but the ssh binary built-in to it will not connect to Cisco devices for me. The ConnectBot app connects flawlessly, however.
Next stop for me: serial console (going to attempt wired and/or bluetooth).
I even plugged in my kids Wii ethernet adapter and it worked! (ICS not rooted).
jdudb said:
I even plugged in my kids Wii ethernet adapter and it worked! (ICS not routed).
Click to expand...
Click to collapse
Nice. My wifi works great but i am sure others will love this.
Was at Microcenter today.. picked up an Apple one that does 1Gbps.. not in the cheapie range at $30, but we'll see how it works out
http://www.microcenter.com/single_product_results.phtml?product_id=0351619
Just waiting to get my Prime back now from ASUS though
I just tested out two different Prolific 2302 USB Serial adapters for connecting to my Cisco stuff's console port. They both "worked" from the Android OS point-of-view (kernel detected device/module and attached to ttyUSB0), but only one worked with the "Slick USB 2 Serial Terminal" app which seems to be the only option for this usage. The app is not awesome for connectivity and the interface is a little quirky, but it is functional and beats carrying a heavy laptop for quick simple stuff. If I expected to be in serial console for more than 30 minutes or so I'd bring my MacBook.
oremy said:
could someone test 1080p streaming via ethernet?
Click to expand...
Click to collapse
Dam I love my prime. I didn't even convert the 1080p video with handbrake. Tegra 2 would never do this. I have fixed the lag-I\O issue on my prime & I don't have WiFi issues so your results may very.
http://www.youtube.com/watch?v=7sinv2ZX2Sg

USB Host via Software Mod?

I've read the thread about enabling USB Host through a hardware mod of a powered USB hub, but I am hoping the Atrix is able to accomplish USB host mode via software hack? From what I understand, it is an ICS feature but requires kernel level support, so am I stuck without it before Motorola releases official ICS for Atrix? It hasn't worked with CM9 or 2.3.6 Blur ROMs.
Separately, I am looking for any webtop installs that have worked with this...stock webtop didn't enable digital audio out via USB.
FYI, I am looking forward to this to use my USB-powered Digital-to-Analog Converter and headphone amplifier (Fiio e7) with my Audio Technica ATH-M50 studio monitors. The audio signal out of the analog jack is not quite sufficient.
Any help my Atrix brethren?
Any help?
Sent from my CM9 Atrix
The atrix supports USB host even with the stock kernel. There are 2 things you should consider though.
1. The ARM devices need a charge on the USB line to go into host mode, so a software solution is highly improbable
2. You need a kernel or kernel modules for your USB audio stick to work properly in addition to some also, or any other mixer that supports picking the output.
Wow, so not even with an OTG cable? It doesn't even need to install drivers, was hoping this would be workable. Thanks for your insight.
Sent from my CM9 Atrix
The drivers are there, but you need the signal on the usb which you can get through an otg +powered usb hub. It works fine than. You can use the hd dock instead of this though, its way less messy that way.
Thank you for your explanation, looks like I will need to wait to see what motorola puts out with the ics update.
Sent from my Atrix 3.5G

[Q] Help setting up XBOX 360 Wired USB controller with Photon 4G

Hey Guys
First post here....
I am looking for info on how to set up a Xbox 360 wired (USB) controller on my Motorola Photon 4g. While searching around, i came to the conclusion that i'll need a Kernel that supports USG OTG or USB Host Mode, and, i think in theory,
http://dl.dropbox.com/u/15806590/diagram2.png (also attached)
the above diagram should work. (Courtesy [Guide] USB Gaming on Nexus S Thread )
The problems are
i) my photon is on its way home, so i cant test anything here atleast for the next 3-4 days.
ii) I do not know of a kernel compatible with photon that supports USB Host mode.
iii) in the above diagram, the supply from the USB charger/Adapter goes to both the Phone's USB, as well as the Controller's USB power lines. Would that not be a problem for the phone? i mean why should i be inputting +5V on the power lines of the phone's USB? could it potentially damage the phone? I've played with an iPod's USB, and i am scared.
Can u guys help me in the points above?
P.S the above image was taken from Nexus S USB Gaming Thread on xda forums.
Also, i wont be buying a 99USD HD Docking Station to use the Controller or other Peripherals.
Regards
USB Host is not the issue as the Photon supports USB Host out of the box so any blur based rom should work just fine. Not sure about the CM7 or CM9 family of roms. I remember having to push pretty hard just to get BT mouse support for CM7 on the Evo.
The main issue you will run into is driver support for the controller. The XBox controller gives a device not recognized. PC controllers may be hit or miss but I've tried four or five with no success. Your best options are WIImote w/ classic controller or PS3 controller running over Bluetooth. If cost is a concern then look at off brand WII and PS3 controllers or get one used.
Another thing you will need to consider is game support. You would think a game like Galaxy on Fire 2 would support controllers but it does not. Only a handful of games support controller input directly the rest require custom input mapping and third party apps like "Sixaxis Controller" or "Wiimote Controller", to name a few. You will also find that proper analog mapping is generally limited to pay apps and when using the controller it acts as you input for the phone and not just games.
I guess I could put together a "Photon as game console" guide but am a bit buried in projects right now.
@Lokifish Marz,
does that mean even in USB Host Mode, the Photon 4G would require Device Drivers to be ported for android first and then it'll be able to work with the device? Its a little strange because i have read a lot on these forums, and none pointed out that we needed any drivers, all the posts said was that USB OTG/ USB Host Mode is required. (all the Nexus S gaming threads just ask one to install a particular kernel having USB Host Support, which the Photon already has, and plus an app in market namely USB Host Controller by SzTupY)
Game support ofcourse has been taken in mind.A few Tegra 2 games support Controllers, i mean the ones that actually need a controller (as in it would be better to play them with a controller)
Apart from the drivers (which with all due respect to u, i need to be reassured about, because of what i have read in the posts, plus, on other Android phones, specially the Nexus S, people have reported other Controllers working too) what about the Schematic diagram i made above? would it work fine according to you?
Please don't mind if i said anything offensive in the post, i respect all you are doing for the projects you are working on, especially the photon projects and u must be knowing way better than me
Regards
Plug an XBox360 controller into the USB port on a lapdock or HD Dock. Result, "USB Device not recognized. Supported devices includes USB Storage, keyboards and mice." In short, no drivers. If you see somebody using a usb controller on a phone, pay close attention to the phone that's being used. Example, the GS III is a freak of nature. I'd kill for 500GB external drive support.
Different phones support different things. The original Nexus had a mod that allowed for use of usb graphics cards. The original Evo's hardware supported usb host but drivers were never written for it.
Again, your best and most trouble free option is a bluetooth controller.
If it helps give you an idea as to where I'm coming from. I've been trying to get a phone/tabletdock/lapdock/mediapc/carpc/gameconsole built since about 2003 so I feel your pain.
@Loki
Would a build of CM9 help me getting the controller working? i mean the CM9 beta builds or CM7.2 ? as i already have a Wired controller, i'd want support for that only.
plus what can be some other controllers supported?
Now i want the Photon 4G gaming guide u know....I bet everyone who has a Photon would be glad if u make one.
Regards
psgarcha92 said:
plus what can be some other controllers supported?
Regards
Click to expand...
Click to collapse
I believe he already answered this when he said to use bluetooth controllers. Use a p3 or a wii controller.
@rexxxgg
when i asked him what others are supported, i meant what controllers else than the PS3 bluetooth and the WIImote controller are supported. On IM it was clarified that any Generic/non Sony but -for PS3- controller should be working fine with this phone, and that was what i was precisely asking.

How to add USB OTG Host capabilities to a kernel?

Right now, I'm using an HTC EVO 4G LTE, running ICS. Now the source code is out, however, no one has yet to add USB host capabilities to their kernel, so I figure I might as well do it myself. I read on kernel development, and I have a surface level understanding, but I'm just interested in adding the USB host capabilities. So how would I go about doing that? Thanks.
IIRC ICS should have OTG that works for keyboard and mouse. Of course the microUSB port on your phone needs to have the hardware to support OTG and also may or may not supply power.
Yeah, the hardware on the EVO supports it, it's just that HTC never enables it in their kernel.

Categories

Resources