Here is the pinout of the connector from the front panel
CODE
1. LINE_OUT R EAR R (Red)
2. LINE_IN R Return R (WHite)
3. LINE_OUT L EAR L (Green)
4. LINEIN L Return L (Yellow)
5. MIC MIC IN (Red)
6. MIC PWR MIC VCC or MICBIAS (White)
7. GROUND GROUND (Black)
2. LINE_IN R Return R (WHite)
3. LINE_OUT L EAR L (Green)
4. LINEIN L Return L (Yellow)
5. MIC MIC IN (Red)
6. MIC PWR MIC VCC or MICBIAS (White)
7. GROUND GROUND (Black)
Below is the layout of the Motherboard