well those header pins are
not any kind of standard, ISO or ATX.
so that is custom work, doing that, and have done this vast times.
the M2n68 manual is clear on that, which each pin does.
but not the HP, HP does not document there super secret pins
if you read there service manual you'd have seen that.
did you first? (yes some high end workstation by HP have this like some of mine)
what is this HP Presario 6313? a relic desktop?
and old desktop?
did you really mean
HP Pavilion p6313w
Desktop PC
with a "P" and left off the P for fun? I cannot see your service tag so. must guess wild the PC true model and case size options seen on vast models of HP PC. MT, DT, SFF, USFF? or micros sized PC?
ASUS M2N68-AM PLUS
this is DIY mobo from them??? bought new in box RAW MOBO
and in same box is the manual too.
the ASUS M2n uses only fans Ausu told you in them manual;
the old PC fans are and new mobo is 4 pins
the 4 pin mobo uses a PWM<modulation pin if missing the fan is dead. lacking such modulation use a 4 pin fan only.
now truth. at HP, here is our mobo not the lick of pin out spec.
on all jacks, fan, f_panel or USB, or power switch there is NONE>
the
https://support.hp.com/us-en/document/c01925562
why not buy a new case that just works.? one with 120mm slow quite fans , spend $100 and sell the old dog HP and use proceeds to get a real modern case with real manual and pinouts told.
2009 HP.