From owner-freebsd-multimedia@FreeBSD.ORG Thu Oct 6 06:29:24 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48C0616A41F for ; Thu, 6 Oct 2005 06:29:24 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBF0543D46 for ; Thu, 6 Oct 2005 06:29:23 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by wproxy.gmail.com with SMTP id 71so147963wra for ; Wed, 05 Oct 2005 23:29:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=fzQnjb0gVhshNstVM9hscPifwL86mk8/lfVbTCZw4sTXawl/YPt7PXbQxGjzV8SRMfb2TcU4pWiWOU0FwsoCcV9R6LoEak0zcugN5vWXfUUr3w2YsLbkT/Y5OWowFPlt3CzqcdZ9pkYEgnHTsdpw25c6+1EEQ1lrpEzUgQxjP0w= Received: by 10.54.143.3 with SMTP id q3mr935151wrd; Wed, 05 Oct 2005 23:29:23 -0700 (PDT) Received: from michelle.rndsoft.co.kr ( [211.32.202.217]) by mx.gmail.com with ESMTP id 65sm750982wra.2005.10.05.23.29.21; Wed, 05 Oct 2005 23:29:22 -0700 (PDT) Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id j966TK6H012548 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Oct 2005 15:29:20 +0900 (KST) (envelope-from yongari@gmail.com) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id j966TFFA012546; Thu, 6 Oct 2005 15:29:15 +0900 (KST) (envelope-from yongari@gmail.com) Date: Thu, 6 Oct 2005 15:29:15 +0900 From: Pyun YongHyeon To: Ariff Abdullah Message-ID: <20051006062915.GB11441@rndsoft.co.kr> References: <200510051700.j95H0RlJ038651@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200510051700.j95H0RlJ038651@freefall.freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-multimedia@FreeBSD.org, Christopher Thielen Subject: Re: i386/74191: Notebook PC2001 Compliant AC97 audio works for only first 15 seconds X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 06:29:24 -0000 On Wed, Oct 05, 2005 at 05:00:27PM +0000, Tilman Linneweh wrote: > Synopsis: Notebook PC2001 Compliant AC97 audio works for only first 15 seconds > > Responsible-Changed-From-To: freebsd-i386->freebsd-multimedia > Responsible-Changed-By: arved > Responsible-Changed-When: Wed Oct 5 16:59:57 GMT 2005 > Responsible-Changed-Why: > over to multimedia group > > http://www.freebsd.org/cgi/query-pr.cgi?pr=74191 I can't sure what caused this but it seems that there is a bug in interrupt handler. In stock t4dwave(4), we have the following code in tr_intr(). 725 intsrc = tr_rd(tr, TR_REG_MISCINT, 4); 726 if (intsrc & TR_INT_ADDR) { 727 chnum = 0; 728 while (chnum < 64) { ^^^ 729 mask = 0x00000001; I think it would be 32 for M5451 as the hardware only supports 32 channels. The correct one should be selected by checking pci_get_devid(). Ariff, what's your opinion? -- Regards, Pyun YongHyeon