From: =?UTF-8?B?RMOibmllbA==?= Fraga Subject: Re: Realtek ACL892: audio gap ~ each 10 seconds? [SOLVED] Date: Fri, 11 May 2012 11:53:09 -0300 Message-ID: <4fad27d8.6974340a.5e07.6c22@mx.google.com> References: <4facb947.541b340a.08eb.130c@mx.google.com> <4fad162b.07b3340a.14cb.5a06@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-vb0-f51.google.com (mail-vb0-f51.google.com [209.85.212.51]) by alsa0.perex.cz (Postfix) with ESMTP id D2E1B104139 for ; Fri, 11 May 2012 16:53:15 +0200 (CEST) Received: by vbip1 with SMTP id p1so2962910vbi.38 for ; Fri, 11 May 2012 07:53:15 -0700 (PDT) In-Reply-To: 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: Takashi Iwai Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Fri, 11 May 2012 15:52:49 +0200 Takashi Iwai wrote: > Could you check which unsolicited events are triggered on your > machine? When you build your kernel with the tracing support > (CONFIG_TRACEPOINTS=y), you can enable the tracing via > > % echo 1 > /sys/kernel/debug/tracing/events/hda/hda_unsol_event/enable > ..... > > Check whether the events come up frequently even without > plugging/unplugging any jacks. Usually this shouldn't happen. But in > the case of problematic hardware with the auto-mute, many bogus unsol > events are triggered. Takashi, I got the following: # tracer: nop # # entries-in-buffer/entries-written: 12/12 #P:8 # # _-----=> irqs-off # / _----=> need-resched # | / _---=> hardirq/softirq # || / _--=> preempt-depth # ||| / delay # TASK-PID CPU# |||| TIMESTAMP FUNCTION # | | | |||| | | -0 [000] d.h3 449.885014: hda_unsol_event: [0] res=40000c1, res_ex=10 -0 [000] d.h3 449.906339: hda_unsol_event: [0] res=4000041, res_ex=10 -0 [000] d.h3 472.269431: hda_unsol_event: [0] res=40000c1, res_ex=10 -0 [000] d.h3 472.290721: hda_unsol_event: [0] res=4000041, res_ex=10 -0 [000] d.h3 478.262018: hda_unsol_event: [0] res=40000c1, res_ex=10 -0 [000] d.h3 478.283319: hda_unsol_event: [0] res=4000041, res_ex=10 -0 [000] d.h3 482.934742: hda_unsol_event: [0] res=40000c1, res_ex=10 -0 [000] d.h3 482.956033: hda_unsol_event: [0] res=4000041, res_ex=10 -0 [000] d.h3 584.308420: hda_unsol_event: [0] res=40000c1, res_ex=10 -0 [000] d.h3 584.329693: hda_unsol_event: [0] res=4000041, res_ex=10 -0 [000] d.h3 593.781622: hda_unsol_event: [0] res=40000c1, res_ex=10 -0 [000] d.h3 593.802890: hda_unsol_event: [0] res=4000041, res_ex=10 *** But I couldn't notice it happening exactly during the click and pop... When click and pop happens, nothing happens in this file... So I don't know if it will be useful to you. Anyway, I'm confortable with auto-mute off... If you need more testing, just ask. I'll be glad to help. Thank you. -- Linux 3.4.0-rc6: Saber-toothed Squirrel http://www.youtube.com/DanielFragaBR