Well, if you plug in an mp3 player directly into the amp, using a headphone to RCA converter cable, and you get sound out of the sub, then you know the problem is either with the RCA's from the headunit, or the headunit itself.
To check that you have signal coming out of the amp, you can plug...