From: Takashi Iwai Subject: Re: [RFC PATCH] hda_intel: ratelimit "spurious response" message Date: Fri, 15 Nov 2013 07:34:57 +0100 Message-ID: References: <1383854115.9263.21.camel@joe-AO722> <1383856098.9263.28.camel@joe-AO722> <1383972094.2860.2.camel@joe-AO722> <1384451554.15774.18.camel@joe-AO722> 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 2DA212619E9 for ; Fri, 15 Nov 2013 07:34:58 +0100 (CET) In-Reply-To: <1384451554.15774.18.camel@joe-AO722> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Joe Perches Cc: alsa-devel List-Id: alsa-devel@alsa-project.org At Thu, 14 Nov 2013 09:52:34 -0800, Joe Perches wrote: > > On Thu, 2013-11-14 at 18:28 +0100, Takashi Iwai wrote: > > At Fri, 08 Nov 2013 20:41:34 -0800, > > Joe Perches wrote: > [] > > > !!HDA-Intel Codec information > > > !!--------------------------- > > > --startcollapse-- > > > > > > Codec: ATI ID aa01 > > > > You didn't enable CONFIG_SND_HDA_CODEC_HDMI, right? > > No, it's enabled. > > > Build with it, at least. > > $ grep CONFIG_SND_HDA_CODEC_HDMI /boot/config-3.12.0 > CONFIG_SND_HDA_CODEC_HDMI=y Weird. Try to build all sound drivers as modules and see whether the ID string of HDMI codec is still shown like that or a proper name like "ATI R6xx HDMI". If this works, could you try the patch below and see whether it works better now with built-in kernel? Takashi --- diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index afb90f48867f..80736e5af548 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -976,6 +976,7 @@ find_codec_preset(struct hda_codec *codec) mutex_unlock(&preset_mutex); if (mod_requested < HDA_MODREQ_MAX_COUNT) { +#ifdef CONFIG_SND_HDA_INTEL_MODULE char name[32]; if (!mod_requested) snprintf(name, sizeof(name), "snd-hda-codec-id:%08x", @@ -986,6 +987,7 @@ find_codec_preset(struct hda_codec *codec) request_module(name); mod_requested++; goto again; +#endif /* CONFIG_SND_HDA_INTEL_MODULE */ } return NULL; }