"Note the difference between the quantal version dkms-hda and the precise version of dkms-hda-lts-quantal : If you're running Ubuntu 12.10, you should use dkms-hda of quantal, whereas dkms-hda-lts-quantal of precise is for users of Ubuntu 12.04 that are running the backport kernel (the linux-image-generic-lts-quantal package)."
If you're using the 3.5 kernel you need the dkms-hda- lts-quantal package instead, quoting https:/ /wiki.ubuntu. com/Audio/ UpgradingAlsa/ DKMS
"Note the difference between the quantal version dkms-hda and the precise version of dkms-hda- lts-quantal : If you're running Ubuntu 12.10, you should use dkms-hda of quantal, whereas dkms-hda- lts-quantal of precise is for users of Ubuntu 12.04 that are running the backport kernel (the linux-image- generic- lts-quantal package)."