Date: Fri, 11 Oct 2002 10:10:41 -0700 (PDT) From: Bill Schoolcraft <bill@wiliweld.com> To: questions@FreeBSD.ORG Subject: Re: dsp busy error Message-ID: <Pine.LNX.4.44.0210111006320.27164-100000@corten8> In-Reply-To: <3DA6F450.1040500@psydeshow.org>
next in thread | previous in thread | raw e-mail | index | archive | help
At Fri, 11 Oct 2002 it looks like Chris Snyder composed:
> David Banning wrote:
>
> >When I try and use the sound port, I get this error;
> >
> >/dev/dsp: Device busy
> >audio: Device busy
> >
> >I could restart the machine, but I wondered how I would go about fixing
> >this without restarting the machine.
> >
> >
> I had this problem under 4.6.2, never did find a way to fix it other
> than restart. Upgrade to STABLE, it should go away.
>
I can only speak from experience here but in using mpg123 with
a directory full of *.mp3 files I had to do a script that first
killed "artsd" then ran my mpg123 script. While *inside* the
music directory with a list of the mp3 files inside the text
file called "playlist.lst" I run a script called "go" and all
works well.
I run this out of command line.
#!/bin/sh
#
for i in `ps -auxw|grep artsd|grep -v grep|awk '{print $2}'`; do
kill -9 $i; done
mpg123 -v -v -Z -@ playlist.lst
--
|<-----------------------Word-Wrap-At-72-Please----------------------->|
Bill Schoolcraft
PO Box 210076 -o)
San Francisco CA 94121 /\
"UNIX, A Way Of Life." _\_v
http://forwardslashunix.com/raw
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0210111006320.27164-100000>
