Has it been designed to use the USB port for input? - G1 General

Hey since I am not a dev, I do not know if the USB port could accept incoming connections. Since linux is here now on it, I would think there may be a way to tap into the USB port and rig up some sorta USB input device to use on the G1. Imagine a controller. =D Just wondering if its been reported if the G1 could have the ability or if hardware wise its totally blocked off. Thanks. =)

well the wired headset has a microphone on it for calls, so at the very least you could plug in a USB microphone
i'm no hardware dev though, so i could be wrong!

Mysticales said:
Hey since I am not a dev, I do not know if the USB port could accept incoming connections. Since linux is here now on it, I would think there may be a way to tap into the USB port and rig up some sorta USB input device to use on the G1. Imagine a controller. =D Just wondering if its been reported if the G1 could have the ability or if hardware wise its totally blocked off. Thanks. =)
Click to expand...
Click to collapse
Search the forum for "usb host" and "usb otg". Short answer is G1 cannot act as a usb host even though the cpu supports it. Reason is it is not wired to supply power to a usb slave device.

jashsu said:
Search the forum for "usb host" and "usb otg". Short answer is G1 cannot act as a usb host even though the cpu supports it. Reason is it is not wired to supply power to a usb slave device.
Click to expand...
Click to collapse
Well.. if its just power, there are those USB hubs that you have to plug in AC power, I would think that would solve that issue there.

jashsu said:
Search the forum for "usb host" and "usb otg". Short answer is G1 cannot act as a usb host even though the cpu supports it. Reason is it is not wired to supply power to a usb slave device.
Click to expand...
Click to collapse
well, theoretically, could a non-phantom powered microphone work then? if you got a decent small mic, you'd be able to record live music and such on the phone with pretty good quality. might be impractical but it would be interesting to see if it could work!

Isn't the microphone plugged to a non-usb pin on the HTC connector, like the headphones ?
Edit :
Yes, it is.. See diagram here : http://www.tracyandmatt.co.uk/blogs/index.php/2006/09/10/htc_hermes_usb_connector_pin_config

Not sure how the headphones are plugged in, but I would assume if someone has a miniusb device, Im sure debian would detect it in the reports. I cant rem the command I used in ubuntu to get info but would be interesting to see if something can be done.

It dawned on me... Anetshare turns the G1 into a Wifi peer to peer. So along with Bluetooth abilities. Which Who said that the Bluetooth couldnt be used to accept BT Keyboard/Mice or so? Same with Wifi, Using Wifi to maybe have a app on your PC use ITS controller, sending the data via Wifi (So the G1 is a server) and translating those into usable input commands? I mean I know I use that Joy2Key program in WinXP to map my joystick to keyboard/mice commands. Im sure something could work on the G1. Thoughts?

you mean like this?

ubernicholi said:
you mean like this?
Click to expand...
Click to collapse
Well id say thats a start. Seems like nothing new has been up with it tho? Cause even if a BT Keyboard worked.. That would be a step in the right direction, hell could even play games a lil easier too.

Related

Has anyone tried plugging in a USB HDD?

