mystified Posted April 8, 2004 Report Share Posted April 8, 2004 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? Quote Link to comment Share on other sites More sharing options...
bvc Posted April 8, 2004 Report Share Posted April 8, 2004 alsa? oss? If alsa is it running? Quote Link to comment Share on other sites More sharing options...
chris z Posted April 8, 2004 Report Share Posted April 8, 2004 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 Quote Link to comment Share on other sites More sharing options...
mystified Posted April 8, 2004 Author Report Share Posted April 8, 2004 Yes it's alsa sound and it has been started bvc. Sorry, chrisz, I tried what you said and there was no device using the sound card. Quote Link to comment Share on other sites More sharing options...
jlc Posted April 8, 2004 Report Share Posted April 8, 2004 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. Quote Link to comment Share on other sites More sharing options...
mystified Posted April 8, 2004 Author Report Share Posted April 8, 2004 Well something I did got the sound working. My only problem now is there's no gui for mplayer so I can't turn up the volume. Quote Link to comment Share on other sites More sharing options...
jlc Posted April 8, 2004 Report Share Posted April 8, 2004 emerge -pv kmplayer kde frontend to mplayer Since you like kde so much :D Quote Link to comment Share on other sites More sharing options...
mystified Posted April 8, 2004 Author Report Share Posted April 8, 2004 Thanks! I'm getting a strange error message at boot tho. /etc/asound.state unmute card? Quote Link to comment Share on other sites More sharing options...
bvc Posted April 8, 2004 Report Share Posted April 8, 2004 alsa-utils installed? Quote Link to comment Share on other sites More sharing options...
mystified Posted April 8, 2004 Author Report Share Posted April 8, 2004 yes it is bvc. Fortunately the problem was solved easily by restarting alsa sound. Quote Link to comment Share on other sites More sharing options...
ac_dispatcher Posted April 9, 2004 Report Share Posted April 9, 2004 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.