Date: Thu, 6 Oct 2005 15:29:15 +0900 From: Pyun YongHyeon <pyunyh@gmail.com> To: Ariff Abdullah <skywizard@MyBSD.org.my> Cc: freebsd-multimedia@FreeBSD.org, Christopher Thielen <chris@luethy.net> Subject: Re: i386/74191: Notebook PC2001 Compliant AC97 audio works for only first 15 seconds Message-ID: <20051006062915.GB11441@rndsoft.co.kr> In-Reply-To: <200510051700.j95H0RlJ038651@freefall.freebsd.org> References: <200510051700.j95H0RlJ038651@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051006062915.GB11441>