From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756152Ab1BKNZG (ORCPT ); Fri, 11 Feb 2011 08:25:06 -0500 Received: from cantor.suse.de ([195.135.220.2]:53050 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753065Ab1BKNZF (ORCPT ); Fri, 11 Feb 2011 08:25:05 -0500 Date: Fri, 11 Feb 2011 14:25:03 +0100 Message-ID: From: Takashi Iwai To: Wang Lei Cc: linux-kernel@vger.kernel.org, Jaroslav Kysela Subject: Re: [SOUND] SBx00 sound card using snd_hda_codec_analog auto mutes In-Reply-To: <4d5532aa.0ae9640a.3773.316b@mx.google.com> References: <4d552a5a.03368e0a.5890.2b59@mx.google.com> <4d5532aa.0ae9640a.3773.316b@mx.google.com> 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.2 (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 Fri, 11 Feb 2011 20:58:49 +0800, Wang Lei wrote: > > Takashi Iwai writes: > > > At Fri, 11 Feb 2011 20:23:21 +0800, > > Wang Lei wrote: > >> > >> Thanks for your reply! > >> > >> Takashi Iwai writes: > >> > >> > At Thu, 10 Feb 2011 20:49:51 +0800, > >> > Wang Lei wrote: > >> >> > >> >> On my laptop, the sound card auto mutes some seconds after i enable it. > >> >> And play a audio file can't make sound. This is not a powersave feature, > >> >> because i haven't enable it. I guess it's a driver problem. It occurs > >> >> since 2.6.36.X. Please help. > >> > > >> > Then a possible cause would be the badly working interrupts. > >> > Or, I remember vaguely some reports mentioning conflicts with radeon > >> > driver. > >> > > >> > Anyway, try to reproduce without the graphic interface first. > >> > > >> > >> I have reproduced it without the graphic interface. > >> > >> > Also, try to pass enable_msi=0 or 1. AMD controllers tend to unstable > >> > regarding MSI. > >> > > >> > >> And pass enable_msi=0 or 1 to snd_hda_intel, or even add boot parameter > >> pci=nomsi (i actually don't know whether this is reasonable), the > >> problem occurs. > >> > >> I have forgot to mention this, when passing apci=off to the boot kernel, > >> there is no this problem. > > > > Then check whether the interrupt is properly generated during PCM > > playback by watching /proc/interrupts. If not, it's likely an ACPI or > > BIOS problem. > > > > I hope i did the right thing. I `cat /proc/interrupts > 1', then use > alsamixer increase the PCM channel, then `cat /proc/interrupts >2'. It's not about the mixer operation. Check whether the interrupts of the audio driver (in your case irq 16) increase during PCM playback. Takashi