From owner-freebsd-multimedia@FreeBSD.ORG Thu Mar 30 03:41:37 2006 Return-Path: X-Original-To: freebsd-multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CED3416A41F for ; Thu, 30 Mar 2006 03:41:37 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74C3C43D45; Thu, 30 Mar 2006 03:41:37 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from misaki64 (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with SMTP id k2U3fZR1027794; Thu, 30 Mar 2006 03:41:36 GMT (envelope-from ariff@FreeBSD.org) Date: Thu, 30 Mar 2006 11:41:30 +0800 From: Ariff Abdullah To: "Rong-En Fan" Message-Id: <20060330114130.610aa707.ariff@FreeBSD.org> In-Reply-To: <6eb82e0603291714y3271eca5l927d15c177d7d61f@mail.gmail.com> References: <6eb82e0603282051j65496dcbr536a2d6f6478e774@mail.gmail.com> <20060329133529.66e18afa.ariff@FreeBSD.org> <6eb82e0603291714y3271eca5l927d15c177d7d61f@mail.gmail.com> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Thu__30_Mar_2006_11_41_30_+0800_3wBLkmFnuLLuKC29" Cc: freebsd-multimedia@FreeBSD.org Subject: Re: skype sound problem X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2006 03:41:37 -0000 --Signature=_Thu__30_Mar_2006_11_41_30_+0800_3wBLkmFnuLLuKC29 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 29 Mar 2006 20:14:08 -0500 "Rong-En Fan" wrote: > On 3/29/06, Ariff Abdullah wrote: > > On Tue, 28 Mar 2006 23:51:45 -0500 > > "Rong-En Fan" wrote: > > > Hi, > > > > > > When I use skype, just call anyone then hang up it. Then, the > > > skype can not open the dsp device again. fstat shows that no > > > process is opening /dev/dsp*. But, /dev/sndstat > > > shows: > > > > [...] > > > You may notice that pid 1004 is using record and dsp0.2, this > > > process is skype_bin. > > > If I close skype, /dev/sndstat still shows that pid 1004 > > > occupies record channel and dsp0.2 (but ps shows that there is > > > no pid 1004). Any ideas? > > > > > > I'm running -CURRENT around March 22 on i386. I dont think I > > > have this problem in Feb or in Jan. I will try do a binary > > > search later (In fact, I tried to boot with Feb > > > 1's kernel, but got a panic about 'bad dir' :-(). > > > > > > > This is a known issue (at least, for me). > > > > Update your src (at least for sys/dev/sound/pcm), and apply this > > patch: > > > > http://people.freebsd.org/~ariff/test/sound.c.diff >=20 > Hi, >=20 > I have updated my -current to March 29, apply the patch above. > However, it does not solve my problem. >=20 Gahh.. baka baka.. accidentally committed unnecessary debugging part. Replace your sys/dev/sound/pcm/dsp.c with this one: http://people.freebsd.org/~ariff/test/dsp.c You still need that sound.c fix. Sorry. -- Ariff Abdullah FreeBSD --Signature=_Thu__30_Mar_2006_11_41_30_+0800_3wBLkmFnuLLuKC29 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEK1Ntlr+deMUwTNoRAsogAJ9PWvTQlDbQZvTcZUuCQrjkY6mdtgCffQZ8 nUvlnEbOEEnEJypX3d9rcgw= =ihI8 -----END PGP SIGNATURE----- --Signature=_Thu__30_Mar_2006_11_41_30_+0800_3wBLkmFnuLLuKC29--