Pinouts of various connectors/docks:
USB OTG
[1]
[2]
USB OTG + charger
[1]
[1b]
[2]
[2b]
[3]