From owner-freebsd-current@FreeBSD.ORG Wed Sep 8 02:11:14 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A82616A4CF for ; Wed, 8 Sep 2004 02:11:14 +0000 (GMT) Received: from out009.verizon.net (out009pub.verizon.net [206.46.170.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3B8143D1D for ; Wed, 8 Sep 2004 02:11:13 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from [10.0.3.231] ([141.153.207.21]) by out009.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040908021113.OFSL23440.out009.verizon.net@[10.0.3.231]> for ; Tue, 7 Sep 2004 21:11:13 -0500 From: "Alexandre \"Sunny\" Kovalenko" To: freebsd-current@freebsd.org In-Reply-To: <20040907081450.GA42077@gvr.gvr.org> References: <20040907081450.GA42077@gvr.gvr.org> Content-Type: text/plain Message-Id: <1094609440.673.25.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 07 Sep 2004 22:10:40 -0400 Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out009.verizon.net from [141.153.207.21] at Tue, 7 Sep 2004 21:11:12 -0500 Subject: Re: pcm0:play:0: play interrupt timeout, channel dead X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2004 02:11:14 -0000 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: 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.