[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-multimedia
Subject: Re: kern/48338: [sound] pcm audio driver hogs /dev/dsp?.?
From: Ariff Abdullah <skywizard () MyBSD ! org ! my>
Date: 2005-09-16 0:10:15
Message-ID: 200509160010.j8G0AFeg005721 () freefall ! freebsd ! org
[Download RAW message or body]
The following reply was made to PR kern/48338; it has been noted by GNATS.
From: Ariff Abdullah <skywizard@MyBSD.org.my>
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 <netchild@FreeBSD.org> 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.<channel number> 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)
_______________________________________________
freebsd-multimedia@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic