[DFT]LEO USB Host for WM65 - HD2 Windows Mobile 6.5 ROM Development

DFT LEO USBH WM65
Introduction
this project was started long time ago, but then, during luck of free time for this project, it was suspended.
Now, because it seems very hard to improve it more, we make decision to release developed stuffs. Also more interesting projects now appear
About release
This release contains drivers designed to allow connect different USB devices to HTC LEO (HTC HD2)
Those drivers designed for Windows Mobile 6.5 OS and they were successfully tested on 3.14 ROM. Other ROMs are not tested.
For using USB host ability you need use special cable or self-powered USB hub.
More information can be found here
This release supports HID and MassStorage profiles.
You can connect UsB Mouse, USB Keyboard, USB Stick, USB Hard Disk.
Of course, you need enough external power for devices.
Please remember, this is some kind of demonstration,
this implementation sometimes isn't stable and you can have issues during usage.
PLEASE MAKE DATA BACKUP BEFORE INSTALLING!
Installation:
1. Install CotullaCert.cab
2. Install DFT_LEO_USBH_WM65.CAB.
3. Reset.
Usage:
1. Programs -> USBH Switch
2. Disconnect from PC.
3. Press "Switch to Host" button.
4. Connect host device.
5. After some time it should be detected.
6. You can try to use it.
7. After usage you need reset your device to go back USB client mode.
NOTE: It's not recommended to connect device to PC during USB Host mode active!
Disclaimer:
This product is free to use at your own risk. We take no
responsibility for any conflict, fault, or damage caused by
this unlocking procedure. No warranties, implied or otherwise, are given if you agree to use this product.
No problems were found while testing this product on several different devices, your experience may vary.
Use of the Product for commercial purposes is strictly prohibited and to prohibit the use by xda.cn Forum.
USBH Switch program:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How it can looks in the real :
on picture you see a USB hub (without external power), a self made Y cable, LEO1024, USB mouse, USB Memory Stick and a bunch of cables.
I can see data on USB stick inside file explorer and can control device by mouse (cursor invisible by default). White cable go to USB male which used as VBUS 5V source.
18.08.2011
DFT, Cotulla

nice , good job Bro

Wow, impressive work! I don't use the HD2 anymore, but it's bloody great to see some real good dev work being done on it, especially for WM6.5!

is that mean i can browes my flash memory from my HD2 ?!!

Class, able to use a mouse on the HD2 brilliant! Keep up the good work

Hi Cotulla!! you finally made it!
I´m your early "beta tester" from Argentina, we chatted via msn some months ago. Sadly I don´t have the HD2 anymore to try this again. I have an DHD now and there are some people trying to develop this same thing for the DHD.
Congrats!:

Cotulla, please port this to Android. I don't have an HD2 anymore, I upgraded to the Sensation, and i would LOVE to see this on there!

Thanks for not forgotten Windows Mobile 6.5. I am so grateful to see some continue development on this.
A great project, thanks for our big Bro... 謝謝老大。

Great work Mate....
I will flash win6.5 again just to check this....

I might move back to Windows!! Thanks for the great work Cotulla!

Brillant !
I try it with a mouse, it"s fine.
And this evening, I'll try with a 1 Tera mass storage.
A HD2 with 1 To : Where are all the challengers from any brand ?

done a little 5 euro donation (i'm a student and i'm very poor...but i appreciate your hard work!!!)
GO GO GO Cotulla, we hope in a USB Host in Android too, a new MAGLDR, and a Mango 7720 build for our HD2

Thank you for your hard work! What software do I need to connect a mouse? I don't see cursor. USB HDD and keyboard works fine.
For me - USB Stick conflicts with microSD card. If I remove it and reboot, USB Stick works. Else USB Stick not detected.

Wow, the awesomeness of this is too awesome to describe. Very good work Cotulla! I wish I had a HD2 now

Very good work. Congratulations.

The linux of wince htc kernel has had USB host support for a long time now. You don't need to revert to WM6.5
Aim for OP is to do that on Winmo.

Cotulla is king
Thanks for developing. Do you have plan start usb host on android ?

It is only for HD2 or will this work too on Acer Neotouch S200?

Any one tried to connect gamepads? Il try if i get one from my friend. Is gamepad.hid working with leo?
Sent from my HTC Desire HD 2 using XDA App

Man you're a genius!

Related

Connect Universal directly to 80GB Mobile Hard Drive?

Is there any way to connect the Universal Directly to a mobile hard drive?.
to be more precise, to this one:
http://www.lacie.com/products/product.htm?pid=10669
Not Directly NO. The Universal does not have the USB Host hardware required to attach this kind of thing.
Take a look at this...
http://www.toshiba.co.jp/about/press/2002_10/pr0902.htm
Forget wires
Regards
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
[/img]
interesting...
but anyways there could be a kind of "piece of hardware" bewtween HD and Universal that makes the USB host function.. or maybe I am a bit lost..
gooroo said:
Take a look at this...
http://www.toshiba.co.jp/about/press/2002_10/pr0902.htm
Forget wires
Regards
Click to expand...
Click to collapse
Universal has WIFI so youd be better off just mapping a network drive or something rather than using bluetooth which is very slow.
jimcl said:
interesting...
but anyways there could be a kind of "piece of hardware" bewtween HD and Universal that makes the USB host function.. or maybe I am a bit lost..
Click to expand...
Click to collapse
That would be a PC Its certainly possible that somebody could make a card for the SDIO slot that would support USB Hosting but I am not aware of one.
Better wait for cheaper 4 gigabytes sd cards
Hi jimcl,
You have the same idea as me! I was thinking of hooking up my external 60GB HDD to my Exec using just a normal camera USB cable. As you have thought, it didn't work. Wouldn't it be great if things just works the way we wanna them to be?
I assume that if it works, the battery on your Exec will dry up very quickly as the HDD draws its power from it.
Anyway, if you find anything that allows you to do that, please post it out here and share it with everyone!
Cheers!
Regards,
Johnnie
Wifi would be much better, and is already available, but they are not designed for mobile use, mains supply required.
SDIO to USB is, I think is in the pipeline, but prehaps a better solution would be SDIO to Wired Ethernet, more likely to find this for PDA's with no Wifi, and USB/Ethernet hard drives are available now. Although ethernet drives still require mains supply but USB ones would suck power to quick from the host
I think we will see host controllers as standard in future PDAs.
I know the 5Gb is not particulary good on the Toshiba device, but I doubt it will be long before the capacity increases.
I must admit, SD/MMC cards are a better way to go and I think 8gb is in the pipeline now and prices will drop over time.
of course I'll share the solution... in case I find it!
I more or less agree with all your comments... but sometimes we just want to work with the things we have, ... I already have a mobile hard drive. That's all.
Apart from 4GB SD cards - and future 8GB - maybe we could find a solution in the WIFI way, but anyways 8GB SD card sounds great - maybe not its price..
If your looking for a solution for home or car try the asus WL-HDD wireless access point / hard drive
I picked one up off ebay for 50ukp with a 60 gig drive in it,
Also lets you copy stuff from other usb devices to the hard drive (without a pc) or share other usb devices over the wireless (with new firmware from asus).
http://reviews.cnet.com/Asus_WL_HDD_2_5/4505-3382_7-31080278-2.html?tag=nav
Power wise it needs 5v @ 2 amps
Being linux based there is also some hacked firmware that will let you use other usb devices or turn it into a webserver and other things..
http://wl500g.info/
currently selling in the uk without drive for around 36ukp (scan)
RE
Yes, you can connect the Universal to the hard disk directly WITHOUT going through a router/access point using Wi-Drive, here:-
http://www.edslab.com/products.htm
Spoken to the developer 2 days back and was told that it'll be ready this coming August. It'll be released with a 30GB hard disk as this will be more affordable to the public. If you need higher capacity hard disk you'll need to install it yourself.

Presentation using a HTC TyTN?