i was wondering, what if i got a USB harddrive, and plugged it into my hermes?
would WM6 even notice its there?
this is assuming i've got a externally powered HDD that uses the normal USBHOST.
i searched "usb harddrive" in the hermes forums and not many things turned up..
If you have one lying around, give it a go?!
JamesHolden said:
i searched "usb harddrive" in the hermes forums and not many things turned up..
Click to expand...
Click to collapse
that might be the clue to your answer..... the usb port in the phone lacks the capability to host an actual usb device, whether the external device is powered or not... But give it a go anyway... i cant think of any harm in trying... unless there is some kind of major power backflow, but that shouldnt happen unless your external device is faulty
the OS may support it, but hardware-wise - i dont think the Hermes supports USB hosting? or does it?
My brain says no...
But the hope in me says yes...
Wondered about this myself before.
Doesnt the HTC have the ability to act as an external UsB drive through the USB port when connected to a PC using the Advanced USB settings. Maybe its just a question of reversing the settings maybe with an added utility or something i have an external hard drive but not converter to convert the full usb to a mini usb
4Site said:
Wondered about this myself before.
Doesnt the HTC have the ability to act as an external UsB drive through the USB port when connected to a PC using the Advanced USB settings. Maybe its just a question of reversing the settings maybe with an added utility or something i have an external hard drive but not converter to convert the full usb to a mini usb
Click to expand...
Click to collapse
having the device mimmick and external drive and plugging in external storage through USB are 2 completly different things... and it all comes down to the USB host... when you plug your phone into your pc your computer then is able to act as a usb host, as it has the power and the drivers necessary for that... the phone itself lacks the abiltiy to be able to become a usb host...
but hey, at least your thinking
So it may be possible to access a USB HDD if we catered for it using a driver of some sort (written by us guys ofcourse). This may even show up in the file manager as something like /Hard_Drive.?
main procesor (and also OS itself) have support for USB host, but for some reason HTS decide to not enable this feature, it was asked many times, but solution doesnt exist yet... I used this functionallity on my old Fujitsu-Siemens LOOX n500 without necesity to install any drivers, or registry hack, after connection device had available after few second. It was WM5 device.
well think about this:
keep a laptop usb HDD in your car, 160GB of music at your command, with TCPMP who needs a ipod?
i've already modded my stock headset cable to have a 1/8" miniplug AND RCA's on it, so i'm set for the output, but my 4GB of microsd cards just don't cut it
so i'm working on tryin' to find a usb mini b male to usb b male cable right now, might just have to solder one up myself-- i'll post to see how it goes.
I think I've seen them for sale at Radioshack and Compusa - might try peaking in there though if you have a bunch of USB cables kicking around probably cheaper to solder
IF you look around on the net somewhere, someone successfully made a wifi hard drive, and i think it was fairly inexpensive... He loaded tons of mp3's and would access them from his phone via wifi.
http://www.seagate.com/www/en-us/products/consumer_electronics/DAVE/
How about this?
skunker said:
http://www.seagate.com/www/en-us/products/consumer_electronics/DAVE/
How about this?
Click to expand...
Click to collapse
Now I got to get me one of these. So many toys, not enough time.
jcb_home said:
Now I got to get me one of these. So many toys, not enough time.
Click to expand...
Click to collapse
Looks nice!
I just tried this. And nothing happens. Tried a usb memory key (low power), an external HDD (on its own power supply) and a card reader, none of them did anything.
thanks for the go.. after my weekend spent messing with *nix and tryin' to get into locked up wifi, i was spent.

PC GPS receiver on Wizard...possible?

I've been given an older gps receiver that connects to a pc via usb. The driver used in that instance is a usb to serial driver and ends up connecting to one of the COM ports. I was wondering if it may be possible to connect the receiver to my Wizard. I've got an adapter that will enable me to at least plug the receiver into my phone, but I'm not really sure how to get the phone to recognize the receiver.
Does anyone know of an app that will allow me to use the mini usb port as a serial port in any way. I know this may be a long shot, but wanted to try. I can try to write something myself in C# if need be to intercept the messages, but I don't really know how to receive those messages through a COM port on the phone. Thanks!!!
By the way, I'm using an unlocked 8125, running WM6 Most Beautiful.
The problem is actually the Wizard doesn't have a USB Host so the RS232 to USB adapter you might be thinking of won't work here. As for getting it to work with the PC, perhaps if the PC is providing the GPS as a service?
I see. I've got it working on the PC, but could probably write something to get it to the phone, but might be a little pointless if I'm already connected to a laptop.
So, it looks like the only way to connect a peripheral to the Wizard is through Bluetooth. Think that is a fair assessment?
DuceEnd said:
I see. I've got it working on the PC, but could probably write something to get it to the phone, but might be a little pointless if I'm already connected to a laptop.
So, it looks like the only way to connect a peripheral to the Wizard is through Bluetooth. Think that is a fair assessment?
Click to expand...
Click to collapse
Yup. There are a few threads about that also.
--M

External USB hard drive

Does anybody know if it is possible to connect the phone to a USB hard drive?
only with flame and Athena as they are the only ones which support usb host
other devices cant use usb devices only be used by usb hosts normaly a pc
There was actually someone who developed a working hard disk storage driver for windows mobile but last I checked the site no longer offered it. Searched for days trying to find the file elsewhere. No luck. Cant think of the company that made the driver.
I'm bumping this as I am also after the same sort of program / utility.
I want to be able to access my External HD and view / play files off it... anyone able to help me out?
Maybe with a external powersupplied disk
Rudegar said:
only with flame and Athena as they are the only ones which support usb host...
Click to expand...
Click to collapse
Correct
Our Hermes has no usb host support. I found a topic at forum.brighthand.com which suggested the host functionality could be added with a usb host driver. I found the software (attached zip) but alas... Though I did exactly as the 'manual' (readme.txt) explained, the usb-stick did not appear in my explorer.
Possibly an external drive with external power supply might work because the hermes usb port is simply not powerful enough to supply the power to the usb-stick. However I did not "explore that possibility" (don't have one ) and chances are 'just a driver' is not enough and hermes lacks "usb host hardware".
dident read the post because you dident give a link to the post just the forum
but i doubt that it's a general thing
many pda's have usbhost in the cpu itself but htc never connected those connectors
so it's not wired to the connector they have their own usb chip
so if the post you read said it about any other pda then htc based one it could be that that manufactor did connect the usb but dident supply the driver which would then be fixed with what you found
Rudegar said:
many pda's have usbhost in the cpu itself but htc never connected those connectors
Click to expand...
Click to collapse
Sounds like there could be the potential for a hardware hack...
heh, nice try. but it will end like GPS HW hack on the TyTN (aka Hermes). it is not worth it, I mean there is easy way, just buy device with GPS integrated, or buy external. I have electronic skills and proper tools, I can do such things but it is too complicated. in that hermes was problem, that antena was not properly connected and you can never get a GPS lock. I guess that with usb host is the same. missing circuitry.
Deuce Nitro said:
Sounds like there could be the potential for a hardware hack...
Click to expand...
Click to collapse
Yepp!
Hi,
this is correct
sinmae said:
heh, nice try. but it will end like GPS HW hack on the TyTN (aka Hermes). it is not worth it, I mean there is easy way, just buy device with GPS integrated, or buy external. I have electronic skills and proper tools, I can do such things but it is too complicated. in that hermes was problem, that antena was not properly connected and you can never get a GPS lock. I guess that with usb host is the same. missing circuitry.
Click to expand...
Click to collapse
The USB host port of the Samsung CPU is used to connect to the internal GSM/GPRS chipset. So no chance to break it up!
If someone would ever hack this hardware part, the result would be a hermes without radio.
The engineers at HTC used the USB host port to achieve the necessary bandwith for high speed data connection to the GSM/GPRS chips from Qualcomm.
Best regards,
scholbert
thats an interesting information, thanx
scholbert said:
The engineers at HTC used the USB host port to achieve the necessary bandwith for high speed data connection to the GSM/GPRS chips from Qualcomm.
Click to expand...
Click to collapse

USB Host disconnected pin?

hello,
i've heard that the universal WOULD support USB host drivers if an unconnected pin inside the universal was connected... could anyone tell me;
- if i manage to get the pin connected, would i get usb host features like on any other usb host phone with proper drivers?
- how hard is it to do?
- WHAT to do?
Oh man,really really nice interesting idea,hope it's true and possible,i hope someone knows all about that and soon writes here how that is possible maaan,would be really awesome to play with that
PalDragan said:
Oh man,really really nice interesting idea,hope it's true and possible,i hope someone knows all about that and soon writes here how that is possible maaan,would be really awesome to play with that
Click to expand...
Click to collapse
nice to hear someone else would like to get it to work too
EDIT: just found this on another thread on another forum about a PXA270 phone, someone was trying to get it to work, seems like all we need is
- switch the pin to host mode
- a driver (maybe zenos latest ones?)
After about 6 months of not touching this project, I decided to take another quickie look at the PXA270 docs and programmers reference. What I now see is very interesting.
Originally, I was looking at bringing out the USB Host 1 interface pins to the outside world as they were only terminated internally on the motherboard. Only about 1% of users might be able to do that.
I then started to look at the USB OTG (On The Go) interface that this chip supports. The USB OTG interface can be used as both a client and host. It shares the same pins as the Axim's serial port. Unfortuately, there are two serial control lines pins that are not brought out to the connector, so I scrubbed that idea.
This past weekend I picked up the programmer's design reference book to look at how the various USB interfaces are programmed and I saw something that I missed before as this was in the USB Client section. It appears (to me anyways) that the USB Client pins can also be programmed to act as a USB Host when in the USB OTG low power operation mode. The manual discusses how the additional control registers are used along with an output mux and charge-pump circuit (to provide the +5v). Refer to the PXA27x Processor Family Developer's Manual - dated Jan 2006, sections 12.5.2 and 20.
I will be looking at this more closely to see if a simple driver can be written (Afarre, where are you...) to switch the USB client pins into Host mode. In addition to this, the USB device drivers would be needed. Please remember, an additional IO interface circuit will be needed to connect between any USB device and the Axim as the proper voltages are not on the sync connector.
Click to expand...
Click to collapse
the_fish said:
nice to hear someone else would like to get it to work too
Click to expand...
Click to collapse
Suuuuuuuuuure,every crazy idea to abuse my PPC and i'm in for the quest
PalDragan said:
Suuuuuuuuuure,every crazy idea to abuse my PPC and i'm in for the quest
Click to expand...
Click to collapse
haha same, btw thats the link to the topic:
http://www.mobilitysite.com/boards/x50-x51-forums/140071-hacking-pxa270-internal-usb-host-24.html
Unfortunately, this means it's not for 99% of users as it requires a delicate hardware mod/addition to the motherboard (see my earlier posts & photos in this thread).
Click to expand...
Click to collapse
seems like they were still working on the driver (which we already have(?)) so we only need the hardware mod.... i guess...
the_fish said:
haha same, btw thats the link to the topic:
http://www.mobilitysite.com/boards/x50-x51-forums/140071-hacking-pxa270-internal-usb-host-24.html
seems like they were still working on the driver (which we already have(?)) so we only need the hardware mod.... i guess...
Click to expand...
Click to collapse
Ummm it's definately a crazy idea. We were discussing with mamaich (our guru) last year. Unfortunately it's not that simple to provide the power in sync connector, which is acting as a usb client (connector) at the moment.
tomal said:
Ummm it's definately a crazy idea. We were discussing with mamaich (our guru) last year. Unfortunately it's not that simple to provide the power in sync connector, which is acting as a usb client (connector) at the moment.
Click to expand...
Click to collapse
did you read in the thread i posted a link to? they had the same problem, but also found out that it maybe is possible to provide the nessecary +5v too, they were not sure tho, and i thought maybe zenos drivers contain the code to do that.
the_fish said:
did you read in the thread i posted a link to? they had the same problem, but also found out that it maybe is possible to provide the nessecary +5v too, they were not sure tho, and i thought maybe zenos drivers contain the code to do that.
Click to expand...
Click to collapse
Ok, seems there is a new idea of power injection from outside.
Anybody tried it...?
Couple of months ago, I was trying with outside +5v power but nothing happens
Win_XP said:
Couple of months ago, I was trying with outside +5v power but nothing happens
Click to expand...
Click to collapse
did you use one of those special USB cables that have two female USB-A, one for power and the other for the device to plug in?
http://htc-tytn-ii.handster.com/software.php?id=3339&for=HTC+TyTN+II
i don't know anything about this.. i'm actually looking to hook up something that normally has a rs-232 port.. but is also made in usb.. It draws power from another source
with something like that program doesn't that suggest usb host is possible..
http://gnalpgnarf.handster.com/software.php?id=3339&for=gnalpgnarf
hmmm....am I right or am I wrong?
Theoretically speaking the idea with a pin is supposed to redirect power from intake to output, however, not only Uni is incapable of supporting the output (you are essentially attempting to piggyback another device), the external support will not be possible due to pin configuration, regardless of the cable used.
Another thing, other than sheer experimentation, what would be the real point of such USB host?
STOP TORTURING YOUR UNIs, GUYS!!!!
I am pretty sure, that the Universal doesn't support USB Host.
It did not, it does not, it will not.
Sorry guys!
To be honest:
Yes, the PXA270 chip supports USB Host, but in most HTC devices they use this feature already for something else, like: WLAN or 3G connection.
DOMy
seen this?:
http://hhtinker.blogspot.com/2008/10/usb-host-on-treo-650.html
do you know what USB Host already busy?
it used as data call transfer radio <-> CE.
USB hub will not solve this problem easy.
also if you want attach it to miniUSB connector, you need additional OTG chip.
=> Host on universal is very hard to do, ...impossible.

Is the USB master? Can I connect external HDD etc?

I wonder if the USB on the Nexus One allows me to connect an external hard drive. I'm only talking about data transmission with externally powered USB-devices. The N1 doesn't need to power USB-devices for me to be satisfied.
And if not: could the deficiency possibly be mended software-wise, or is it a limitation of the hardware itself?
Thanks beforehand!
no it cannot be the host. Read this on a google forum, someone posted the link as an answer to a similar question yesterday.
Thank you for your answer, britoso!
But oh, what a pitty!!!
Can't it possibly be fixed by booting with another software driver or something?
What's the point of removing this ability? It seems completely ridiculous. It gains nothing at all to "un-specify" USB host capability:
"Now, I have my files on this USB memory stick and here's the Nexus One. Oh, what's the use. Google didn't care at all about this kind of scenaria..."
Well, let's see what can be done with bulky wireless adapters and stuff like that then, to mend this unnecessary fail of the N1... I probably need to use a PC running Windows and a cable internet in order to have any use at all of the N1. Was this the purpose of this deliberate design "feature"?!?
this feature was not removed, but simply never implemented into the Android OS (afaik). if USB was host that means anything connected to it would have to draw power from the Nexus One's battery. Im sure HTC does not want this, because some things connected to USB can put incredible stress on a battery.
I thought the inability was due to a USB design that will allow charging, but doesn't allow hosting.
(at least that what I gathered about the n900 and why it couldn't act as a host.)
edit: nevermind nokia opted to skip on the go support to get the product out faster.
I don't know if there's a hardware limitation in place, but even if there isn't, the software does not support it.
There's an app for the n900 to add host support in the maemo repository. Don't know if it works though. I've always thought host support was due to the software.
Go here:
http://code.google.com/p/android/issues/detail?id=738
Sign in with your google ID. Vote for the feature by clicking the star.
(While you are there, click on "Back to list" and browse for other issues/features you care about and "star" them too...)
Its been accomplished on the Droid... Host mode works, but as there are no drivers, anything that runs over usb will turn on / charge but not connect.
http://www.engadget.com/2010/02/10/droid-gets-a-usb-hack-allowing-it-to-control-printers-and-camera/
mikecyber said:
Its been accomplished on the Droid... Host mode works, but as there are no drivers, anything that runs over usb will turn on / charge but not connect.
http://www.engadget.com/2010/02/10/droid-gets-a-usb-hack-allowing-it-to-control-printers-and-camera/
Click to expand...
Click to collapse
Thanks for posting this as I saw this on another site and came here to raise awareness. I've heard that someone got a USB keyboard working over USB host. Could someone try this out on their N1?

Categories

Resources