does it work with headphones connected? is there a red light on in the headphone port? if so, its stuck in digital audio mode... otherwise, its likely to be either a faulty with the logic board, or a possible software glitch. naturally its easier to start with the software, so try doing a clean install (on an external drive if you don't want to do one on your internal drive)