Guys
Has anyone been able to connect HTC to a projector and give a presentation e.g. present a powerpoint deck?
- JoKer
I haven't tried this, but you might need a screen scaler like NYDITOT Virtual Display...
goestoeleven said:
I haven't tried this, but you might need a screen scaler like NYDITOT Virtual Display...
Click to expand...
Click to collapse
You da man!! Seems like an awesome software .. However, what kind of cable you would need .. because HTC TyTN is only mini-USB but the projector would need a monitor cable ..
Best guess on the cable at this stage: "Google is your Friend...." :wink:
Ok that google is your friend, but do you know what is the cable. Because here whe are talking about a output image to other device, this is possible using a cable, wich one. I know that is some new projectors that have a bluetooth connection and one sd connector (too expensive) that do this. But i havent head nothing about cable connection.
medicor said:
Ok that google is your friend, but do you know what is the cable. Because here whe are talking about a output image to other device, this is possible using a cable, wich one. I know that is some new projectors that have a bluetooth connection and one sd connector (too expensive) that do this. But i havent head nothing about cable connection.
Click to expand...
Click to collapse
Basically, a mini-USB to VGA converter. Also, "NYDITOT Virtual Display" is for connecting to an external display but what's the point of the software really without a cable?
Sorry bud, but I haven't seen any external mini-USB adapters to date.
Frankly, I think you're much better off presenting off of a laptop, but that's my opinion.
I found this old article; maybe it will help point you in the right direction:
http://www.mobiletechreview.com/tips/margi_presenter.htm
The company they refer to nolonger makes hardware...
Sorry bud, but I haven't seen any external video / mini-USB adapters to date.
Frankly, I think you're much better off presenting off of a laptop, but that's my opinion.
I found this old article; maybe it will help point you in the right direction:
http://www.mobiletechreview.com/tips/margi_presenter.htm
The company they refer to nolonger makes hardware...
I found this one, which requires a miniSD (also won't work on the TyTN):
http://www.conduits.com/company_news.asp?pr20060822.html
I'm afraid you're probably ahead of the market in your requirements...
ok follow the condius news and know the sdv product
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
http://www.spectec.com.tw/en/sdv-840.htm
not a microsd!
wonder our hermes microsd slot is a sdio slot?
I could be wrong but I don't think MicroSD slots are SDIO... The slot is too small and the cards too flimsy to support any time of external dongle.
yes i think so!
but it could be wrong
http://www.expansys.com/product.asp?code=139433&tab=1
hope it is a sdio
vua777 said:
yes i think so!
but it could be wrong
http://www.expansys.com/product.asp?code=139433&tab=1
hope it is a sdio
Click to expand...
Click to collapse
Awesome vua777. Nice find. Can't wait fot it to get released. Then I wouldnt need my laptop anymore.
[edit] WTF .. "The Video-To-Go micro SD Card allows Pocket PC users with micro SD (TransFlash) slots to connect their digital projectors or other displays to the PDA (micro SD to SD adaptor also included in the box). Please note: This product does not convert the screen’s image into a VGA video signal." .. what does that mean?
goestoeleven said:
I'm afraid you're probably ahead of the market in your requirements...
Click to expand...
Click to collapse
goestoeleven... Thanks for the compliment. 8) People like me define the future of the technology with their twisted needs .. :twisted:
Well I'm glad somebody is going to be producing one of these... I do hope it's sturdy enough to get through a couple presentations, too!
Best of luck!
PS. I think my initial comment still applies -- you're going to need a screen scaler to work with this device (otherwise, your presentation will be 320x240 resolution!)
PPS. I haven't found any information that says the MicroSD slot is SDIO compatible (and I have no way of testing)... I hope it is though!
Pocket Controller is your solution.. works when connects any PPC to the PC using USB-Activesync...
Sorry for the time to reply...
Nyditot works in you TyTn? i need a Hard Reset every time I tried to change the resolution...
What you can do is buy a usb to vga converter, then buy a cable to can convert the usb to mini usb and your all set. Then you just need the software for the resolution.
Marcello7x said:
What you can do is buy a usb to vga converter, then buy a cable to can convert the usb to mini usb and your all set. Then you just need the software for the resolution.
Click to expand...
Click to collapse
You're kidding, right?
This this:
http://www.spectec.com.tw/sdv842.htm
I saw them at CES and they have lots of SDIO products. They were using the a prototype when I was there. It was Micro SD but I did not recognize the phone. It definitely not a states phone.
It worked well though.
Ever heard about that?
Yesterday I received my ShowMate (http://www.impatica.com/showmate/). It is a bluetooth/vga adapter. So far it is working pretty good, but didn't had enough time for hardcore-testing.
But you have to know that you need a software on your pc to convert your ppt's. And you also need a software to project (and resize) your converted presentations.
There is also another bluetooth adapter
http://www.infrablue.co.uk/index.php?a=irmabluetooth
I think, you also need software to convert your presentations for this adapter.
Impatica is currently working on a solution to show your hole ppc-screen as you can only show the presentations with the current releases.

USB Host (TESTERS THREAD)

Hello everyone,
I know this has come up before, but now I think it's time to start actually testing this!
I've found a cable on ebay http://cgi.ebay.co.uk/Micro-USB-Host-OTG-Cable-for-Palm-Treo-800W-data-sync_W0QQitemZ260524857077QQcmdZViewItemQQptZLH_DefaultDomain_0?hash=item3ca87dd6f5
Also, in this thread http://forum.xda-developers.com/showthread.php?t=480899&page=17
There seems to be confirmation that HD2 has the right files to make this work, so what am I missing?
UPDATE: I found this quote on a Modaco forum
What's odd is that when I use my host cable, it does detect that I'm trying to use the car kit, so I suspect it does have some support, but nothing generic... more to come..
Click to expand...
Click to collapse
- Hmmm, thoughts anyone?
Thanks!
Hey,
Please report after receiving it!!! This is great to know man!!!
Thanks a lot!
hTC service manuals (just look at the Diamond series service manual) depict a y-cable.
This is a cable where you can plug in a power supply, your device and the cardreader.
The powersupply is necessary because hTC devices don't have a power output.
I doubt if the standard treo cable works on a hTC.
I'm holding this cable in my hands right now.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What do I do now? I have a USB memory stick that would be nice to be able to read for instance.
You only have to wait for my ROM (or another one that includes Qualcomm's USB Host drivers) to come out and...
TEST, TEST, TEST!
Ok, too bad. I thought it would be possible to install drivers separately.
Did you try these drivers from Zeno USB Host drivers topic?
http://rapidshare.de/files/45220151/__Zeno_USB_Host_Drivers_v6.0a.rar.html
Thanks for the drivers. I installed them but unfortunately my USB memory stick isn't detected. I wonder if my cable is OK though... when I insert it the NAVIPANEL starts. I've disabled the automatic startup of Navipanel but all programs are in landscape when the USB cable is inserted.
Tubgirl said:
Thanks for the drivers. I installed them but unfortunately my USB memory stick isn't detected. I wonder if my cable is OK though... when I insert it the NAVIPANEL starts. I've disabled the automatic startup of Navipanel but all programs are in landscape when the USB cable is inserted.
Click to expand...
Click to collapse
No wonder, the stick isn't getting any power (as I told in the third post)..
true !
try using a external powered usb hub in the middle.
the-equinoxe said:
No wonder, the stick isn't getting any power (as I told in the third post)..
Click to expand...
Click to collapse
If that's the case it's pretty useless with the USB host function. Then I'd rather do whatever I want on a computer instead if it's nearby anyways.
the-equinoxe said:
hTC service manuals (just look at the Diamond series service manual) depict a y-cable.
This is a cable where you can plug in a power supply, your device and the cardreader.
The powersupply is necessary because hTC devices don't have a power output.
I doubt if the standard treo cable works on a hTC.
Click to expand...
Click to collapse
Well, for starters the Diamond uses extUSB while the HD2 uses a standard microUSB. So the Diamond service manual is pretty useless in this case!
So don't try and mislead people here, chances are high the USB-host function can be used in the HD2 with the appropriate drivers.
Tubgirl, have you tried installing these drivers? http://forum.xda-developers.com/showthread.php?t=480899
Please let us know!
I have tried the Zeno drivers and they don't work with my cable.
Tubgirl said:
If that's the case it's pretty useless with the USB host function. Then I'd rather do whatever I want on a computer instead if it's nearby anyways.
Click to expand...
Click to collapse
I mostly agree with this, but you can get portable USB power supplies. I've got 2 of them for when I use my phone for watching vids, playing games and listening to music on long journeys. They take rechargable AA or AAA batteries, so with the correct adapter, they could power a USB device, without the need for a plug socket.
USB devices need ~ 5V of power and I read somewhere that the output power of the HD2 is limited to 100mA.. not much to make most of the usb devices work.
Xeon said:
USB devices need ~ 5V of power and I read somewhere that the output power of the HD2 is limited to 100mA.. not much to make most of the usb devices work.
Click to expand...
Click to collapse
Not sure what those USB battery powered chargers output, but that's a good point. I'll keep my arse shut next time I want to make a suggestion
johncmolyneux said:
Not sure what those USB battery powered chargers output, but that's a good point. I'll keep my arse shut next time I want to make a suggestion
Click to expand...
Click to collapse
Usually 5-5.5V and up to 2000mA.
I play around with USB alot. Will look into it also. Got to get the cable first, or anyone with the microusb pinouts?
ahdai said:
Usually 5-5.5V and up to 2000mA.
I play around with USB alot. Will look into it also. Got to get the cable first, or anyone with the microusb pinouts?
Click to expand...
Click to collapse
Maybe it was my mouth and not my arse then I've got a couple. One takes 2 AA and one takes 4 AAA, so they're capable of putting out a decent amount. Whether they do or not is obviously a different matter.
turt said:
Well, for starters the Diamond uses extUSB while the HD2 uses a standard microUSB. So the Diamond service manual is pretty useless in this case!
So don't try and mislead people here, chances are high the USB-host function can be used in the HD2 with the appropriate drivers.
Tubgirl, have you tried installing these drivers? http://forum.xda-developers.com/showthread.php?t=480899
Please let us know!
Click to expand...
Click to collapse
The Y-usb CABLE used for the Diamond isn't extUSB..
I am not MISLEADING but INFORMING that every USB device needs POWER.
This power won't come from your device, but from an external source, hence you need a Y cable to provide the power.
This is how the hardware was build, has nothing to do with drivers or software.
But please, keep being thickheaded and insist in your irrational delusion that your device is able to power external devices through USB...
EqX
the-equinoxe said:
The Y-usb CABLE used for the Diamond isn't extUSB..
I am not MISLEADING but INFORMING that every USB device needs POWER.
This power won't come from your device, but from an external source, hence you need a Y cable to provide the power.
This is how the hardware was build, has nothing to do with drivers or software.
But please, keep being thickheaded and insist in your irrational delusion that your device is able to power external devices through USB...
EqX
Click to expand...
Click to collapse
If this is true, how come the Toshiba TG01 which has the same chipset and uses the same cable for USB host, can run various devices such as USB stick, HDD, Gampad? It does not require a seperate power source.

[KERNEL][ICS-CM9] USB Host mode (OTG) driver for Captivate [BUILD 5]

USB Host mode driver for Samsung Captivate
Also available on the Samsung Galaxy S and Nexus S​
(main post and more info at the SGS dev site)​
Disclaimer: This kernel will enable some very early, and rough usb OTG support for your phone. Currently the phone DOES NOT give out power, so you NEED an external power source to be able to use this kernel. This is true for ALL USB devices, even with those that have their own power source, and doesn't requre external bus powering. Solving this limitation is a TODO, but we cannot guarantee anything. There are some other phones that have usb host support the same way this kernel has (eg. they need external power), like the Nexus One, and there is also a community using this, so if you're saying that usb host support has no sense if you need an external power source then you are definitely mistaken.
This kernel is built upon teamhacksung's ICS Build 14 kernel, and will only work with that particular ROM (and possibly later versions of it). It is possible to port this to older ROMs (like CM7, or stock Gingerbread). Ask your favourite kernel developer to do this for you.
Credits goes to:
The misterious guy at Samsung(?) called chul2 for the original s3c host drivers
Kevin Hester (kevinh, probably also nicknamed geeksville, punkgeek and humcycles) for fixing the s3c host driver for the Samsung Galaxy Tab
Ever kernel developer at teamhacksung for bringing ICS goodness to Galaxy S
This is a very early, and very rough usb host support. Expect crashes, freezes and things that are not working! You will also need external power (probably through a Y-cable or a powered usb hub, see the device connection guide below). Also make sure you are only using USB 2.0 (high-speed) devices. The driver does has some quirks with USB 1.x low-speed and full-speed devices, like mice, keyboards and similar things. Read the FAQ for more information about them. And of course it doesn't work with USB 3.0 (super-speed) devices.
Device connection guide:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
FAQ: see post 2 at SGS
ChangeLog: see post 3 at SGS
Developer notes: see post 4 at SGS
Download links: see post 6 at SGS
Usb Host Controller: see it's own topic
New member dim319 tested it, and said it's working:
awesome ,dude
i saw this coming , really nice feature!
Nice work!
Where is the download link? Can't find it looked everywhere.
Sent from my SGH-I897 using XDA App
FireFriend said:
Where is the download link? Can't find it looked everywhere.
Sent from my SGH-I897 using XDA App
Click to expand...
Click to collapse
Fixed the links
Awesome thanks you I'll let you know if it works.
Cheers Mate.
Sent from my SGH-I897 using XDA App
Build 4
Build 4 released
Has USB 1.x support for mice, keyboards, gamepads and such.
DL: http://forum.xda-developers.com/showpost.php?p=21503469&postcount=6
sztupy said:
Build 4 released
Has USB 1.x support for mice, keyboards, gamepads and such.
DL: http://forum.xda-developers.com/showpost.php?p=21503469&postcount=6
Click to expand...
Click to collapse
Really cool to see how this works. Have you looked at how it is built into cm7 for the sgs2 by chance. On the sgs2 you do not need an external power source/hub to run a USB thumb drive. Curious if it could be set up the same for the cappy? Neat work your doing here. I had briefly spoken to Atinm a while back once we got it for the sgs2 and he basically said they had never looked into it for the cappy. Look forward to see how this progresses. Thanks
Sent from My KickAss CM7 Captivate
Build 5 released
ChangeLog
Added ability to turn charging on/off while the USB is connected
Added ability to change the Host mode driver. Currently three drivers are present: S3C High-speed (the default), S3C Low-speed/Full-speed (this disables USB 2 mode. Use this if you want to have USB 1 compatibility), and DWC (a separate driver for the same OTG specification, that will probably get into upstream)
Fixed some small issues regarding cleanup after cable is disconnected
The DWC driver does NOT yet work, it will probably crash your phone if you try to use it. I however hope that I will be able to fix it. The other two drivers work well of course. Note that you have to turn off host mode if you want to change the driver (then turn it back on).
Also note that to change the charging mode you have to unplug every cable from the phone before changing the charging mode. In ICS it seems that the small battery icon on the top and the lock screen will still say the phone is charging, but the battery menu in the settings will properly tell you they are mistaken and the battery does not charge indeed.
Usb Host Controller has also changed to version 0.2.
I made a separate thread for it: http://forum.xda-developers.com/showthread.php?t=1468531
Changes include stability fixes, a new icon, support for the new features mentioned above (changing drivers, disabling charger, etc.) and two nice commands:
Reset USB device
Re-read partition table
The latter command should probably solve a few issues where the flash drive was recognized, but there were no partitions to mount. It also solves the issues of connecting other Android devices. (Simply re-read the partition table after you have enabled usb mass storage mode on the other android, and you will be able to get files from the other phone too)
Excellent! thank you!
Got a cheap OTG cable off of eBay and spliced in the power wires from an other USB cable. Was able to see and copy from the thumb drive and also was able to watch a movie directly from the drive. Was able to charge the phone during the same time.
Next up is to see if an Ant+ receiver will work.
ROM: Dark Night 5.5
Kernal: Devil3_0.79_cappy

USB OTG to our GT540

Hello !
i have one question to developers...
do we have usb host /otg compiled in any of our kernels?
seems that p500 users managed to get it eventually work
thread about that
if not, can anybody compile them.
i'm ready to test kernels and so... (i'll make otg and y-cable in few days)
cheers
EDIT: ok, i cutted original lg cable, and it seemed that it already have otg enabled (pin4 and 5 are connected)
so i made y cable to provide external power, but nothing happened.. no new inputs in dmesg and apps from market also didnt make it mount. (tried with 2 diffirent usb sticks , external hdd, usb mouse...)
maybe there is something with kernel ?!? can anybody compile new kernel where is otg drivers inside , so i can test them out.
drivers what p500 users used is zte blade -s .. (bcoz it haz same cpu msm7227) (http://sven.killig.de/android/Blade/usb_host/)
Its the hardware, the USB devices like a memory stick needs power to work so the device needs external power to power to the USB device to be order to work.
Sent from my Sony Tablet S using xda premium
if you can, read my post again. i told that i've provided external power to usb stick, but nothing (i think that there is something with drivers or etc..)
hani93 said:
if you can, read my post again. i told that i've provided external power to usb stick, but nothing (i think that there is something with drivers or etc..)
Click to expand...
Click to collapse
Yes, you would have to include drivers in the kernel to make it work, like with any hardware. I don't think any of kernels available for our devices have OTG drivers, so you or someone else should compile kernel with these drivers included but that doesn't necessarily means that everything will work.
Wingrime's kernel is open source
https://github.com/wingrime/android_kernel_swift
hani93 said:
if you can, read my post again. i told that i've provided external power to usb stick, but nothing (i think that there is something with drivers or etc..)
Click to expand...
Click to collapse
let me see if i understand we need to "cook" the OTG support in some Kernel and then add the drivers to the room so they work and with the original cable we are good to go?
LtDementhial said:
let me see if i understand we need to "cook" the OTG support in some Kernel and then add the drivers to the room so they work and with the original cable we are good to go?
Click to expand...
Click to collapse
should be good, but needs testing.
i try to compile kernel with drivers in few day's.. but i have limited time right here.. i'll post results if i get something..
What about the external power though?, the LG GT540 does not have such hardware.
Unless we can get a external powered OTA USB cable, we can probably do such thing
Sent from my Sony Tablet S using xda premium
andyabc said:
What about the external power though?, the LG GT540 does not have such hardware.
Unless we can get a external powered OTA USB cable, we can probably do such thing
Sent from my Sony Tablet S using xda premium
Click to expand...
Click to collapse
you can buy them if you find (Y-splitter cable).
but i made my own.
it just needs power (5v)
eg. from pc usb port.
something like that :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
hani93 said:
you can buy them if you find (Y-splitter cable).
but i made my own.
it just needs power (5v)
eg. from pc usb port.
something like that :
Click to expand...
Click to collapse
I remember a user on YouTube called 'Blunty3000' uploaded a video over 5 months ago i assume about how to play on emulators with the nexus 7 and he had some USB cable with a power cord to use on the N7.
You don't have to use a PC USB Port, i have a HTC USB charger, you can use the USB charger for power
Sent from my Sony Tablet S using xda premium
andyabc said:
I remember a user on YouTube called 'Blunty3000' uploaded a video over 5 months ago i assume about how to play on emulators with the nexus 7 and he had some USB cable with a power cord to use on the N7.
You don't have to use a PC USB Port, i have a HTC USB charger, you can use the USB charger for power
Sent from my Sony Tablet S using xda premium
Click to expand...
Click to collapse
This is good idea

Categories

Resources