Chris Spackman wrote:
> Likewise, lsof /dev/dsp showed nothing - literally, no results at all.
So /dev/dsp is not being used at the times when you run lsof manually.
> I am beginning to think this must be an mpg123 problem. Is there a way to
> tell it to use a different sound device? What it the difference between
> /dev/dsp and /dev/snd?
I don't know how all that works maybe someone else does. But
adding debug code to mpg123 sounds like a good way to proceed
if you are comfortable with that. Do you know how to install
source packages? Ex:
# rpm -qa | grep mpg123 (find what version you are running)
mpg123-0.59r-12mdk
go to http://www.userfriendly.net/linux/RPM and search for "mpg123"
carefully look through the list of packages to find the find the
Mandrake version that matches yours and click the .html link. In
this case I found the source package in the list, but sometimes
you will have to follow the mpg123-xxxx-i586.html link to the
binary rpm and THEN follow the src rpm link.
I clicked on mpg123-0.59r-12mdk-src.html
The big blue link at the top of this new page is the rpm (the one
I found may be the same version you need which is):
# wget ftp://rpmfind.net/linux/Mandrake/7.2/SRPMS/mpg123-0.59r-12mdk.src.rpm
# rpm -ivh mpg123-0.59r-12mdk.src.rpm (install the source)
# cd /usr/src/RPM/SPECS
# rpm -bp mpg123.spec ("build prep")
# cd /usr/src/RPM/BUILD/mpg123-whatever (go to the build directory)
# ./configure (config the source for your
system)
# make
# make install (installs the new binary libs and
man
pages over your current ones)
then test to see if the problem still occurs, and hack away in
/usr/src/RPM/BUILD/mpg123-whatever as you please. Do the 'make'
and 'make install' each time from the
/usr/src/RPM/BUILD/mpg123-whatever directory.
> (Just did ls -l /dev/snd and the results were:
> lrwxrwxrwx 1 root root 18 Jan 3 19:39 /dev/snd -> ../proc/asound/dev/
> but with the last two in white letters with flashing red background, which I
> believe means that they don't exist, or at least the proc/asound/dev
> doesn't).
Same result here: /proc/asound is no where to be found, and I've had no problems.
duane