Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2001 21:41:19 +0200
From:      "Ylitalo Juha . O" <juha.o.ylitalo@nokia.com>
To:        freebsd-questions@freebsd.org
Subject:   with esd xmms and mpg123 will complain about /dev/dsp
Message-ID:  <20010214214119.D56364@jylitpc.ntc.nokia.com>

next in thread | raw e-mail | index | archive | help
I am having some esd related problems in my home system (probably FAQ
material, but ...), which hardware is ICL MikroMikko Ergo Pro X with
200MHz Pentium. 
I've installed FreeBSD 4.2-release (no CVS updates) in it.  System has
built-in soundcard in motherboard, which FreeBSD can detect quite
nicely:
$ dmesg | grep pcm 
pcm1: <CS423x> at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on isa0

I used "/dev/MAKEDEV snd1" to create necessary devices for audio
(check end of message for details). If I use mpg123 or xmms to play
mp3 without esd, everything works nicely, if I start esd and I get
those esd beeps from speakers. However when esd is running, mpg123
will result "Can't open /dev/dsp!", and xmms will result :
** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): Device busy

If I kill esd, everything will once again work beatifully. Is their
something trivial that I've missed, while setting things up ?

Here is promised extra information about my system:
$ pkg_info -aI | grep xmms
xmms-gnome-1.2.3_1  X Multimedia System --- An audio player with a Winamp GUI
$ pkg_info -aI | grep mpg123
mpg123-0.59r        Command-line player for mpeg layer 1, 2 and 3 audio
$ pkg_info -aI | grep esound
esound-0.2.20       A sound library for enlightenment package
$ pwd
/dev
$ ls -ld audio* dsp* music*
lrwxrwxrwx  1 root  wheel         6 Feb 11 10:45 audio -> audio1
crw-rw-rw-  1 root  wheel   30,   4 Feb 11 10:45 audio0
crw-rw-rw-  1 root  wheel   30,  20 Feb 14 20:20 audio1
lrwxrwxrwx  1 root  wheel         4 Feb 11 10:45 dsp -> dsp1
crw-rw-rw-  1 root  wheel   30,   3 Feb 11 10:45 dsp0
crw-rw-rw-  1 root  wheel   30,  19 Feb 14 21:08 dsp1
lrwxrwxrwx  1 root  wheel         5 Feb 11 10:45 dspW -> dspW1
crw-rw-rw-  1 root  wheel   30,   5 Feb 11 10:45 dspW0
crw-rw-rw-  1 root  wheel   30,  21 Feb 11 10:45 dspW1
lrwxrwxrwx  1 root  wheel         6 Feb 11 10:45 music -> music1
crw-rw-rw-  1 root  wheel   30,   8 Feb 11 10:45 music0
crw-rw-rw-  1 root  wheel   30,  24 Feb 11 10:45 music1

--
Juha Ylitalo       juha.o.ylitalo@nokia.com           <work e-mail>
SaPo B4, 4957      http://linux.nokia.com/~jylitalo   <work www>
+358 40 562 6152   http://www.iki.fi/~jylitalo        <public www>
"Some tools are used, because its policy, others because they are good."


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?20010214214119.D56364>