Re: pcm0:play:0: play interrupt timeout, channel dead

From: Alexandre \ <Alex.Kovalenko_at_verizon.net>
Date: Tue, 07 Sep 2004 22:10:40 -0400
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.
Received on Wed Sep 08 2004 - 00:11:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:11 UTC