Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2012 17:43:21 -0500
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        Yuri <yuri@rawbw.com>
Cc:        freebsd-multimedia@freebsd.org, bug-followup@freebsd.org
Subject:   Re: kern/129604: [sound] Sound stops with error: pcm0:virtual:dsp0.vp0: play interrupt timeout, channel dead
Message-ID:  <20120404174321.2cdad829@cox.net>
In-Reply-To: <4F7CC09F.7040702@rawbw.com>
References:  <201204010630.q316UILx083986@freefall.freebsd.org> <20120404162535.22acf544@cox.net> <4F7CC09F.7040702@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 04 Apr 2012 14:43:59 -0700
Yuri <yuri@rawbw.com> wrote:

> On 04/04/2012 14:25, Conrad J. Sabatier wrote:
> > I've been seeing this intermittently for a very long time.  I've
> > reported it and have received a patch from the sound maintainer,
> > but it still occurs every so often nonetheless.
> >
> > This is a long-standing bugaboo that has yet to be fully resolved.
> 
> Maybe it's a good idea if you posted this patch into the bug comments 
> (bug-followup@FreeBSD.org) so that whoever looks into it can at least 
> see the direction the patch was going.
> 
> Yuri

Here's the patch I got from (I forget who sent it to me!):

--- hdac.c      (revision 230571)
+++ hdac.c      (working copy)
@@ -1921,6 +1921,8 @@
	ctl |= 1 << ss;
	HDAC_WRITE_4(&sc->mem, HDAC_INTCTL, ctl);

+	HDAC_WRITE_1(&sc->mem, off + HDAC_SDSTS,
+		HDAC_SDSTS_DESE | HDAC_SDSTS_FIFOE | HDAC_SDSTS_BCIS);
	ctl = HDAC_READ_1(&sc->mem, off + HDAC_SDCTL0);
	ctl |= HDAC_SDCTL_IOCE | HDAC_SDCTL_FEIE | HDAC_SDCTL_DEIE |
		HDAC_SDCTL_RUN;


-- 
Conrad J. Sabatier
conrads@cox.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120404174321.2cdad829>