5v (orange wire)
Data D- (white wire)
Data D+ (green wire)
and Ground (gray wire),
Last (pin5) is not used.

Picture 1

It shows two ports, but of course one (port A) is also a possibility.
When you using a external usb hub, one with a adapter connected to it, then it could be wise not to connect the 5v pin from the motherboard, it may not harm when it's connected, but just to be sure.
As for the resistors, these are often not present, but just to be sure you should check it.
One resistor present is enough to disable both (A/B) ports.

Picture 2

Dc to Dc converters...

Picture 3




DM8000, DM800se, DM500HD, DM800HD, DM7025, DM7020s, DM7000, DM500s
VU+ Solo, VU+ Uno, VU+ Duo, Kathrein UFS910
Tivusat, TNTSat, Fransat, SSR/TSR, BBC1-2-3/ITV
DE-OpenBlackHole 1.4 image : http://www.openblackhole.com/