Question about ubuntu usb host mode. - HD2 Android Q&A, Help & Troubleshooting and Genera

I connect the mouse to HD2 with a USB hub(afford power supply to USB Device),but it did not work.
Do I have to first connect the cable and then run the Ubuntu?
Is it reqeuired that the USB hub must also afford power supply to HD2?
Excuse for my bad English

Do any one know that?

er... Is there any one know that

I have the same problem, im sure its all wired up correctly, I get lights on the devices but they do not work

Related

htc universal usb host driver

Anyone got a wm5/ce5 usb host driver for htc universal (pxa270 intel arm processor)? I'm trying to write one, but if someone could save me the effort, please do? I know it will work, as it does under linux.
USB Host on a universal will be great. Didn't know it works under Linux.
driver for view a universal as a sd writer and reader or a driver for the universal for attach a pendrive to a universal?
drivers for attaching a pendrive.
A USB host driver enables you to hook up USB devices like memory key, keyboard/mouse etc. to the universal. This feature is only available on a few pda models made by toshiba, fujitsu, asus, acer etc.
imesh said:
driver for view a universal as a sd writer and reader or a driver for the universal for attach a pendrive to a universal?
Click to expand...
Click to collapse
Correct me if I'm wrong but wouldn't it have to be supported by the hardware? As far as I know the Universal does not have USB host so getting a driver wouldn't be much help...
apparently it works under linux so the hardware must support it
Good question. I need the host driver and then a driver for mass storage (e.g. pen drive, hard driver, etc), HID (for keyboard mouse), etc. The htc universal has a usb host controller built into the arm processor (pxa270). The problem is that it also has a usb device controller build in which takes precedent for the mini usb out, so you can use activesyn. However, with the right bit of code you can reconfigure port 2 to act as a usb host. The other problem is that port 2 doesn't have any power (but that is easy to fix with an external power source from a usb hub or battery [I use a single AA battery, (giving 5 volts at 0.5-1 amp), that lasts for 2 hours]).
hi any success yet with the usb host function? is it possible or just a hoax?
nothing personal it just seems that some ppl like to make fun about this topic and spread hoax!
u have any evidences that it works under linux?
maybe this link is helping you in creating a driver!
http://www.deje.gmxhome.de/index.html
cheers
Mike
Suspect that you will also need the proper USB host cable that is used on the Sharp Zaurus under LINUX to let the Universal know that you want the USB port to work in host mode, they are about £10 & available from here http://www.figlabs.com/catalog/product_info.php/products_id/33
I have the Zaurus & Universal so I know the cable fits but I don't have a driver to test.
Mike
Mikew said:
I have the Zaurus & Universal so I know the cable fits but I don't have a driver to test.
Click to expand...
Click to collapse
The USB host is used by Linux on HTC phones, but not for the external USB connector
(BT on magician, and gsm_data on some others http://wiki.xda-developers.com/index.php?pagename=HTC_Serial)
Mikew said:
Suspect that you will also need the proper USB host cable that is used on the Sharp Zaurus under LINUX to let the Universal know that you want the USB port to work in host mode, they are about £10 & available from here http://www.figlabs.com/catalog/product_info.php/products_id/33
I have the Zaurus & Universal so I know the cable fits but I don't have a driver to test.
Mike
Click to expand...
Click to collapse
I have one for wm2003, I not if it worked in wm05.
Yuo can try it?
any success yet??
Dont think I would want to try a WM2003 driver on a WM5 device.
Mike
Mikew said:
Dont think I would want to try a WM2003 driver on a WM5 device.
Mike
Click to expand...
Click to collapse
You can do one backup before installing it.
I have installed it in my Universal and I have not had problems with wm5, but it has not worked with my standar cable
I've had no success with it either.. I have a cable that has the correct connectors.. originally used for connecting a usb pen drive to my lcd picture frame.. but like I said no luck with this RATOC driver.
Mikew said:
Suspect that you will also need the proper USB host cable that is used on the Sharp Zaurus under LINUX to let the Universal know that you want the USB port to work in host mode, they are about £10 & available from here http://www.figlabs.com/catalog/product_info.php/products_id/33
I have the Zaurus & Universal so I know the cable fits but I don't have a driver to test.
Mike
Click to expand...
Click to collapse
i think that this cable is not enough, what about a 5v power source for the usb pen drive you'd connect?
your universal couldn't supply that, then you need a usb cable that can connect to a power source aswell.
You need to use a powered USB hub if the slave device requires power, there are one or two hubs that run on batteries so you can still be mobile.
You will need a hub if you plan to use more than 1 USB device at the same time.
Mike
allmycrud said:
Anyone got a wm5/ce5 usb host driver for htc universal (pxa270 intel arm processor)? I'm trying to write one, but if someone could save me the effort, please do? I know it will work, as it does under linux.
Click to expand...
Click to collapse
I didn't know we had it in Linux yet??
In any case, while many devices do use a USB Host or USB Slave chip from a higher level, I believe the Universal talks to its USB as a raw stream device, and therefore can (and does, on occasion) act as a pure Serial communication channel (no discernable protocol beyond 8,n,1) or, therefore, any other type of serial-based channel. Yes, what I am saying is that you could, in fact, hook up a Serial ATA hard disk to an RS232 or USB port directly, so long as the device with the port has low enough level access to the port to absolutely control the data I/O.
The problem you face, however, is that to use the USB port as if the device were the host, you would first need to remove or disable whatever makes it work as the slave. In Windows Mobile that's really not an easy job given the number of different devices and different drivers, some with USB chips, some without... On many devices I can imagine that doing that alone would really bugger up general operation. What happens, for example, to ActiveSync when you suddenly get rid of the port it usually talks to for sync?
Mikew said:
You need to use a powered USB hub if the slave device requires power, there are one or two hubs that run on batteries so you can still be mobile.
You will need a hub if you plan to use more than 1 USB device at the same time.
Mike
Click to expand...
Click to collapse
Some USB devices have batteries, or have their own power supply You can also get USB cables with an extra (mains or battery) feed wired to the USB's power lines in parallel.
whatever happened to this thread?
allmycrud have you seen the thread from Zeno with USB host drivers?
there is at least one report of it working on a Universal, but I can't get it working on wm6.1... still have hopes though, as all reports suggest that USB host is possible on a uni... can never get verification from anyone though...

USB Host Problem

Hello,
I use Jungo's WinDriver USB to allow my software to communicate with various digital cameras. It works on every USB host equipped Pocket PC except the X7500, any ideas as to what HTC has done differently with this model? I`ve tested under both the standard WM5 ROM and the 2.19 WM6 ROM with the same results. The driver detects the first attach and detach, but not the subsequent ones. Any ideas would be much appreciated before I FedEx my poor X7500 half way around to world to Jungo..
do you have the 4in1 cable? That has a host mode usb port on it!
No need for funny software. The port on the side (miniusb) is not host, but the one on the 4in1 cable is I beleive.
Kick me anyone if im talking out my bumcrack.
I have the 4 in one cable WinDriver is an SDK that allows user mode software to talk to USB devices without writing full device drivers. In my case, it allows me to develop drivers for Canon and Nikon cameras that Windows CE does not otherwise support.
Please excuse my ignorance here, but does this mean i could plug a external hard drive in and read/write to it?
Thanks in advance
The pilgrim
Yes, I have plugged in USB thumb drives and they are recognized. Power drain is the issue with external USB drives. If you have one with external power input, it should work. I may be testing this shortly. I will repost once I have some deffinitive results.
the_pilgrim said:
Please excuse my ignorance here, but does this mean i could plug a external hard drive in and read/write to it?
Thanks in advance
The pilgrim
Click to expand...
Click to collapse
Not all. Some will work, some will experience compatibility issues, and some will have problems due to power consumption. The best way to find out is test it with the host cable attached and see. If the device doesn't initially work try a few things first....try plugging it in to a power source if it's capable of that, try soft reset while device is plugged in, etc. After trying a few different things, let us know the results and what model you have. Maybe post it to the peripheral compatibility thread. Thanks!
I have bought HTC 4 in 1 CABLE and another 4 in 1 usb from poundland and both work perfectly when you connect external pen drives and mouse.

Can I connect a USB-GPS?

Will connecting a USB-based (not bluetooth) GPS to an elfin work? I would need to buy a female-USB to mini-USB wire, of course.
Would I need to install these drivers?
1800pocketpc.com/2010/04/30/connect-usb-devices-like-hdd-keyboard-and-mouse-to-your-windows-mobile-using-zeno-usb-host-drivers.html
If it does work, would there be any way to also give it external power at the same time? Maybe some strange USB dongle which I could plug both a power USB and my USB-GPS into?

[REQ] Kernel with USB Host Enabled

To all Devs,
May we request to have USB host enable kernel please?
Thanks.
It's not a software issue. HD2 doesn't support USB Host .
AL1982 said:
It's not a software issue. HD2 doesn't support USB Host .
Click to expand...
Click to collapse
Actually it looks like lack of USB host is a software issue. I read in the Linux development thread that USB host is enabled in the HD2 Ubuntu rom..... What I dont know is whether android in its current state supports USB host. Did I read somewhere that USB host is a feature in the upcoming Android 2.3? I am not sure.
HD2 does support usb host. There are kernels in autobuild system that have usb host enabled.
Once the software is setup, (i know only ubuntu) you need to inject power between hd2 and the hardware you want to connect, because our tiny battery can't handdle the 500ma/5V power output needed for most usb hardware.
Search on ubuntu hd2 wiki, you'll find schematics for power injection cable, and people that have succesfully connected keyboards, mouses, and mass storages.
doloop said:
Once the software is setup, (i know only ubuntu) you need to inject power between hd2 and the hardware you want to connect, because our tiny battery can't handdle the 500ma/5V power output needed for most usb hardware.
Click to expand...
Click to collapse
It's not that it cannot handle the power consumption on its microUSB port, it's because there is no way that it can provide power at all (it is not wired to do that), and that's why you have to provide power for all of your USB gadgets with the Y cable, for which you can find the schematics on the htc-linux wiki.
can this be possible?
Theoretically, HD2 should provide power to USB if is switched to OTG. PMIC that HD2 using it (PM7540) is able to do that.

USB host mode support? Is this a bad question?

Does anyone care to look into a patch or addition to the software or kernel to allow usb host support? I think that the hardware supports usb host, but the software removes compatibility because when I plug in a Playstation 3 controller it the 4 lights on the front flash, and it charges, but nothing happens on the the phone as well as when I plug in a usb flash drive or the otg cable itself the message for USB host mode does not pop up.. I have looked for a sulution for this but couldn't find one. Any help, or an answer to what this means would be great!
Thanks
By the way, this is a rooted 306sh
never mind, i got it working

Categories

Resources