Jump to content

Gentoo Sound Problem


Recommended Posts

I just got thru reinstalling gentoo. I've had no problems with sound in the past. But this time when trying to use mplayer I got the following message:

 

Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (Device or resource busy)
The sound server will continue, using the null output device.Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (Device or resource busy)
The sound server will continue, using the null output device.

 

I tested sound in the kcontrol center and it works fine. Any suggestions?

Link to comment
Share on other sites

mysti..........

 

if you haven't got this worked out yet, you might wanna try lsof to see what is using that device & giving you the busy error. it works in MDK, but it's a generic Linux tool, so i'm guessuing it will work in Gentoo. maybe....... :unsure:

 

in terminal, as root, do the following..........

 

lsof -V /dev/dsp

 

if you get a "command not found" error, then you must first install lsof. in MDK you'd urpmi lsof, so just install it by whatever means you use in Gentoo & try the command again. once you know what's using the device, i'm sure you can take it from there.

 

Chris

Link to comment
Share on other sites

ls /dev/ | grep dsp

 

ls -la /dev/dsp

 

ls -la /dev/sound

 

ls -la /dev/snd

 

ps -ef | grep artsdsp

 

ps -ef | grep esd

 

What do you have for all those?

 

Might also try starting mplayer with

 

mplayer -ao:/dev/dsp <----- I think that is correct, depends what is there.

Link to comment
Share on other sites

Some stuff

 

http://forums.gentoo.org/viewtopic.php?t=1...=mplayer+plugin

 

http://forums.gentoo.org/viewtopic.php?t=1...ht=mplayer+alsa

 

Maybe -

#USE="alsa" emerge mplayer

 

check your /etc/mplayer.conf

 

This is for the plugin but:

http://mplayerplug-in.sourceforge.net/howto.html

 

From the above link -

mplayer configuration

If you are using GNOME as your desktop environment add this line to $HOME/.mplayer/config:

ao=esd

 

For KDE add:

ao=arts

 

Also try

 

#emerge kplayer

 

another nice gui mplayer front. :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...