LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 12-18-2005, 11:10 AM   #1
patopatasfrias
LQ Newbie
 
Registered: Dec 2005
Location: Oakland, California
Distribution: Debian
Posts: 10

Rep: Reputation: 0
Problems with Sound Driver


I've been trying to get Rythymbox to play on my computer. Using an OSS driver I got this error message:
-Device "/dev/dsp" does not exist.
(this file does exist and all users have full access)

So I decided to try and get ALSA working, I've loaded up the driver (run alsaconfig and alsamixer) but now I'm trying to work out how to change the default from OSS to ALSA. Something that I'm having some trouble with...

At the moment when I go to use rythymbox, I get the error message:
-OSS Device "/dev/dsp" is already in use by another program (ALSA I assume)

For the record:
I'm using debian (sarge)
My kernal: 2.4.27-2-386

Cheers
Matt
 
Old 12-18-2005, 12:23 PM   #2
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Rep: Reputation: 30
try using fuser to know what processes are using the sound card.

/sbin/fuser /dev/dsp

then /sbin/fuser -k /dev/dsp to kill those processes... Make sure it doesn't kill anything you didn't save.
 
Old 12-18-2005, 07:34 PM   #3
patopatasfrias
LQ Newbie
 
Registered: Dec 2005
Location: Oakland, California
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: 0
Yep that worked, however each time I restart the computer I have to run kill the tasks... is there something more permanent that I can do?

Cheers
Matt
 
Old 12-19-2005, 10:34 AM   #4
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Rep: Reputation: 30
I bet your using KDE. In that case, you are using arts, a sorta/kinda soundsystem that processes the data before it's sent to ALSA (or OSS).

Two choices:
Tell all your apps to use arts plugin
Remove the arts soundsystem using the kcontrol application.

Also, you can set the autosuspend on arts to be early, so whenever it's not in use, it can leave other applications not using arts to access alsa directly. (10 seconds is good, there is no bad setting)


Otherwise, tell me what process is using the soundcard, but I'm 85% sure it's arts.
 
Old 12-19-2005, 09:54 PM   #5
patopatasfrias
LQ Newbie
 
Registered: Dec 2005
Location: Oakland, California
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: 0
Hmmm sorry about this, I tried to work out how to get an actual description of what the process was that was using /dev/dsp, but couldn't. I'm getting the problem in Gnome...

Anyway, the PID process is: 1141

Does that mean anything to you or is there a way you can tell exactly what it is?

Thanks for all the help!
Matt =)
 
Old 12-20-2005, 10:47 AM   #6
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Rep: Reputation: 30
each reboot it's pretty much a number down or a number up, depending is there is other processes (such as "fsck") that jump in. ps -A will give you the name and number of all processes. Go in kcontrol->sound system and disable arts is you are not going to use KDE's notifications. either that, or make your apps arts aware.
 
Old 12-25-2005, 05:44 PM   #7
patopatasfrias
LQ Newbie
 
Registered: Dec 2005
Location: Oakland, California
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: 0
I took a look at the processes, and it was esound using /dev/dsp. I removed it and it looks to be running well!!!

Thanks again!!!
Matt =)
 
Old 12-26-2005, 11:40 AM   #8
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Rep: Reputation: 30
esound? Ah. Maybe you can make Rythymbox to be esound aware, so your system notifications work wether you use Rythymbox or not.

Glad you found the problem and it's fixed
 
  


Reply



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
ATI driver/Sound Blaster Audigy 2 ZS driver help reldogz Linux - Newbie 0 09-05-2005 09:08 PM
Sound card or driver problems in SuSE 8.2 sergeantroach Linux - Software 3 03-08-2004 10:43 PM
Sound driver problems with ALSA on Mandrake 9.2 with an Terratec ewx 2496 bastupungen Linux - Hardware 1 02-26-2004 05:38 AM
I'm having problems installing my sound card driver.. Jedah Linux - Hardware 2 08-31-2003 08:16 PM
Sound driver problems... Slayer Linux - Software 0 07-03-2003 11:05 AM

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

All times are GMT -5. The time now is 03:56 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
Open Source Consulting | Domain Registration