Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
fordhighlander
Old
(Last edited by fordhighlander; 30th August 2011 at 01:59 PM.) Reason: photos, update
#1  
Junior Member - OP
Thanks Meter 6
Posts: 19
Join Date: Dec 2010
Location: Byron Center
Talking USB host/HID interface

Here is a companion device for those already using the the Webtop hack.

http://forum.xda-developers.com/show....php?t=1199443

It's the same OTG USB hub hack used with the Atrix, just wanted to share my setup and testing. So far it works excellent.

Right now, I have a USB keyboard and mouse, a FAT32 flashdrive, and a FAT32 external HDD all hooked up the the hub, and I'm watching a movie
off the HDD.

The basic theory of operation is that in micro usb connectors there is a fifth pin, actually the 4th over in a schematic. That pin is actually the ID pin, when its state changes it indicates to the phone that it USB mode is changing. In our case, we ground it, telling the phone to go into host mode. Now because the phone cant supply power to the USB device, we have the red jumper wire on the hub itself. This is effectively bridging the +5 from the power supply to the phone.

It should be noted that as of this post, i have only tested FAT32 formatted drives with this setup.
I'm working with a friend at the moment on an NTFS module, so the Photon can utilize NTFS drives.

Now, my setup looks a bit off because my connectors are on order and the one in the pictures, is one I cut out of a motorola cable. So it doesn't look pretty, but works great.

Attached Thumbnails
Click image for larger version

Name:	2011-08-29_10-55-47_308.jpg
Views:	1225
Size:	94.0 KB
ID:	704781   Click image for larger version

Name:	2011-08-29_10-56-51_885.jpg
Views:	1058
Size:	89.7 KB
ID:	704782   Click image for larger version

Name:	2011-08-29_10-54-51_745.jpg
Views:	1144
Size:	93.8 KB
ID:	704783   Click image for larger version

Name:	2011-08-29_10-56-58_811.jpg
Views:	965
Size:	96.1 KB
ID:	704784  
Current:
Motorola Photon 4G - Running JokerStock 1.3 OC/EXT4 - This sucker SCREAMS!!
Huawei Ideos S7 (Model 104) - Froyo Stable 1.2

Retired:
Samsung Epic 4G (Sprint) 2011 ACS 1.2 and Supernova 3.1
Motorola Droid original (Verizon) 2009 - 2011 2.3 custom by peter
Samsung Eternity (ATT) SIM unlock 2008 - 2009
The Following 3 Users Say Thank You to fordhighlander For This Useful Post: [ Click to Expand ]
 
brianez21
Old
#2  
brianez21's Avatar
Member
Thanks Meter 32
Posts: 86
Join Date: Feb 2010
Great job!
Current phone: Samsung Galaxy Nexus (Sprint)
Previous phones: Motorola Photon 4G (Sprint); HTC Google Nexus One (T-Mobile)
Current tablet: HP TouchPad 32GB (CM9)
 
jguevara4854
Old
(Last edited by jguevara4854; 7th September 2011 at 05:27 AM.)
#3  
Member
Thanks Meter 3
Posts: 41
Join Date: Jul 2010
What type of usb hub can I use? does it have to have usb 2.0 or 3.1? Does it have to have ac adapter? Can I use a usb host cable otg instead of a micro usb and does it make a difference?

Thanks in advanced!

Sent from my MB855 using xda premium
 
fordhighlander
Old
#4  
Junior Member - OP
Thanks Meter 6
Posts: 19
Join Date: Dec 2010
Location: Byron Center
Quote:
Originally Posted by jguevara4854 View Post
What type of usb hub can I use? does it have to have usb 2.0 or 3.1? Does it have to have ac adapter? Can I use a usb host cable otg instead of a micro usb and does it make a difference?

Thanks in advanced!

Sent from my MB855 using xda premium
It can be any powered hub, if you plan to use an external HDD with it you should make sure the power supply for the hub is at least 2 amps. For now its only USB 2.0, USB 3 isnt compatible. I modified a stock USB micro cable, but you can but a OTG cable that will work with this setup. Like the link below, that is a OTG adapter. Also, the hub would need a few modifications, like i was talking about at the top.


http://www.amazon.com/USB-Micro-Fema..._sim_dbs_cps_2
Current:
Motorola Photon 4G - Running JokerStock 1.3 OC/EXT4 - This sucker SCREAMS!!
Huawei Ideos S7 (Model 104) - Froyo Stable 1.2

Retired:
Samsung Epic 4G (Sprint) 2011 ACS 1.2 and Supernova 3.1
Motorola Droid original (Verizon) 2009 - 2011 2.3 custom by peter
Samsung Eternity (ATT) SIM unlock 2008 - 2009
The Following User Says Thank You to fordhighlander For This Useful Post: [ Click to Expand ]
 
jguevara4854
Old
#5  
Member
Thanks Meter 3
Posts: 41
Join Date: Jul 2010
You guys rock

Sent from my MB855 using xda premium
 
twospirits
Old
#6  
twospirits's Avatar
Senior Member
Thanks Meter 81
Posts: 348
Join Date: Nov 2007
Location: NYC
Nice work.

TS
Members, want to make this place better, just ask the staff. Remember, the "No' is always there, you are just looking for the "Yes". and please read the Guidelines

Google plus user
 
jguevara4854
Old
#7  
Member
Thanks Meter 3
Posts: 41
Join Date: Jul 2010
This is what I've done... not sure if I did it right. Pls run a quick look see if I did?

Thanks in advanced.

Sent from my MB855 using xda premium
Attached Thumbnails
Click image for larger version

Name:	uploadfromtaptalk1316135477080.jpg
Views:	512
Size:	69.1 KB
ID:	721006  
 
jguevara4854
Old
#8  
Member
Thanks Meter 3
Posts: 41
Join Date: Jul 2010
Connected a phat32 hdd and mouse and keyboard non seem to work. My set up is usb to otg micro and judging from my soldering skills you can clearly see I added a white cable to jump from power to usb.

Sent from my MB855 using xda premium
 
fordhighlander
Old
#9  
Junior Member - OP
Thanks Meter 6
Posts: 19
Join Date: Dec 2010
Location: Byron Center
You may want to check your OTG cable. If its not set up properly it will not function. The un-used pin in the micro connector must be grounded. Ive noticed not all the cables you can buy are quite right. Thats why i build my own. I hope to get up rev 2 tomorrow...a bit more in depth. Maybe i can shed some more light on the issue...

Sent from my MB855 using xda premium
Current:
Motorola Photon 4G - Running JokerStock 1.3 OC/EXT4 - This sucker SCREAMS!!
Huawei Ideos S7 (Model 104) - Froyo Stable 1.2

Retired:
Samsung Epic 4G (Sprint) 2011 ACS 1.2 and Supernova 3.1
Motorola Droid original (Verizon) 2009 - 2011 2.3 custom by peter
Samsung Eternity (ATT) SIM unlock 2008 - 2009
The Following User Says Thank You to fordhighlander For This Useful Post: [ Click to Expand ]
 
coachclass
Old
#10  
Senior Member
Thanks Meter 4
Posts: 107
Join Date: Jun 2011
Thanks for looking into this.

So, once you've mod a USB hub, are you using a cable that is <male micro USB to female USB A>?

I've not seen that before. Usually, USB cables that have a micro USB on one end will have a male USB A on the other, not a female. I did a quick search and couldn't really find any <male micro USB to female USB A> cables. I also didn't see any female A to female A cables that would allow for the same thing.

Please elaborate, thanks.

Edit: oh, maybe you use a USB 2.0 A to Micro B Female / Male Adaptor?

 
Post Reply+
Tags
hid, host, photon, usb
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...