Re: [alsa-devel] [BUG] Internal CD input missing since linux-3.4
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 tiwai@suse.de 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.
thanks,
Takashi
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 tiwai@suse.de 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 tiwai@suse.de Subject: [PATCH] ALSA: hda/realtek - Add missing CD-input pin for MSI-7350 mobo
Reported-by: Philipp Matthias Hahn pmhahn@pmhahn.de Cc: stable@kernel.org [v3.3+] Signed-off-by: Takashi Iwai tiwai@suse.de --- 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),
participants (1)
-
Takashi Iwai