Got headphone out working via hda-verb setting on MacPro1, 1
Hello,
hda-analyzer told me to write a note to this list when settings are successful.
My setup:
MacPro 1,1
Kernel 3.10.17 (gentoo sources)
ALSA k3.10.17
Had to set/usr/bin/hda-verb /dev/snd/hwC0D0 0x18 SET_PIN_WIDGET_CONTROL 0xc1 to get the headphone out at the front working.
Wrote a bit (in german) about it:
http://www.nico-beuermann.de/blogging/archives/117-Hier-gibt-es-was-auf-die-Ohren.html#extended
regards
Nicolai Beuermann
Signature · 3 lines
mailto: [email protected] online: http://www.nico-beuermann.de GnuPG Fingerabdruck: 56DA 4E32 3A4A 52AC B769 DFC2 BF3E 9805 09BB 4259
At Tue, 21 Jan 2014 01:13:03 +0100,
Quoted 10 lines · Nicolai Beuermann
Hello,
hda-analyzer told me to write a note to this list when settings are successful.My setup:
MacPro 1,1
Kernel 3.10.17 (gentoo sources)
ALSA k3.10.17
Quoted 6 lines
Had to set
/usr/bin/hda-verb/dev/snd/hwC0D00x18SET_PIN_WIDGET_CONTROL0xc1to get the headphone out at the front working.Wrote a bit (in german) about it:
http://www.nico-beuermann.de/blogging/archives/117-Hier-gibt-es-was-auf-die-Ohren.html#extended
Could you check whether 3.13 still has the same problem? If yes, please give alsa-info.sh output. Better to run it with --no-upload and attach the output.
thanks,
Takashi
At Fri, 31 Jan 2014 18:50:11 +0100,
Quoted 21 lines · Nicolai Beuermann
Am 22.01.2014 11:29, schrieb Takashi Iwai:
Quoted 19 lines
At Tue, 21 Jan 2014 01:13:03 +0100,
Quoted 16 lines · Nicolai Beuermann
Hello,
hda-analyzer told me to write a note to this list when settings are successful.My setup:
MacPro 1,1
Kernel 3.10.17 (gentoo sources)
ALSA k3.10.17Had to set
/usr/bin/hda-verb/dev/snd/hwC0D00x18SET_PIN_WIDGET_CONTROL0xc1to get the headphone out at the front working.Wrote a bit (in german) about it:
http://www.nico-beuermann.de/blogging/archives/117-Hier-gibt-es-was-auf-die-Ohren.html#extended
Quoted 6 lines
Quoted 3 lines
Could you check whether 3.13 still has the same problem? If yes, please give
alsa-info.shoutput. Better to run it with --no-upload and attach the output.3.13 still has the same problem.
alsa-infos's output has been attached.
Thanks. Could you try the patch below with 3.14-rc1? 3.13.1 still doesn't contain the fix for MBA 1,1 (which will be merged to stable kernel soon later). Alternatively, you can cherry-pick the commit e7729a415315fcd9516912050d85d5aaebcededc
ALSA: hda - Fix silent output on MacBook Air 1,1
from Linus tree, and apply the patch below on its top.
Takashi
-- 8< --
From: Takashi Iwai <[email protected]>
Subject: [PATCH] ALSA: hda - Fix missing VREF setup for Mac Pro 1,1
Mac Pro 1,1 with ALC889A codec needs the VREF setup on NID 0x18 to VREF50, in order to make the speaker working. The same fixup was already needed for MacBook Air 1,1, so we can reuse it.
--- sound/pci/hda/patch_realtek.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
sound/pci/hda/patch_realtek.c +8 -1
@@ -1821,6 +1821,7 @@ enum {ALC889_FIXUP_IMAC91_VREF ,ALC889_FIXUP_MBA11_VREF ,ALC889_FIXUP_MBA21_VREF , +ALC889_FIXUP_MP11_VREF ,ALC882_FIXUP_INV_DMIC ,ALC882_FIXUP_NO_PRIMARY_HP , ALC887_FIXUP_ASUS_BASS,
@@ -2190,6 +2191,12 @@ static const struct hda_fixup alc882_fixups[] = { .chained = true, .chain_id = ALC889_FIXUP_MBP_VREF, }, + [ALC889_FIXUP_MP11_VREF] = { + .type = HDA_FIXUP_FUNC, + .v.func = alc889_fixup_mba11_vref, + .chained = true, + .chain_id = ALC885_FIXUP_MACPRO_GPIO, + }, [ALC882_FIXUP_INV_DMIC] = { .type = HDA_FIXUP_FUNC, .v.func = alc_fixup_inv_dmic_0x12,
@@ -2253,7 +2260,7 @@ static const struct snd_pci_quirk alc882_fixup_tbl[] = {SND_PCI_QUIRK (0x106b ,0x00a0 ,"MacBookPro 3,1" ,ALC889_FIXUP_MBP_VREF ),SND_PCI_QUIRK (0x106b ,0x00a1 ,"Macbook" ,ALC889_FIXUP_MBP_VREF ),SND_PCI_QUIRK (0x106b ,0x00a4 ,"MacbookPro 4,1" ,ALC889_FIXUP_MBP_VREF ), -SND_PCI_QUIRK (0x106b ,0x0c00 ,"Mac Pro" ,ALC885_FIXUP_MACPRO_GPIO ), +SND_PCI_QUIRK (0x106b ,0x0c00 ,"Mac Pro" ,ALC889_FIXUP_MP11_VREF ),SND_PCI_QUIRK (0x106b ,0x1000 ,"iMac 24" ,ALC885_FIXUP_MACPRO_GPIO ),SND_PCI_QUIRK (0x106b ,0x2800 ,"AppleTV" ,ALC885_FIXUP_MACPRO_GPIO ), SND_PCI_QUIRK(0x106b, 0x2c00, "MacbookPro rev3", ALC889_FIXUP_MBP_VREF),
Signature · 1 line
1.8.5.2