From mboxrd@z Thu Jan 1 00:00:00 1970 From: Troy Kisky Subject: Re: [PATCH] ALSA: hda_intel: disable corb rirb when single_cmd active Date: Wed, 04 Nov 2009 12:45:20 -0700 Message-ID: <4AF1D9D0.9080007@boundarydevices.com> References: <1257276157-7164-1-git-send-email-troy.kisky@boundarydevices.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtpauth00.csee.onr.siteprotect.com (smtpauth00.csee.onr.siteprotect.com [64.26.60.144]) by alsa0.perex.cz (Postfix) with ESMTP id 644B524452 for ; Wed, 4 Nov 2009 20:45:27 +0100 (CET) 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 Takashi Iwai wrote: > At Tue, 3 Nov 2009 12:22:37 -0700, > Troy Kisky wrote: >> Poulsbo(US15W) cannot have any corb registers initialized >> when using single_cmd mode. >> When send_cmd timeout occur, note error. > > Could you be more specific? What errors do you get? > > And, how it goes to single_cmd mode? The single_cmd mode is very last > resort, and reaching there means already a serious problem. > > > thanks, > > Takashi > No error messages, but the response read is always 0. For testing, I passed single_cmd=1 as a modules option. HDAudio_03.pdf says, "If implemented, these registers must not be used at the same time as the CORB and RIRB command/response mechanisms, as the operations will conflict." Plus, if the RIRB irq is enabled, the interrupt routine will print out a spurious interrupt message. That said, my hardware is switching to single_cmd eventually, even if not passed as a module option. But at least now, when that happens my audio isn't dead. Troy