From: Takashi Iwai Subject: Re: [BUG] Internal CD input missing since linux-3.4 Date: Mon, 07 May 2012 11:17:22 +0200 Message-ID: References: <20120501102300.GA5313@pmhahn.de> 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 C55702415A for ; Mon, 7 May 2012 13:03:59 +0200 (CEST) In-Reply-To: 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: Philipp Matthias Hahn Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Sun, 06 May 2012 12:49:19 +0200, Takashi Iwai wrote: > > At Tue, 1 May 2012 12:23:00 +0200, > Philipp Matthias Hahn wrote: > > > > Hello, > > > > I upgraded my desktop to 3.3.4 last weekend and noticed that the > > internal CD connector is no longer available for recording. Instead I > > see some new controls about "headphone volume", "rear microphone" and > > "auto-mute". But I need the CD input since it's connected to my Analog > > TV card, which MythTV needs for recording. > > > > Using "git bisect" showed the following patch to be doing the switch: > > > 31ef22579302ac42054bebecb528710f46580925 is the first bad commit > > > commit 31ef22579302ac42054bebecb528710f46580925 > > > Author: Takashi Iwai > > > Date: Thu Dec 1 17:41:36 2011 +0100 > > > > > > ALSA: hda - Integrate input-jack stuff into kctl-jack > > This looks pretty irrelevant, maybe the bisection went wrong. > > Basically the problem is that your BIOS doesn't expose the pin for the > CD input as an available pin. In alsa-info.sh output, you can see the > pin 0x1c is shown as N/A. > > We can override a pin config value manually in such a case. See > HD-Audio.txt in Documentation/sound/alsa. > > In anyway, I'll try to prepare a test patch in the next week. Try the patch below. It's for 3.4-rc kernel but should be trivial to apply to 3.3.x kernel, too. thanks, Takashi --- From: Takashi Iwai Subject: [PATCH] ALSA: hda/realtek - Add missing CD-input pin for MSI-7350 mobo Reported-by: Philipp Matthias Hahn Cc: [v3.3+] Signed-off-by: Takashi Iwai --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 27d0f63..8ea613e 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -5440,6 +5440,7 @@ static const struct snd_pci_quirk alc882_fixup_tbl[] = { SND_PCI_QUIRK(0x106b, 0x4a00, "Macbook 5,2", ALC889_FIXUP_IMAC91_VREF), SND_PCI_QUIRK(0x1071, 0x8258, "Evesham Voyaeger", ALC882_FIXUP_EAPD), + SND_PCI_QUIRK(0x1462, 0x7350, "MSI-7350", ALC889_FIXUP_CD), 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), -- 1.7.9.2