Jump to content

Xmms won't let go of /dev/dsp


Guest joehill
 Share

Recommended Posts

Guest joehill

Xmms frequently steals the sound, even if it does not crash.

 

ie., cannot open /dev/dsp device or resource busy

 

I cannot find a running process for xmms to kill when this happens, and if I restart the sound service in control center, it does not fix the problem. So far, the only way to resolve this is to reboot (!).

 

How would I go about stealing it back?

Link to comment
Share on other sites

The first check to do is an "ls -l" to /dev/sound to see if everything is allright (files, permissions...)

 

I cannot find a running process for xmms to kill when this happens,

~# lsof +D /dev/sound

should tell you which command(s) is(/are) accesing the sound device at that moment. So in case you need to, kill those process.

 

and if I restart the sound service in control center, it does not fix the problem. So far, the only way to resolve this is to reboot (!).

restart the sound at command line to get a verbose output of what is going there:

~# service sound restart

act in consequence

Link to comment
Share on other sites

Guest joehill

thanks guys! this has been bugging me for months, I gave it one last shot and whammo, all is cool.

 

of course now I cannot get xmms to crash on me to test it... :roll:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...