From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753812Ab2CEV3J (ORCPT ); Mon, 5 Mar 2012 16:29:09 -0500 Received: from cantor2.suse.de ([195.135.220.15]:48651 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752843Ab2CEV3I (ORCPT ); Mon, 5 Mar 2012 16:29:08 -0500 Date: Mon, 05 Mar 2012 22:29:05 +0100 Message-ID: From: Takashi Iwai To: Chris Mason Cc: David Henningsson , linux-kernel@vger.kernel.org Subject: Re: sound regression in 3.2-rc3 (lenovo laptops) In-Reply-To: <20120305211112.GA4191@shiny> References: <20120305211112.GA4191@shiny> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > 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 > Signed-off-by: Takashi Iwai > > 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), >