From: Takashi Iwai Subject: Re: [PATCH] snd-hda-intel: add quirk to detect CD input on Gigabyte EP45-DS3 Date: Tue, 06 Mar 2012 10:46:29 +0100 Message-ID: References: <1330979603-6420-1-git-send-email-cus@passwd.hu> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id E417B103AD8 for ; Tue, 6 Mar 2012 10:46:29 +0100 (CET) In-Reply-To: <1330979603-6420-1-git-send-email-cus@passwd.hu> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Marton Balint Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Mon, 5 Mar 2012 21:33:23 +0100, Marton Balint wrote: > > My CD input got lost in commit 68ef0561efe494143516df38c03a16b837b8e79c. > Raymond helped me to add the necessary pin fixup to make it appear again. In > fact, this is basically his patch. It fixes alsa bug #5541. > > Signed-off-by: Marton Balint Applied now. Thanks. Takashi > --- > sound/pci/hda/patch_realtek.c | 9 +++++++++ > 1 files changed, 9 insertions(+), 0 deletions(-) > > diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c > index f286bb8..5e53020 100644 > --- a/sound/pci/hda/patch_realtek.c > +++ b/sound/pci/hda/patch_realtek.c > @@ -4367,6 +4367,7 @@ enum { > ALC882_FIXUP_PB_M5210, > ALC882_FIXUP_ACER_ASPIRE_7736, > ALC882_FIXUP_ASUS_W90V, > + ALC889_FIXUP_CD, > ALC889_FIXUP_VAIO_TT, > ALC888_FIXUP_EEE1601, > ALC882_FIXUP_EAPD, > @@ -4494,6 +4495,13 @@ static const struct alc_fixup alc882_fixups[] = { > { } > } > }, > + [ALC889_FIXUP_CD] = { > + .type = ALC_FIXUP_PINS, > + .v.pins = (const struct alc_pincfg[]) { > + { 0x1c, 0x993301f0 }, /* CD */ > + { } > + } > + }, > [ALC889_FIXUP_VAIO_TT] = { > .type = ALC_FIXUP_PINS, > .v.pins = (const struct alc_pincfg[]) { > @@ -4650,6 +4658,7 @@ static const struct snd_pci_quirk alc882_fixup_tbl[] = { > > SND_PCI_QUIRK(0x1071, 0x8258, "Evesham Voyaeger", ALC882_FIXUP_EAPD), > SND_PCI_QUIRK_VENDOR(0x1462, "MSI", ALC882_FIXUP_GPIO3), > + SND_PCI_QUIRK(0x1458, 0xa002, "Gigabyte EP45-DS3", ALC889_FIXUP_CD), > SND_PCI_QUIRK(0x147b, 0x107a, "Abit AW9D-MAX", ALC882_FIXUP_ABIT_AW9D_MAX), > SND_PCI_QUIRK_VENDOR(0x1558, "Clevo laptop", ALC882_FIXUP_EAPD), > SND_PCI_QUIRK(0x161f, 0x2054, "Medion laptop", ALC883_FIXUP_EAPD), > -- > 1.7.3.4 > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >