USB host on universal? - JASJAR, XDA Exec, MDA Pro Software Upgrading

i heard on the modaco forums that someone on here has a rom that enables the universal's usb port to act as a host, Is this true? if so, could someone link me to details?
Thanks
Ryan
.

Universal has a working USB host. Qualcomm MSM chip is connected to it internally.
The port that looks outside - is just an USB client that cannot be reprogrammed for anything else.
So this is absolutely impossible whithout heavy soldering.

Ah well, nevermind, would have been nice, but for me soldering in a device like this is totally out of the question.

Related

USB host for artemis

According to Texas Instruments the omap 850 supports USB on-the-go (otg).
And according to microsoft Windows Mobile supports USB OTG as of Windows Mobile 6.
Is this a true?
have enyone tryed if it works?
hmm... i'm really interested in this too....
i read the links you provided and it seems that someone who really knows programming could get this workin....
lets see what the future brings =)
What do you want USB on the go for? Do you want to use your Artemis as a USB Drive, cause if that was the case then you can use WM5 Storage. Activate it and you can access your storage card folder directly without having ActiveSync installed.
If you want to attach any devices then you need someone with good skillz!
i was thinking of attaching other things, like it is possible to do with the O2 xda flame
Well ok, I don't see a reason to attach devices but maybe you. Even if the processor has capabilities and you have some special software, that might not be enough. As far as I know the device has to power the other device, I don't know if the mainboard is designed to have enough power on the USB, maybe it will be damaged.
To be honest I don't know, it's just a guess. But don't count on it that it will ever be possible, I think the hardware around the processor is making more problems than the processor itself. If it is ever possible I wouldn't attach a harddrive that is powered through USB, that might kill your PDA.
http://forum.xda-developers.com/showthread.php?t=312843&highlight=flame
Well I too would love to be able to run a full size SD card reader, for the work I do with Tomtom Go's, a USB drive would be awesome too for data storage, whilst leaving the internal MicroSD free for apps etc.
But I too suspect Hardware would have had to be designed for this in the first instance.
Hi,
I've talked with developers in my company. They are working on USB client stack with other type of OMAP processor. In their opinion the main problem is not hardware and electrical connections, but software. So it is highly possible to use our Artemis as a USB host. Maybe +5 should be provided separately but signal wires are already in our USB sync cable.
So, maybe you can think it over and find the guru who will be able to solve the problem
Gromdar.
Thread been awefull quiet lately, any progress?
Hey, just thought Id revive this
It interests me deeply as I wish to interface things such as peripherals and storage with my orbit without having to replace USB controller with a host chip.
Im an avid programmer and have worked on netcode but never really interfaced a device or written drivers and im COMPLETELY new to the mobile platform in terms of coding.
Anyway if someone knows about .NET libraries particularly for USB and ones that are supported on mobile platform I am willing to invest the time and risk blowing up my xda for the cause
Hello everyone,
I also need to connect a usb peripheral to the Artemis P3300.The peripheral is a usb client device ,an rfid reader , from which i want to pass a short string of data to the Artemis.
My idea is to use an atmel microcontroller with usb on the go , to act as a host , read the data from the rfid reader and pass it to the Artemis.
As I am quite new to this kind of engineering I would like to hear your opinion about this way of interfacing the Artemis with the microcontroller. Do you think that the extUSB is suitable for a connection with a usb on the go host device?
Best regards

USB Host On Evo?

