If you still have the case for the HP, trace the wires from the power button, reset button, and LED to the connector, and then you'll determine where the wires connect to.
If you don't have the case, you can simply do a trial and error routine using a flathead screwdriver, or similar tool to find the PWR and Reset pins.