Several years ago, for fun, I built myself a belt driven ceiling fan from a couple of old fans. A year ago the motor went out so I visited a local fan shop and bought a used fan motor, no brand name. The 9 pin plug on the motor fit the 9 pin plug on the switch but gave me only one speed because the wires are different in number and pin location. So here is what I have: the motor has 6 wires. They are black, white and also red, yellow, brown and purple. Measuring resistance from white or black to anything gives an open circuit. Red to yellow gives 650 ohms and brown to purple gives 575 ohms. Note- 3 wire capacitor.

Question: how to arrange the connections to the pull chain switch? Thank you.