Model autodetection: lspci -nn -vvv shows: 00:1b.0 Audio device [0403]: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller [8086:3a3e] Subsystem: ASUSTeK Computer Inc. Device [1043:82fe]
So this SND_PCI_QUIRK fixes it (except that it's currently relying on the temporary hack)
--- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8206,6 +8206,7 @@ static struct snd_pci_quirk alc883_cfg_tbl[] = { SND_PCI_QUIRK(0x103c, 0x2a4f, "HP Samba", ALC888_3ST_HP), SND_PCI_QUIRK(0x103c, 0x2a60, "HP Lucknow", ALC888_3ST_HP), SND_PCI_QUIRK(0x103c, 0x2a61, "HP Nettle", ALC883_6ST_DIG),
SND_PCI_QUIRK(0x1043, 0x82fe, "Asus P5Q", ALC883_6ST_DIG), SND_PCI_QUIRK(0x1043, 0x1873, "Asus M90V", ALC888_ASUS_M90V), SND_PCI_QUIRK(0x1043, 0x8249, "Asus M2A-VM HDMI",
ALC883_3ST_6ch_DIG), SND_PCI_QUIRK(0x1043, 0x835f, "Asus Eee 1601", ALC888_ASUS_EEE1601),
And here's dmesg for this (with the hda-intel.c patch reversed):
[ 8.439326] ALSA sound/pci/hda/hda_intel.c:2187: chipset global capabilities = 0x4401 [ 8.463340] ALSA sound/pci/hda/hda_intel.c:779: codec_mask = 0x3 [ 8.463452] ALSA sound/pci/hda/hda_intel.c:1206: hda_intel: codec #0 probed OK [ 8.463580] ALSA sound/pci/hda/hda_intel.c:1206: hda_intel: codec #1 probed OK [ 8.465558] ALSA sound/pci/hda/hda_codec.c:2612: hda_codec: model '6stack-dig' is selected for config 1043:82fe (Asus P5Q)