Pics please.
The older six pin hub is a sensored motor 3 phase and basic three sensor pins, one for 5v, Gnd and the third might be speed sensor. Most controllers utilise 8 or 9 pin connectors though you should be able to run the hub with the 6 if a motor cable can be used to fit.
Your main...