Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Guybrush
Old
#1  
Guybrush's Avatar
Senior Member - OP
Thanks Meter 0
Posts: 1,074
Join Date: Feb 2006
Default USB Host

anyone has tried yet usb host functionality ? I found the drivers of ETEN M600/G500 but not tried yet... processor should be the same so the trinity should support this function.
HTC p3600 white - powered by WM6 Lasagna 3.0 KE - CE 5.2.1933 (Build 18533.0.7.0)

If you appreciate all the work I'm doing for you and want to say me thanks or would like that I continue consider to donate.

[WM6 Lasagna] - [WM6 Spaghetti] - [iMedia - CM] - [SSContact]

...click here to donate...
 
Guybrush
Old
#2  
Guybrush's Avatar
Senior Member - OP
Thanks Meter 0
Posts: 1,074
Join Date: Feb 2006
Thank you for your enquiry, the p3600 was not designed to allow usb memory expansion as such there is no current or planned method to enable what you have requested.

It may be possible to find a 3rd party solution but this would not be supported by ourselves but the solution supplier.

Should you have any other problem, please do not hesitate to call us. Your Local number can be found at http://www.europe.htc.com/support/cs_by_phone.html

Best regards,
HTC Support
HTC p3600 white - powered by WM6 Lasagna 3.0 KE - CE 5.2.1933 (Build 18533.0.7.0)

If you appreciate all the work I'm doing for you and want to say me thanks or would like that I continue consider to donate.

[WM6 Lasagna] - [WM6 Spaghetti] - [iMedia - CM] - [SSContact]

...click here to donate...
 
Lurker0
Old
#3  
Senior Member
Thanks Meter 0
Posts: 221
Join Date: Sep 2006
Location: Moscow
Quote:
Originally Posted by Guybrush View Post
I found the drivers of ETEN M600/G500 but not tried yet...
Could you share either a link or the file?
HTC TyTN Russian
OS: 5.1.195 Build 14955.2.3.0
ROM: 1.18.261.1 07/22/06
Radio: 1.16.00.00
Protocol: 32.40.7010.07H
ExtROM: 1.18.261.102
 
Guybrush
Old
(Last edited by Guybrush; 30th April 2007 at 11:18 AM.)
#4  
Guybrush's Avatar
Senior Member - OP
Thanks Meter 0
Posts: 1,074
Join Date: Feb 2006
Should be this
HTC p3600 white - powered by WM6 Lasagna 3.0 KE - CE 5.2.1933 (Build 18533.0.7.0)

If you appreciate all the work I'm doing for you and want to say me thanks or would like that I continue consider to donate.

[WM6 Lasagna] - [WM6 Spaghetti] - [iMedia - CM] - [SSContact]

...click here to donate...
 
Lurker0
Old
#5  
Senior Member
Thanks Meter 0
Posts: 221
Join Date: Sep 2006
Location: Moscow
OK, I'm with Hermes, but anyway... According to the specs, E-Tens have S3C2440 while we have SC32442, but they should be the same. The schematics of the evaluation board (p.6) shows that there are two USB hosts: one from DN0/DP0 pins, the second from DN1/DP1 pins. The latter can also be configured as USB Device... and that's what we have at our MiniUSB connector.

So... if E-Ten uses the first USB Host pins, we're out of luck. If they've implemented it in shared mode, the driver should work. But I have a reason for a doubt: M600/M500 have separate I/O pins for USB host and device, while the connector itself is provided on the cradle. If they made it shared, it would be more easy to implement host/device sharing in the cradle rather than in the device...

A soldering iron may help, but I don't want to loose the warranty yet.

An owner of the Platform Builder may recompile the driver to utilize the shared pins as well. That's a better solution.

If you want to make an adapter for tests, note, that you need to supply +5V from an external power supply (which can be a PC USB port), and that you don't need to cross the pins: DN1 is D- for both host and device, and DP1 is D+ for both. Nothing but connectors and wires should be required.
HTC TyTN Russian
OS: 5.1.195 Build 14955.2.3.0
ROM: 1.18.261.1 07/22/06
Radio: 1.16.00.00
Protocol: 32.40.7010.07H
ExtROM: 1.18.261.102
 
Lurker0
Old
#6  
Senior Member
Thanks Meter 0
Posts: 221
Join Date: Sep 2006
Location: Moscow
One more note: a USB Host driver for a shared connector should shut down USB Device driver, something similar that WM5torage does. This also makes me doubt that E-Ten uses shared pins, and that's why I believe that a different driver is required.

But it should be possible!
HTC TyTN Russian
OS: 5.1.195 Build 14955.2.3.0
ROM: 1.18.261.1 07/22/06
Radio: 1.16.00.00
Protocol: 32.40.7010.07H
ExtROM: 1.18.261.102
 
Lurker0
Old
#7  
Senior Member
Thanks Meter 0
Posts: 221
Join Date: Sep 2006
Location: Moscow
OK, I've made an adaptor from MiniUSB male (to TyTN), USB A female (for devices), and MiniUSB female for power supply.

In the MiniUSB male I shorted pins 4 and 5. At least this way I can use it for charging from other power supplies, and I think it hould not harm, because pin 4 on GND means USB Host for MiniUSB.

I've installed the above drivers, and also USB Mass Storage drivers (attached).

I have a USB mouse, a card rider (4 slots), an MP3 player, and an RS232 port.

Nothing but MP3 player showed any sign of an activity in all my tests.

The MP3 player shows "MASS CONNECT" on its screen if it detects USB activity. If it does not, it just turns to normal operations, showing that it takes power from USB. It turned to this mode after I installed the attached driver. But I see no a mounted disk on TyTN itself.

So, it works somehow, and I'm almost confident it can be made to work...

Probably I just did something wrong... Who else wants to try?
Attached Files
File Type: cab usbmsc.PPC2003_ARMV4.CAB - [Click for QR Code] (38.5 KB, 245 views)
HTC TyTN Russian
OS: 5.1.195 Build 14955.2.3.0
ROM: 1.18.261.1 07/22/06
Radio: 1.16.00.00
Protocol: 32.40.7010.07H
ExtROM: 1.18.261.102
 
Lurker0
Old
#8  
Senior Member
Thanks Meter 0
Posts: 221
Join Date: Sep 2006
Location: Moscow
I must add that installed stuff didn't affect the USB Device from working: ActiveSync connects OK, and WM5torage 1.73 works as before.

Hardwarewise, there are a couple of things to try: disconnect pin 4 from GND at the phone side, disconnect power supply from the phone (providing it only to the attached device), or both...
HTC TyTN Russian
OS: 5.1.195 Build 14955.2.3.0
ROM: 1.18.261.1 07/22/06
Radio: 1.16.00.00
Protocol: 32.40.7010.07H
ExtROM: 1.18.261.102
 
Guybrush
Old
(Last edited by Guybrush; 23rd December 2006 at 02:31 PM.)
#9  
Guybrush's Avatar
Senior Member - OP
Thanks Meter 0
Posts: 1,074
Join Date: Feb 2006
i'm waiting connectors to try something by myself too. Thanks Lurker0 for all this tips.

thread about usb host from eten users

http://www.eten-users.net/index.php?showtopic=4328&st=0
HTC p3600 white - powered by WM6 Lasagna 3.0 KE - CE 5.2.1933 (Build 18533.0.7.0)

If you appreciate all the work I'm doing for you and want to say me thanks or would like that I continue consider to donate.

[WM6 Lasagna] - [WM6 Spaghetti] - [iMedia - CM] - [SSContact]

...click here to donate...
 
Lurker0
Old
(Last edited by Lurker0; 23rd December 2006 at 08:23 PM.)
#10  
Senior Member
Thanks Meter 0
Posts: 221
Join Date: Sep 2006
Location: Moscow
I ended up with a hard reset Of course I made full backup before the tests.

I've found out that GPRS stopped working. The error messages were like "Modem not found" and "The current call should be finished before data connection" (from memory and ranslated from Russian).

Then I found out that hardware settings for OHCI are wrong:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\OHCI]
"MemBase"=dword:B0900000
"Irq"=dword:0000000B
"UseExistingSettings"=dword:00000000
"MemLen"=dword:00001000
"SysIntr"=dword:00000011
"Order"=dword:00000001
"Index"=dword:00000001
"Dll"="ohci.dll"
"Prefix"="HCD"
"InterfaceType"=dword:00000000

IRQ should be 0x1A (from working registry and also Samsung datasheet), and memory base 0xB5900000.

I've deleted ohci.dll and usbd.dll, then uninstalled that HID driver to no available. I needed a working phone now, and decided to hard reset and restore.

It's strange why IRQ and MemBase were wrong. It may explain why it didn't work. Good I noticed them before tests.
HTC TyTN Russian
OS: 5.1.195 Build 14955.2.3.0
ROM: 1.18.261.1 07/22/06
Radio: 1.16.00.00
Protocol: 32.40.7010.07H
ExtROM: 1.18.261.102

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more

Jolla Sailfish OS Flagship Device Makes First Appearance

Given the amount of coverage that Android receives around here, you could almost be … more

XDA University: Porting ClockworkMod Recovery to New Devices

Having a good recovery makes the process of modifying, tweaking, maintaining, … more