as root, edit your /etc/alsa-base.conf
file with the text editor of your choice and add the following line
options snd-hda-intel model=hp-dv5
reboot and check your microphone...
Recently I had a similar problem and this solution worked for me...good luck!
FYI, you can find a complete guide to sound card related problems here