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

[Kernel][Both] USB host mode support added (github link)

Tip us?
 
punkgeek
Old
(Last edited by punkgeek; 26th August 2011 at 03:42 AM.) Reason: add both keyword
#1  
Member - OP
Thanks Meter 54
Posts: 30
Join Date: Apr 2011
Cool [Kernel][Both] USB host mode support added (github link)

Hi ya'll,

I've just added USB host mode support for the Galaxy Tabs. ( Can some mod move this post to the Android developer forum and bless me for posting in that forum? I'm happy to answer questions/discuss but I can't post there yet because I just created this account)

[Ugh! because I have less than eight posts I can't include github links - you'll need to linkify yourself... ]

The github site is here:
github.../humcycles/galaxy-tab-modified

Documentation on the changes:
github.../humcycles/galaxy-tab-modified/blob/master/Kernel/Documentation/usb/s3c-otg-host.txt

The changelist you probably want if you are want to cherry-pick into another kernel tree:
github.../humcycles/galaxy-tab-modified/commit/99388abf98f8b8583dcfb31339c8673a9fea62bd

These changes fix a number of bugs in the Samsung host mode software but are probably not well suited for regular end users. I would recommend that developers who are generating Galaxy Tab kernels consider picking up these changes.
The Following 35 Users Say Thank You to punkgeek For This Useful Post: [ Click to Expand ]
 
pvtjoker42
Old
#2  
Senior Member
Thanks Meter 209
Posts: 1,095
Join Date: Dec 2008
https://github.com/humcycles/galaxy-tab-modified

https://github.com/humcycles/galaxy-...c-otg-host.txt

https://github.com/humcycles/galaxy-...c8673a9fea62bd

Links for the lazy..
##Devices##
HTC TouchPro (dead)
Samsung Moment (Froyo 2.2 now collecting dust)
Samsung Epic 4g (CM10 Nightlies/TWRP 2.3.1.1/NS4G modem - Retired)
Samsung Sprint Galaxy Tab (AOKP M6/CWM 5.5.0.4)
Samsung Galaxy Note II T-MO (CM11 Nightly/TWRP 2.7.1.0)
Asus Nexus 7 flo (CM11 Nightlies/TWRP 2.7

If I've helped, hit Thanks!
Get Dropbox!
The Following 6 Users Say Thank You to pvtjoker42 For This Useful Post: [ Click to Expand ]
 
zoftdev
Old
#3  
Senior Member
Thanks Meter 9
Posts: 160
Join Date: Sep 2009
Wait it so long

Sent from my GT-P1000 using XDA App
 
mdalacu
Old
#4  
mdalacu's Avatar
Senior Member
Thanks Meter 189
Posts: 857
Join Date: Dec 2006
Location: Bucharest
Does P1000 have the right hw, can it provide 5 volts to usb client or we also need a power injector (usb hub)?
History: Orange SPV c500, Qtek S200, HTC P3600, HTC Diamond, HTC TouchPro, HTC TouchPro 2, HTC HD2, Samsung Galaxy S, HTC DHD, Samsung Galaxy S2, Samsung Galaxy Note, Asus TF201, Samsung Galaxy Note 10.1, Samsung Galaxy Note 2, Samsung Galaxy N9005].
 
Mjoelnir77
Old
#5  
Senior Member
Thanks Meter 28
Posts: 113
Join Date: Aug 2011
It really works? That would be superb news! Thank you very much for investing your time in it. Can`t wait to see it in a kernel on my tab.
 
punkgeek
Old
#6  
Member - OP
Thanks Meter 54
Posts: 30
Join Date: Apr 2011
Quote:
Originally Posted by Mjoelnir77 View Post
It really works? That would be superb news! Thank you very much for investing your time in it. Can`t wait to see it in a kernel on my tab.
Yes. It works for me on a Sprint SPH-P100, but I bet it will work on all 7" tabs (the USB hw seems the same). I look forward to some other dev trying it out and letting me know how it works for them. From looking at the samsung sample code, I bet it will work on most samsung chipset based devices (certainly the S5PC100 based ones).

*** Can some mod move this thread to the Galaxy Tab Development forum and bless me for posting there? ***
The Following User Says Thank You to punkgeek For This Useful Post: [ Click to Expand ]
 
punkgeek
Old
#7  
Member - OP
Thanks Meter 54
Posts: 30
Join Date: Apr 2011
Quote:
Originally Posted by mdalacu View Post
Does P1000 have the right hw, can it provide 5 volts to usb client or we also need a power injector (usb hub)?
I bet it will also need power for the 5V USB. In the samsung code they have bits that look like it is turning on the right LDO to have power, but nothing comes out on my SPH-P100. Either the sw init needs more work, or they didn't stuff some part when they built up the units.

[ Ugh - I can only reply once every 5 mins because I don't have enough posts ]
The Following User Says Thank You to punkgeek For This Useful Post: [ Click to Expand ]
 
Blittz
Old
#8  
Junior Member
Thanks Meter 3
Posts: 23
Join Date: Apr 2011
Quote:
Originally Posted by punkgeek View Post
Yes. It works for me on a Sprint SPH-P100, but I bet it will work on all 7" tabs (the USB hw seems the same). I look forward to some other dev trying it out and letting me know how it works for them. From looking at the samsung sample code, I bet it will work on most samsung chipset based devices...
Does that mean this hasn't actually been tested on a SGT yet?
 
punkgeek
Old
#9  
Member - OP
Thanks Meter 54
Posts: 30
Join Date: Apr 2011
Quote:
Originally Posted by Blittz View Post
Does that mean this hasn't actually been tested on a SGT yet?
I've tested it on a few Sprint 7" SGT's here, but it would be great for another dev to try it in their kernel.
 
debernardis
Old
#10  
debernardis's Avatar
Senior Member
Thanks Meter 113
Posts: 440
Join Date: Jun 2011
Location: Acireale, Sicily
It is a great thing, you deserve so many thanks!...
Now what I need is a kernel with usb host and swap enabled.

The Following User Says Thank You to debernardis For This Useful Post: [ Click to Expand ]
Tags
galaxytab, usb
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes