From owner-freebsd-multimedia@FreeBSD.ORG Wed Mar 29 04:51:46 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 0157816A41F for ; Wed, 29 Mar 2006 04:51:46 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 841CC43D45 for ; Wed, 29 Mar 2006 04:51:45 +0000 (GMT) (envelope-from grafan@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so72809wxc for ; Tue, 28 Mar 2006 20:51:45 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Wh9agB+otGVo8yUekQu/O7n6bIbvmdP7PV58kC6KXXenFMXLe6xSZQiX5+7nyyTrNCL59YxX1zbce9MptJGuPyGh7z7XI42zvCRN+q8tTqfqilcaIfoo9DIvwJLB2xpNGNEXknvOjl7ZtiJUUIqEmm4iRFeefI1rNIgxRg3VvUs= Received: by 10.70.112.10 with SMTP id k10mr431740wxc; Tue, 28 Mar 2006 20:51:45 -0800 (PST) Received: by 10.70.125.13 with HTTP; Tue, 28 Mar 2006 20:51:45 -0800 (PST) Message-ID: <6eb82e0603282051j65496dcbr536a2d6f6478e774@mail.gmail.com> Date: Tue, 28 Mar 2006 23:51:45 -0500 From: "Rong-En Fan" To: freebsd-multimedia@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: 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: Wed, 29 Mar 2006 04:51:46 -0000 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: FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xc0000c00, 0xc0000800 irq 11 bufsz 1638= 4 kld snd_ich (1p/1r/10v channels duplex default) [pcm0:play:0:dsp0.0]: spd 48000, fmt 0x10000010, flags 0x00101020, 0x00000000 interrupts 389, underruns 0, ready 0 [b:8192/4096/2|bs:131072/4096/= 32] {userland} -> feeder_vchan_s16(0x10000010) -> {hardware} pcm0:play:0:dsp0.0[pcm0:virtual:0:dsp0.2]: spd 48000, fmt 0x00000010/0x10000010, flags 0x10003030, 0x00000000, pid 1004 interrupts 0, underruns 0, ready 0 [b:0/4096/0|bs:4096/256/16] {userland} -> feeder_root(0x00000010) -> feeder_monotostereo16(0x00000010 -> 0x10000010) -> {hardware} pcm0:play:0:dsp0.0[pcm0:virtual:1:dsp0.3]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000 interrupts 0, underruns 0, ready 0 [b:0/0/0|bs:0/0/0] {userland} -> feeder_root(0x00000000) -> {hardware} pcm0:play:0:dsp0.0[pcm0:virtual:2:dsp0.4]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000 interrupts 0, underruns 0, ready 0 [b:0/0/0|bs:0/0/0] {userland} -> feeder_root(0x00000000) -> {hardware} pcm0:play:0:dsp0.0[pcm0:virtual:3:dsp0.5]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000 interrupts 0, underruns 0, ready 0 [b:0/0/0|bs:0/0/0] {userland} -> feeder_root(0x00000000) -> {hardware} pcm0:play:0:dsp0.0[pcm0:virtual:4:dsp0.6]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000 interrupts 0, underruns 0, ready 0 [b:0/0/0|bs:0/0/0] {userland} -> feeder_root(0x00000000) -> {hardware} pcm0:play:0:dsp0.0[pcm0:virtual:5:dsp0.7]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000 interrupts 0, underruns 0, ready 0 [b:0/0/0|bs:0/0/0] {userland} -> feeder_root(0x00000000) -> {hardware} pcm0:play:0:dsp0.0[pcm0:virtual:6:dsp0.8]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000 interrupts 0, underruns 0, ready 0 [b:0/0/0|bs:0/0/0] {userland} -> feeder_root(0x00000000) -> {hardware} pcm0:play:0:dsp0.0[pcm0:virtual:7:dsp0.9]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000 interrupts 0, underruns 0, ready 0 [b:0/0/0|bs:0/0/0] {userland} -> feeder_root(0x00000000) -> {hardware} pcm0:play:0:dsp0.0[pcm0:virtual:8:dsp0.10]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000 interrupts 0, underruns 0, ready 0 [b:0/0/0|bs:0/0/0] {userland} -> feeder_root(0x00000000) -> {hardware} pcm0:play:0:dsp0.0[pcm0:virtual:9:dsp0.11]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000 interrupts 0, underruns 0, ready 0 [b:0/0/0|bs:0/0/0] {userland} -> feeder_root(0x00000000) -> {hardware} [pcm0:record:0:dsp0.1]: spd 48000, fmt 0x00000010/0x10000010, flags 0x00003000, 0x00000000, pid 1004 interrupts 0, overruns 0, hfree 1024, sfree 4096 [b:1024/512/2|bs:4096/256/16] {hardware} -> feeder_root(0x10000010) -> feeder_stereotomono16(0x10000010 -> 0x00000010) -> {userland} 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 ch= annel 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 prob= lem 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' :-(). Thanks, Rong-En Fan