From owner-freebsd-multimedia@FreeBSD.ORG Fri Sep 16 00:10:16 2005 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C17D16A41F for ; Fri, 16 Sep 2005 00:10:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB88843D53 for ; Fri, 16 Sep 2005 00:10:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8G0AF5R005722 for ; Fri, 16 Sep 2005 00:10:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8G0AFeg005721; Fri, 16 Sep 2005 00:10:15 GMT (envelope-from gnats) Date: Fri, 16 Sep 2005 00:10:15 GMT Message-Id: <200509160010.j8G0AFeg005721@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: Ariff Abdullah Cc: Subject: Re: kern/48338: [sound] pcm audio driver hogs /dev/dsp?.? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ariff Abdullah List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 00:10:16 -0000 The following reply was made to PR kern/48338; it has been noted by GNATS. From: Ariff Abdullah To: bug-followup@FreeBSD.org Cc: jylefort@brutele.be, netchild@FreeBSD.org Subject: Re: kern/48338: [sound] pcm audio driver hogs /dev/dsp?.? Date: Fri, 16 Sep 2005 08:06:36 +0800 On Mon, 12 Sep 2005 18:38:41 GMT Alexander Leidinger wrote: > Synopsis: [sound] pcm audio driver hogs /dev/dsp?.? > > State-Changed-From-To: feedback->open > State-Changed-By: netchild > State-Changed-When: Mon Sep 12 18:38:03 GMT 2005 > State-Changed-Why: > Feedback received, it's still a problem, so back to "open". > I cannot reproduce this, but then again, my src is no longer a pristine RELENG_5. First of all, using /dev/dsp0. is discourage, because that means you're locking it to certain virtual channel. Since: # Note: you're sending this to background that will keep it running # even after ctrl+c $ while : ; do play -d /dev/dsp0.1 somefile & ; done ^C $ play -d /dev/dsp0.1 somefile In this case, trying to use already occupied dsp device will obviously fail (device busy). Use /dev/dsp instead for dynamic channel allocation. I would suggest you to try first those proposed patch (for RELENG_5). Most of the fixes already commited to HEAD. http://staff.mybsd.org.my/skywizard/FreeBSD/sound/ If the problem still persist (even after applying it), could you please tell us what soundcard you have, pciconf -lv, sysctl hw.snd, cat /dev/sndstat , anything that might be related. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4)