From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: No sound on Quanta KN1 with kernel 3.4 Date: Mon, 16 Apr 2012 16:07:26 +0200 Message-ID: References: <20120414171029.GA740@zanic_kista> <20120414205209.GA1041@zanic_kista> 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 F11522442D for ; Mon, 16 Apr 2012 16:07:26 +0200 (CEST) In-Reply-To: <20120414205209.GA1041@zanic_kista> 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: Uros Vampl Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Sat, 14 Apr 2012 22:52:09 +0200, Uros Vampl wrote: > > On 14.04.12 21:25, Takashi Iwai wrote: > > At Sat, 14 Apr 2012 19:10:30 +0200, > > Uros Vampl wrote: > > > > > > Hi, > > > > > > as I wrote on the -users list, I don't have sound anymore in kernel 3.4. > > > I was told to post the output of alsa-info.sh here, so here I am. The > > > requested output is attached. > > > > Could you give the alsa-info.sh output on the working kernel? > > In that way, it becomes easier to spot out what caused the problem. > > Attached. Could you try the patch below? Also, which output is missing? Is it a speaker output or a line-out jack? Basically it's a bug of BIOS that doesn't give the proper association number for the corresponding pin 0x0f. The patch is just to make less restrictive. But, if it's a laptop, the corresponding pin is likely a speaker output, so it'd be better to fix the pin-default value itself via pinfix table. thanks, Takashi --- diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 7a8fcc4..83f0b13 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -4957,8 +4957,6 @@ int snd_hda_parse_pin_defcfg(struct hda_codec *codec, if (!(wid_caps & AC_WCAP_STEREO)) if (!cfg->mono_out_pin) cfg->mono_out_pin = nid; - if (!assoc) - continue; if (!assoc_line_out) assoc_line_out = assoc; else if (assoc_line_out != assoc)