sven.killig.de/android/N1/2.2/usb_host/ This method enables you to host usb devices from your Nexus 1. Is it possible do this on Evo also?
Looks like it might only be for Froyo, but then again not sure.
He writes it should work for 2.1 but even for Froyo (custom ROM ) it would be great
I am working on a few custom roms right now but when I'm done with that I'm gonna start working on some kernels including this exact feature.
MOD EDIT - Moved to Q&A
my question is "does the hardware of the evo support usb host mode?" I know the evo shares a lot with the nexus one and other current gen htc phones so I'm hoping so.
BUMP!
omg please... anyone have the gear to try this... i guess im gonna have to take some stuff apart..
chuckhriczko said:
I am working on a few custom roms right now but when I'm done with that I'm gonna start working on some kernels including this exact feature.
Click to expand...
Click to collapse
If/when you are ready, let me now. I have keen interest in this.
Here's what I know:
1) The EVO has no power supply to power the USB device (so you will need a powered hub or cable hack).
2) HTC loves to (seemingly) use the fifth pin as a way to know that the car charging dock is in use so there is a strong possibility that auto-sensing a USB host cable will not work; it will have to be entered via software in some other way. It could be that this switch is actually HTC's own software running and detecting it; I've never dug in enough to know.
3) The Snapdragon processor has the hardware to support USB host and there is a project that Qualcomm has to support the features of their processors witih Android which is (presumably?) where these drivers came from: https://www.codeaurora.org/xwiki/bin/QAEP/
I'm willing to support such a project with my (limited) knowledge and cash. Let me know who's interested
bsnguy said:
I'm willing to support such a project with my (limited) knowledge and cash. Let me know who's interested
Click to expand...
Click to collapse
I have the micro-usb to female OTG cable on it's way, and a powered usb hub that i'm gonna hack. from there, as long as the kernel has support and there are modules to load...
j4s0nc said:
I have the micro-usb to female OTG cable on it's way, and a powered usb hub that i'm gonna hack. from there, as long as the kernel has support and there are modules to load...
Click to expand...
Click to collapse
I've done this. There is no built-in support on Android 2.1 or 2.2 from HTC on the EVO. At least no support for flash media. We will need to add the driver from here (or something similar):
HTC HD2 Kernel with support for USB Host. Same processor and probably similar internals, too. I don't have to the time to get up-to-speed on downloading/building/deploying kernels (and I'm not rooted, yet, on the EVO). I have an HD2 and I might try their stuff on that as it looks like it's "done" so I can see how well it works (or not).
Just got the cable today. Checking out these links and trying things now...
thanks for the pointers. I'm running cyanogen nightly 8-1... so far, i get:
D/Tethering( 102): interfaceAdded :usb0
from logcat when i plug my hacked (routed dc+ voltage from a nearby
+5v pin to the upstream cable red wire) powered usb hub into this OTG cable.
The EVO charges when i have it all plugged in as well...
j4s0nc said:
Just got the cable today. Checking out these links and trying things now...
thanks for the pointers. I'm running cyanogen nightly 8-1... so far, i get:
D/Tethering( 102): interfaceAdded :usb0
from logcat when i plug my hacked (routed dc+ voltage from a nearby
+5v pin to the upstream cable red wire) powered usb hub into this OTG cable.
The EVO charges when i have it all plugged in as well...
Click to expand...
Click to collapse
What's on the other end of the cable? Just the hub? The "D/Tethering" message probably shows up with nothing connected at all (did you see that or try that?) I suspect that's a listener on usb0 to see if a host is plugged in to allow tethering with the phone.
Was there any progress / update on this after you plugged into the USB hub? Have you tried it with anything else?
bsnguy said:
... I don't have to the time to get up-to-speed on downloading/building/deploying kernels...
Click to expand...
Click to collapse
Kinda in the same boat here. I lost a lot of steam after my last post. I did the hardware part no prob but just hit a wall with the rest. And since flashing CM6 final I can't adb or even charge the EVO unless i have the micro usb otg cable plugged into a male-to-male usb extension plugged into AC adapter. Gonna flash back to another ROM to make sure it's just software related, but I really don't wanna lose my wiimote and apple wireless keyboard compatibility.
bump
just curious as to the status of usb hosting on the HTC EVO.
well i'll say this
IF it is supported in froyo natively
you dont need to make a custom hacked usb host cable
you can buy a motorola host adapter for micro-usb made for the new motorola es400 which supports usb host operation.
eigerzoom said:
well i'll say this
IF it is supported in froyo natively
you dont need to make a custom hacked usb host cable
you can buy a motorola host adapter for micro-usb made for the new motorola es400 which supports usb host operation.
Click to expand...
Click to collapse
Not quite that simple.
There is no power supplied from the EVO so you will, at a minimum, have to supply a powered USB hub or a self-powered device, and you will also need the low-level driver to turn on the USB hsot support in the Snapdragon processor.
looking for info on the evo shift...if anyone happens to have any info or leads.
thanks
New development on Motorola Droid
http://www.tombom.co.uk/blog/?p=124
This would be so cool and useful if someone gets this working good on the Evo
Looks like they have this working on the Desire HD:
http://forum.xda-developers.com/showthread.php?t=993152
It's a similar device to the Evo, so maybe there is hope for the Evo to get it?

Attaching Portable harddrive

Hi been following XDA for quite a long time now (great forum)
Just had a thought would it be possible to connect a USB harddrive to your phone and get it to display the files on your phone?
Cheers Jake
AFAIK it's not possible for two reasons:
Main reason is that our phone isn't capable of USB Host which is what it would need to be able to negotiate a connection with the HDD. Both devices are effectively peripherals. I believe some phones are capable but not the Hero.
Secondly you would need to cable to go from your HDD which terminates in a mini usb connector (sure you'd be able to find on though).
Sorry,
Phil
Also, this question belongs in Q&A not Development but I'm sure a mod will be along shortly to sort that out.
http://adq.livejournal.com/95689.html
...but surprisingly nobody needs that.... pity...
Sort of stand corrected then I suppose. The usb chip does support Host but the support isn't in the standard kernel. He has made a go at porting it to the 2.1 kernel and is hoping to have it integrated into a villain rom. From what I read, I don't think he has got the USB port to be powered which severly limits the number of applications for this. Can get round by using a powered usb hub but this is pretty useless for mobile uses.
Is very interesting, still very much a work in progress though.
Thanks for the quick reply just thought could be quick useful.
When you think of it, if your phone battery would have to feed power to spin up a harddisk and keep it spinning, it would get depleted pretty quickly, so this feature would be of limited use anyway.
3.5 externals use their own power supplies
it would be cool, if this would be possible^^
an usb-memory-stick would be enough for beginning
docertabum said:
http://adq.livejournal.com/95689.html
...but surprisingly nobody needs that.... pity...
Click to expand...
Click to collapse
That guy developed a kernel patch with a driver to support usb host, maybe we could add it into the kernels that are being released, or even make it an optional patch that would be compatible with the kernels in this forum? I think keyboard support would be awesome, especially for those of us who like to flash roms often, it would make typing in all of our different account details in over and over again less of a hassle.

EVO as a USB Host?

Hey guys, i don't know if this has been addressed before or not. Is it possible to use the Evo as a USB Host, that is to say, (in my case) connect my DSLR to my Evo and download pictures so i can upload them to tumblr etc or flash drives to get files etc.
or am i just shooting in the dark here?
Possible (check)
Would help if you were well-versed in the art of Linux and mounting
indeed. but sadly, i am not. but! i am willing to donate to a helpful soul that is!
SilverStone641 said:
indeed. but sadly, i am not. but! i am willing to donate to a helpful soul that is!
Click to expand...
Click to collapse
Heres your best bet.
http://sven.killig.de/android/N1/2.2/usb_host/
It's for the nexus on froyo but it could still work
If I had the right cable i'd test it for you.
This oughta work too
http://jkontherun.com/2010/02/17/how-to-add-a-usb-keyboard-to-an-android-phone/
that looks like it'll work for keyboard or other INPUT devices, but would it work with external storage?
SilverStone641 said:
that looks like it'll work for keyboard or other INPUT devices, but would it work with external storage?
Click to expand...
Click to collapse
are you kidding me? youre a senior member, read a bit, perhaps scroll down the page.
USB storage
insmod drivers/usb/storage/usb-storage.ko
# Wait for device enumeration
mount -t vfat /dev/block/sda1 /mnt/sdcard/usb-storage
Click to expand...
Click to collapse
do you have a cable to even connect the two? micro to mini (if its a canon/nikon, if im not mistaken) micro to micro (pentax), beause else you'll need a powered hub according to the first link posted.
I just thought to start researching the status of otg usb and usb host mode on the evo. And to my surprise this is the only crappy thread I've come across. I cannot find an anwser as to if the evo has the hardware to support it. I know that the n1 droid and maybe the incredible support usb host mode even if u need a single its still something I want to know. I would drool over connecting usb flash drives, keyboards, game controllers etc to my evo. Someone else please show interest in this.
i concur. i'd love to be able to plug my ipod/DSLR/flash drive into my phone to upload/download files. i'd be willing to donate to make this happen
The list is endless... MIDI Controllers, extra screens, ethernet, fingerprint reader, wtvr.
Just got the cable today. Checking out these
http://forum.xda-developers.com/showthread.php?t=696446
...links and trying things now...
thanks for the pointers. I'm running cyanogen nightly 8-1... so far, i get:
D/Tethering( 102): interfaceAdded :usb0
from logcat when i plug my hacked (routed dc+ voltage from a nearby
+5v pin to the upstream cable red wire) powered usb hub into this OTG cable.
The EVO charges when i have it all plugged in as well...
Looks like they have this working on the Desire HD:
http://forum.xda-developers.com/showthread.php?t=993152
It's a similar device to the Evo, so maybe there is hope for the Evo to get it?
would like to bring this one back I just got a program called DSL controller it says my phone wont do usb host. Not sure if there is a kernel I need or if there is a ROM I can run etc.
I just ordered the cable I need for my phone and camera. So if anyone knows of a ROM that may do this please advise.
Any one try this yet? Do not want to spend the money till I see some one had it working
I too desperately wanted this to work... After buying the host-mode cable, trying various methods to allow "host-mode" on the evo, and trying a bazillion different combinations of settings - the DSLR controller software *always* gives me a "your device does not support USB host mode" error. I'm afraid this is dead in the water. DSLR Controller does, however, work nicely on my Asus Transformer tablet

Anyway to connect a hard drive?

I've searched all over, because a while back I thought I seen a post somewhere about hooking up external usb devices to the phone, but I can't find it anymore. Is there an adapter or special cord that will allow you to hook up your DINC 2 to an external hard drive?
Sent from my DINC2 in Yuma, AZ
It would be nice if there was also a way to plug a flashdrive into the charger connection on the side of the phone and be able to read from that. People could have special collections of apps and roms that could be shared with friends by simply letting them plug in your flash drive. I honestly don't understand why this hasn't been an option. why couldnt a flash drive be pluged into one of these adapters (http://www.google.com/products/cata...=X&ei=PRh6Ts68OqrQiAKClK3JDw&ved=0CL0BEPMCMAM). from here it would just be a matter of the phone being able to read the information off the flashdrive, which im sure some developers could find a way..
As far as I know, the main issue is whether or not the USB port supports a USB host function. It's similar to the concept of a computer being able to support high-def video but not having an HDMI-out port through which to broadcast the signal. Then the second hurdle to jump over is whether or not a USB Host Stack has been written/and or provided in the software. That's where a dev would be able to write a stack (not very easy) for the phone.
Here's a little reading on the subject.
http://developer.android.com/guide/topics/usb/host.html
lightninjay said:
As far as I know, the main issue is whether or not the USB port supports a USB host function. It's similar to the concept of a computer being able to support high-def video but not having an HDMI-out port through which to broadcast the signal. Then the second hurdle to jump over is whether or not a USB Host Stack has been written/and or provided in the software. That's where a dev would be able to write a stack (not very easy) for the phone.
Here's a little reading on the subject.
http://developer.android.com/guide/topics/usb/host.html
Click to expand...
Click to collapse
That is some good reading.. Heres some more I found about it.
http://forum.xda-developers.com/showthread.php?t=751535
Maybe I should have read this when I haven't been drinking. I might understand a little better. But it sounds like a lot of work. I would be willing to donate like 50 bucks if someone could get this working for the DINC2 and my external hard drive.
Sent from my DINC2 in Yuma, AZ
'twould be cool
This would be very cool. I hope that someone can do something with this. I'd be willing to donate to the cause
I found something that might work, I haven't got it to work myself though.
Sent from my DINC2
I was intrigued and googled your image. Found and installed USB Host Controller but it said the phone does not have the OTG or HOST driver installed. On the app page it links to Nexus One USB Host project page saying Snapdragon/HTC supported kernels can be found there or something along that nature. From what I can gather it would need to be added into a kernel something which I have no idea how to do. Also, it sounds like ICS will support this feature by default so I doubt the devs will go out of their way to implement it. One can always dream though . Hope that helps!
Then what happened?
why not just toggle USB mode and use your computer as a "External" HDD.........
danielholm said:
Then what happened?
Click to expand...
Click to collapse
Absolutely nothing. It was a failed attempt.
Sent from my DINC2
dets34 said:
why not just toggle USB mode and use your computer as a "External" HDD.........
Click to expand...
Click to collapse
Because at the time, my computer took a dump and no longer worked. But I recently got a new one.
Sent from my DINC2
Yea who doesn't want to lug around an external hardrive? The chicks dig the extra space
Sent from my ADR6350 using xda app-developers app

Categories

Resources