Well, looks like it just works. Kudos to Takashi Iwai. Also, now we don't need to use the "model=imac91" it is just automatic detected.
Before submit the patch I will check if we can get a preset that is independent of "automute" trick. Also, will make a .deb in my PPA so you guys can also fix it easily. This is the patch: diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 89737ae..515b8d0 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -5412,6 +5412,7 @@ static const struct snd_pci_quirk alc882_fixup_tbl[] = { SND_PCI_QUIRK(0x106b, 0x4000, "MacbookPro 5,1", ALC889_FIXUP_IMAC91_VREF), SND_PCI_QUIRK(0x106b, 0x4100, "Macmini 3,1", ALC889_FIXUP_IMAC91_VREF), SND_PCI_QUIRK(0x106b, 0x4200, "Mac Pro 5,1", ALC885_FIXUP_MACPRO_GPIO), + SND_PCI_QUIRK(0x106b, 0x4300, "iMac 9,1", ALC889_FIXUP_IMAC91_VREF), SND_PCI_QUIRK(0x106b, 0x4600, "MacbookPro 5,2", ALC889_FIXUP_IMAC91_VREF), SND_PCI_QUIRK(0x106b, 0x4900, "iMac 9,1 Aluminum", ALC889_FIXUP_IMAC91_VREF), SND_PCI_QUIRK(0x106b, 0x4a00, "Macbook 5,2", ALC889_FIXUP_IMAC91_VREF), -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-driver in Ubuntu. https://bugs.launchpad.net/bugs/1033233 Title: [iMac9,1, Realtek ALC889A, Speaker, Internal] No sound at all with kernel 3.5.0 Status in “alsa-driver” package in Ubuntu: Confirmed Bug description: This bug is a regression when upgrading from precise to quantal. The sound sounds works okay on my Mac with kernel 3.2.0-27, but there is no sound at all if I choose a 3.5.0-7 kernel, all other packages and all settings being exactly the same. This seems to prove that the problem lies within the kernel. In case it helps, in /etc/modprobe.d/alsa-base.conf, I have "options snd-hda-intel model=imac91". $ lsb_release -rd Description: Ubuntu quantal (development branch) Release: 12.10 $ apt-cache policy linux-image-3.5.0-7-generic linux-image-3.5.0-7-generic: Installé : 3.5.0-7.7 Candidat : 3.5.0-7.7 Table de version : *** 3.5.0-7.7 0 500 http://us.archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages 100 /var/lib/dpkg/status expected : the sound works happened : no sound at all ProblemType: Bug DistroRelease: Ubuntu 12.10 Package: alsa-base 1.0.25+dfsg-0ubuntu2 ProcVersionSignature: Ubuntu 3.5.0-7.7-generic 3.5.0 Uname: Linux 3.5.0-7-generic x86_64 NonfreeKernelModules: nvidia wl ApportVersion: 2.4-0ubuntu6 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: eric 2011 F.... pulseaudio Date: Sun Aug 5 17:53:32 2012 InstallationMedia: Kubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427) PackageArchitecture: all ProcEnviron: LANGUAGE= TERM=xterm PATH=(custom, no user) LANG=fr_FR.UTF-8 SHELL=/bin/bash SourcePackage: alsa-driver Symptom: audio Symptom_AlsaPlaybackTest: ALSA playback test through plughw:NVidia failed Symptom_Card: Audio intégré - HDA NVidia Symptom_DevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: eric 2011 F.... pulseaudio Symptom_Jack: Speaker, Internal Symptom_Type: No sound at all Title: [iMac9,1, Realtek ALC889A, Speaker, Internal] No sound at all UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 04/27/09 dmi.bios.vendor: Apple Inc. dmi.bios.version: IM91.88Z.008D.B08.0904271717 dmi.board.asset.tag: Base Board Asset Tag dmi.board.name: Mac-F2218EA9 dmi.board.vendor: Apple Inc. dmi.chassis.asset.tag: Asset Tag# dmi.chassis.type: 13 dmi.chassis.vendor: Apple Inc. dmi.chassis.version: Mac-F2218EA9 dmi.modalias: dmi:bvnAppleInc.:bvrIM91.88Z.008D.B08.0904271717:bd04/27/09:svnAppleInc.:pniMac9,1:pvr1.0:rvnAppleInc.:rnMac-F2218EA9:rvr:cvnAppleInc.:ct13:cvrMac-F2218EA9: dmi.product.name: iMac9,1 dmi.product.version: 1.0 dmi.sys.vendor: Apple Inc. mtime.conffile..etc.modprobe.d.alsa.base.conf: 2012-08-05T16:25:01.731390 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1033233/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp