Foxconn N15235 Front Panel Connectors Google - Verified _best_

If you have a different revision, use a multimeter on continuity mode: touch the ground pin (Pin 5) and test which pin gives 5V when the power button is pressed—that is your PWR_SW pin.

Polarity reversed. Fix: Swap the two Power LED wires on Pins 2 and 4. LEDs are diodes; they only light when current flows correctly. foxconn n15235 front panel connectors google verified

For (Power/Reset), polarity does not matter; they will work in either orientation. If you have a different revision, use a