LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-06-2005, 12:36 AM   #1
JoeUser11
Member
 
Registered: Dec 2004
Location: Austin, TX
Distribution: SuSe9.3
Posts: 143

Rep: Reputation: 15
sudden sound problem


I've been running SuSe9.3 for a long time, sound has always worked great. Now though whenever I try to play music I get these error boxes (from "Music Player"):
Quote:
Could not pause playback
Quote:
OSS device "/dev/dsp" is already in use by another program.
or this from mplayer
Quote:
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
applets don't play sound either.
I've tried restarting the computer... and that's about all the troubleshooting I know how to do. How can I get back my sound?
 
Old 06-06-2005, 02:53 AM   #2
andygo
Member
 
Registered: May 2005
Location: Ukraine, Kiev
Distribution: Gentoo, Kubuntu
Posts: 112

Rep: Reputation: 15
/sbin/fuser -v /dev/dsp will tell you which programme uses your sound card. I would kill it just for fun %-)
then crate /etc/asound.conf
pcm.ossmix {
type dmix
ipc_key 1027
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
bindings {
0 0
1 1
}
}

pcm.!default {
type plug
slave.pcm "ossmix"
}

ctl.mixer0 {
type hw
card 0
}
this will let two and more programms to use your soungcard
HAVE_FUN
 
Old 06-06-2005, 07:11 AM   #3
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Did you recently install/upgrade/activate any KDE apps? They tend to launch arts which is a sound server and will block direct access to /dev/dsp.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sudden boot problem partimegeek SUSE / openSUSE 3 08-19-2005 05:04 PM
No sound (used to work, stopped working all of a sudden) tomj88 Debian 5 08-05-2005 04:21 PM
Sudden vcdxgen problem s1l3ntbob Linux - Software 0 02-07-2005 12:35 PM
there is no sound all of a sudden, mandrak 10 coolwater Linux - Hardware 1 11-29-2004 03:23 PM
Sound not working all of a sudden mary Linux - General 1 01-17-2004 07:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration