[KERNEL][ICS-CM9 or JVU] USB Host mode (OTG) driver for SGS i9000 [BUILD 5]

AdamOutler

Retired Senior Recognized Developer
Feb 18, 2011
5,224
9,808
0
Miami, Fl̨̞̲̟̦̀̈̃͛҃҅͟orida
sztupy there is a large set of registers which can be triggered by the kernel in the FSA92xx chip... The FSA92xx is the chip which senses resistance like short for OTG or 301kohms for Download Mode. This set of registers controls all parameters. there is a "Switch I/O Voltage" which looks interesting.. "All other pins" is 5V.

I have set them off once before and lit an LED very brightly by accident.

If you'd like to contact me via PM or google talk, I can work with you and test things via UART in order to attempt to get the USB 5V working. I can set these registers manually.

I very much want to get my Arduino ADK working so I can do cool stuff with the Host controller. Lets work this thing out. Maybe you can help get this mod spread to the Captivate as well :)

Attached to this post is the FSA92xx full documentation : http://forum.xda-developers.com/attachment.php?attachmentid=861878&stc=1&d=1326863728
 

Attachments

  • Like
Reactions: sztupy

coooolboyz

Member
Jun 23, 2010
45
8
0
London
sztupy there is a large set of registers which can be triggered by the kernel in the FSA92xx chip... The FSA92xx is the chip which senses resistance like short for OTG or 301kohms for Download Mode. This set of registers controls all parameters. there is a "Switch I/O Voltage" which looks interesting.. "All other pins" is 5V.

I have set them off once before and lit an LED very brightly by accident.

If you'd like to contact me via PM or google talk, I can work with you and test things via UART in order to attempt to get the USB 5V working. I can set these registers manually.

I very much want to get my Arduino ADK working so I can do cool stuff with the Host controller. Lets work this thing out. Maybe you can help get this mod spread to the Captivate as well :)

Attached to this post is the FSA92xx full documentation : http://forum.xda-developers.com/attachment.php?attachmentid=861878&stc=1&d=1326863728
So does it mean that it is possible to achieve true USB OTG [i.e., without the need of powered USB HUB] on SGS?

It would be good to have this!! From the specs for SGS' motherboard it does seem to support true OTG. And with the ability to read from an NTFS formatted drive, the possibilities are limitless!! We will hit truly unlimited storage on this phone!
 

sztupy

Inactive Recognized Developer
Dec 21, 2008
1,061
876
0
London
sztupy.hu
  • Like
Reactions: qwerty875

sztupy

Inactive Recognized Developer
Dec 21, 2008
1,061
876
0
London
sztupy.hu
sztupy there is a large set of registers which can be triggered by the kernel in the FSA92xx chip... The FSA92xx is the chip which senses resistance like short for OTG or 301kohms for Download Mode. This set of registers controls all parameters. there is a "Switch I/O Voltage" which looks interesting.. "All other pins" is 5V.

I have set them off once before and lit an LED very brightly by accident.

If you'd like to contact me via PM or google talk, I can work with you and test things via UART in order to attempt to get the USB 5V working. I can set these registers manually.

I very much want to get my Arduino ADK working so I can do cool stuff with the Host controller. Lets work this thing out. Maybe you can help get this mod spread to the Captivate as well :)

Attached to this post is the FSA92xx full documentation : http://forum.xda-developers.com/attachment.php?attachmentid=861878&stc=1&d=1326863728
Thanks to the info! I'll definitely look into it. I was also thinking of getting a simple LED to light up. I also looked at the host controller of the SGS2 which is definitely the same. Someone with an SGS2 might help me checking whether it supports USB 1.x devices (OHCI mode), or not. (I don't care whether they are actually working, just need to know whether they get enumerated or not)
 
  • Like
Reactions: siky_dude

sztupy

Inactive Recognized Developer
Dec 21, 2008
1,061
876
0
London
sztupy.hu
So does it mean that it is possible to achieve true USB OTG [i.e., without the need of powered USB HUB] on SGS?

It would be good to have this!! From the specs for SGS' motherboard it does seem to support true OTG. And with the ability to read from an NTFS formatted drive, the possibilities are limitless!! We will hit truly unlimited storage on this phone!
Yep, that would me an that. Although I don't know how much power we'll get out of it (for example it might not be enough to power an external, "powerless" hard drive. But even a small power should be enough to get usb devices work, that have their own power (like large external hard drives with separate power supply or digital cameras)
 

Epic_VS

Senior Member
Dec 6, 2011
173
42
0
Hopefully this will be ported to the Nexus S. I am so excited. I will finally get expandable memory on the phone. Will the USB port be able to power a low powered usb device like a flash drive? :D:D:D

Edit-answered in faq
 
Last edited: