Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP punkgeek

24th August 2011, 05:59 PM   |  #1  
OP Member
Thanks Meter: 54
 
30 posts
Join Date:Joined: Apr 2011
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.
Last edited by punkgeek; 26th August 2011 at 04:42 AM. Reason: add both keyword
The Following 35 Users Say Thank You to punkgeek For This Useful Post: [ View ]
24th August 2011, 09:22 PM   |  #2  
Senior Member
Thanks Meter: 210
 
1,098 posts
Join Date:Joined: Dec 2008
More
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..
The Following 6 Users Say Thank You to pvtjoker42 For This Useful Post: [ View ]
24th August 2011, 10:19 PM   |  #3  
Senior Member
Thanks Meter: 9
 
161 posts
Join Date:Joined: Sep 2009
Wait it so long

Sent from my GT-P1000 using XDA App
24th August 2011, 10:33 PM   |  #4  
mdalacu's Avatar
Senior Member
Flag Bucharest
Thanks Meter: 190
 
874 posts
Join Date:Joined: Dec 2006
Donate to Me
More
Does P1000 have the right hw, can it provide 5 volts to usb client or we also need a power injector (usb hub)?
24th August 2011, 11:07 PM   |  #5  
Senior Member
Thanks Meter: 30
 
119 posts
Join Date:Joined: 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.
24th August 2011, 11:56 PM   |  #6  
OP Member
Thanks Meter: 54
 
30 posts
Join Date:Joined: Apr 2011
Quote:
Originally Posted by Mjoelnir77

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: [ View ]
25th August 2011, 12:06 AM   |  #7  
OP Member
Thanks Meter: 54
 
30 posts
Join Date:Joined: Apr 2011
Quote:
Originally Posted by mdalacu

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: [ View ]
25th August 2011, 01:09 AM   |  #8  
Junior Member
Thanks Meter: 3
 
23 posts
Join Date:Joined: Apr 2011
More
Quote:
Originally Posted by punkgeek

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?
25th August 2011, 01:34 AM   |  #9  
OP Member
Thanks Meter: 54
 
30 posts
Join Date:Joined: Apr 2011
Quote:
Originally Posted by Blittz

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.
25th August 2011, 07:13 AM   |  #10  
debernardis's Avatar
Senior Member
Flag Acireale, Sicily
Thanks Meter: 118
 
457 posts
Join Date:Joined: Jun 2011
Smile
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: [ View ]
Post Reply Subscribe to Thread

Tags
galaxytab, usb
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes