FORUMS

Huawei To Sell Honor Smartphones Via Indian Retail Outlets

World’s fourth largest smartphone maker Huawei plans to now sell its … more

Sunday Debate: Are Smaller Bezels Better or Worth It?

Bezels have been getting smaller and smaller as the years go by, and while devices … more

LG G4 First Impressions and Unboxing – XDA TV

The latest in LG’s signature line of “G phones” has been released. … more

Galaxy S6 Weekly Shooting Challenge

Over in our forums this weekend, XDA Forum member DevonSloan has started a thread for talented … more
Post Reply Subscribe to Thread Email Thread

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

24th August 2011, 04:59 PM |#1  
OP Member
Thanks Meter: 54
 
More
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 03:42 AM. Reason: add both keyword
The Following 35 Users Say Thank You to punkgeek For This Useful Post: [ View ]
 
 
24th August 2011, 08:22 PM |#2  
Senior Member
Thanks Meter: 210
 
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, 09:19 PM |#3  
Senior Member
Thanks Meter: 9
 
More
Wait it so long

Sent from my GT-P1000 using XDA App
24th August 2011, 09:33 PM |#4  
mdalacu's Avatar
Senior Member
Flag Bucharest
Thanks Meter: 194
 
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, 10:07 PM |#5  
Senior Member
Thanks Meter: 38
 
More
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, 10:56 PM |#6  
OP Member
Thanks Meter: 54
 
More
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 ]
24th August 2011, 11:06 PM |#7  
OP Member
Thanks Meter: 54
 
More
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, 12:09 AM |#8  
Junior Member
Thanks Meter: 3
 
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, 12:34 AM |#9  
OP Member
Thanks Meter: 54
 
More
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, 06:13 AM |#10  
debernardis's Avatar
Senior Member
Flag Acireale, Sicily
Thanks Meter: 125
 
More
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