Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Sep 2004 22:10:40 -0400
From:      "Alexandre \"Sunny\" Kovalenko" <Alex.Kovalenko@verizon.net>
To:        freebsd-current@freebsd.org
Subject:   Re: pcm0:play:0: play interrupt timeout, channel dead
Message-ID:  <1094609440.673.25.camel@RabbitsDen>
In-Reply-To: <20040907081450.GA42077@gvr.gvr.org>
References:  <20040907081450.GA42077@gvr.gvr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2004-09-07 at 04:14, Guido van Rooij wrote:
> I have this problem when using skype. Normal sound playback via e.g.
> xmms goes well. This is on a Dell Latitude D600. 
> 
> Underneath my dmesg (witout ACPI,  with ACPI I get the same results).
> 
> > cat /dev/sndstat 
> FreeBSD Audio Driver (newpcm)
> Installed devices:
> pcm0: <Intel ICH4 (82801DB)> at io 0xf4fff800, 0xf4fff400 irq 11 bufsz 16384 (1p/1r/0v channels duplex default)
> 
> 
There is an odd looking bit of code in
/usr/src/sys/dev/sound/pcm/channel.c (function chn_write):

                                if (timeout < 1)
                                        timeout = 1;
                                timeout = 1;
                                ret = chn_sleep(c, "pcmwr", timeout);

(notice that timeout is always 1).

If you feel adventurous, you can hardcode it to something like 30 and
see if a) message disappears b) you get normal sound. In my case (a)
happened and (b) did not -- I got distorted sound, but I was playing
with USB audio device, which has features not supported by the driver.

FWIW.
---
Alexandre "Sunny" Kovalenko.





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