I'm working on a friend's HP G60-630 US laptop. It's running Ubuntu 10.04 32-bit. At first headphones weren't working with the computer so I installed the Linux-backports-modules-alsa-lucid-generic package and added this line:
options snd-hda-intel model=dell-vostro
to /etc/modprobe.d/alsa-base.conf.

The internal mic also did not work. Adding the line:
options snd-hda-intel position_fix=0 enable=yes
to alsa-base and choosing mic f in GNOME Alsa mixer fixed this issue. However, those two lines don't play nicely with each other; when both of the lines are in the file the headphones work properly but the mic does not. So, at this point, I can either have working headphones or a working mic, but not both. Anyone know how to fix this?