Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,738,867 Members 41,374 Now Online
XDA Developers Android and Mobile Development Forum

[HACKING] USB Host Driver For Ext HDD

Tip us?
 
coooolboyz
Old
(Last edited by coooolboyz; 25th June 2010 at 12:36 PM.) Reason: Case Correction
#1  
Member - OP
Thanks Meter 8
Posts: 40
Join Date: Jun 2010
Location: London
Default [HACKING] USB Host Driver For Ext HDD

Samsung's press release for the processor confirmed USB host capabilities. But it doesnt look like that functionality is exposed at an OS level yet.

As done similarly for Nexus One, will it be possible to write up a driver or something like that for Samsung Galaxy S?

It would be too good to have an external HDD connected to this device!!! (That means, practically unlimited storage!!)

I know that there could be problems with power required to spin a drive, but my Creative Zen Vision M (60 GB) player had USB host (badly implemented) capabilities - and it was able to spin hard drives.

Is it worth a try with SGS?
The Following 2 Users Say Thank You to coooolboyz For This Useful Post: [ Click to Expand ]
 
coooolboyz
Old
#2  
Member - OP
Thanks Meter 8
Posts: 40
Join Date: Jun 2010
Location: London
What?? Nobody interested?
 
ash99
Old
#3  
Senior Member
Thanks Meter 47
Posts: 317
Join Date: Mar 2006
Was having a look for this same answer. Hope things have progressed a bit.
 
coooolboyz
Old
#4  
Member - OP
Thanks Meter 8
Posts: 40
Join Date: Jun 2010
Location: London
Exclamation SGS USB Host Documentation

Guess What!! I was going through the bundled "Documentation" along with the SGS i9000 code and I found this!!

Code:
Select Code
			S3C24XX USB Host support
			========================



Introduction
------------

  This document details the S3C2410/S3C2440 in-built OHCI USB host support.

Configuration
-------------

  Enable at least the following kernel options:

  menuconfig:

   Device Drivers  --->
     USB support  --->
       <*> Support for Host-side USB
       <*>   OHCI HCD support


  .config:
    CONFIG_USB
    CONFIG_USB_OHCI_HCD


  Once these options are configured, the standard set of USB device
  drivers can be configured and used.
That is very encouraging. But I haven't done any kernel compiling (hell, I haven't even done any Android coding, this being my first Android phone!!). So its gonna a be a while before I can put this to a good use.

Now, I am not sure if this is just "Host" or if it would support "OTG" also. I found the documentation on S5PC110 [Dev Sheet] a bit confusing also. It does show that the microprocessor has both HOST and OTG capabilities, but I am not sure to what the USB port has been wired to.

May be somebody can put this to a good use.
 
coooolboyz
Old
#5  
Member - OP
Thanks Meter 8
Posts: 40
Join Date: Jun 2010
Location: London
Well if this as easy as it sounds, it beats any logic whatsoever, why Samsung didn't put in this functionality out-of-the-box with SGS. This device seems severely constricted in features which the S5PC110 chip init readily supports.
 
SiL3nTKiLL
Old
#6  
Senior Member
Thanks Meter 67
Posts: 1,929
Join Date: Jun 2006
samsung are idiots lol, hopefully it works tho
Phones:
1. Galaxy S2 Skyrocket
2. iPhone 4S
Tabs:
Apple iPad 2
Galaxy Tab 10.1

The Following 2 Users Say Thank You to SiL3nTKiLL For This Useful Post: [ Click to Expand ]
 
coooolboyz
Old
#7  
Member - OP
Thanks Meter 8
Posts: 40
Join Date: Jun 2010
Location: London
Are there any apps which would tell us what exact piece of hardware we have in an Android phone?
 
futaris
Old
#8  
Member
Thanks Meter 1
Posts: 91
Join Date: Jul 2004

 
DONATE TO ME
You have a s5pc110 processor, in the Galaxy S.

Any talk about usb host drivers (for that processor / s5pc series) would probably be done on the linux-samsung-soc mailing list.
 
amir_rafie
Old
#9  
amir_rafie's Avatar
Senior Member
Thanks Meter 10
Posts: 137
Join Date: Dec 2008
+1
Really looking for this feature ,,,, very helpful ....
thanks for starting this topic ....
The Following User Says Thank You to amir_rafie For This Useful Post: [ Click to Expand ]
 
brunes
Old
#10  
Senior Member
Thanks Meter 42
Posts: 610
Join Date: Dec 2006
What do people use this feature for? I guess I am having a hard time envisioning why this would be useful on a phone.

Tags
otg, usb
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes