Re: sound regression in 3.2-rc3 (lenovo laptops)

From: Takashi Iwai
Date: Mon Mar 05 2012 - 16:29:07 EST


At Mon, 5 Mar 2012 16:11:12 -0500,
Chris Mason wrote:
>
> Hi everyone,
>
> I installed rc6 today on my laptop and discovered sound
> no longer works. I can hear a few clicks from the speakers as it boots,
> but nothing else.
>
> After a while I got the internal speaker in the laptop working by
> randomly clicking between all the permutations of (mute, speaker,
> headphone, main, speaker, beep, alsa, pulseaudio) in my mixer app. But,
> I couldn't get any noise out of the headphone jack.
>
> I took a wild guess based on the changesets to snd-hda-intel and
> narrowed it down to the change below. With this reverted, I don't have
> an alsa headphone output anymore (just master, pcm) and everything is
> working again.

FYI, the same effect could be achieved by passing model=thinkpad
option to snd-hda-intel module without recompiling, too.

> My laptop is an x201, not a T510...

Could you give alsa-info.sh outputs (run with --no-upload option) on
both working and non-working kernels?


thanks,

Takashi

>
> -chris
>
> commit 29c5fbbcfefba5225a6783683c46c39e10877703
> Author: David Henningsson <david.henningsson@xxxxxxxxxxxxx>
> Date: Mon Jan 23 16:39:55 2012 +0100
>
> ALSA: HDA: Use model=auto for Thinkpad T510
>
> The user reports that model=auto works fine for him. Using
> model=auto bring in new features such as jack detection notification
> to userspace.
>
> Alsa info is available at http://paste.ubuntu.com/805351/
>
> Signed-off-by: David Henningsson <david.henningsson@xxxxxxxxxxxxx>
> Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
>
> diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
> index 8a32a69..a7a5733 100644
> --- a/sound/pci/hda/patch_conexant.c
> +++ b/sound/pci/hda/patch_conexant.c
> @@ -3027,7 +3027,7 @@ static const struct snd_pci_quirk cxt5066_cfg_tbl[] = {
> SND_PCI_QUIRK(0x17aa, 0x20f2, "Lenovo T400s", CXT5066_THINKPAD),
> SND_PCI_QUIRK(0x17aa, 0x21c5, "Thinkpad Edge 13", CXT5066_THINKPAD),
> SND_PCI_QUIRK(0x17aa, 0x21c6, "Thinkpad Edge 13", CXT5066_ASUS),
> - SND_PCI_QUIRK(0x17aa, 0x215e, "Lenovo Thinkpad", CXT5066_THINKPAD),
> + SND_PCI_QUIRK(0x17aa, 0x215e, "Lenovo T510", CXT5066_AUTO),
> SND_PCI_QUIRK(0x17aa, 0x21cf, "Lenovo T520 & W520", CXT5066_AUTO),
> SND_PCI_QUIRK(0x17aa, 0x21da, "Lenovo X220", CXT5066_THINKPAD),
> SND_PCI_QUIRK(0x17aa, 0x21db, "Lenovo X220-tablet", CXT5066_THINKPAD),
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/