LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-12-2006, 09:05 AM   #1
Waqas Ahsan
Member
 
Registered: Sep 2006
Distribution: Mndriva 2007 official
Posts: 50

Rep: Reputation: 15
How to Free up the sound resource


Hi
i was wondering if there is any way to free up the sound resource. Any command that could maybe kill the processes using the sound card or block them.
 
Old 10-15-2006, 12:26 AM   #2
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Rep: Reputation: 30
Use with caution:
fuser -k /dev/dsp

*edit* fuser is sometimes found in /sbin */edit*
 
Old 10-15-2006, 12:32 AM   #3
FreeDoughnut
Member
 
Registered: Jun 2006
Distribution: Slackware 10.2, Debian Testing/Unstable, Ubuntu Breezy Badger, working on LFS
Posts: 228

Rep: Reputation: 30
Or you could use DMIX and AOSS to let multiple processes access the card at once. Use the first result when you Google "dmix". Even though it's for Debian, there's some useful info there.
 
Old 10-15-2006, 06:41 AM   #4
Waqas Ahsan
Member
 
Registered: Sep 2006
Distribution: Mndriva 2007 official
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mimithebrain
Use with caution:
fuser -k /dev/dsp

*edit* fuser is sometimes found in /sbin */edit*
if i run fuser without the -k switch it returns no output and so it does not kill any processes either.

Quote:
Or you could use DMIX and AOSS to let multiple processes access the card at once. Use the first result when you Google "dmix". Even though it's for Debian, there's some useful info there.
i did setup my Mandriva to handle multiple sound streams and it works for Amarok, Mplayer KMPlayer. however firefox, amsn etc. need either artsdsp or aoss. aoss giver garbled sound and artsdsp says it needs a binary file and i cant for the life of me find the binary files they all run through shell scripts.
 
Old 10-15-2006, 11:11 AM   #5
FreeDoughnut
Member
 
Registered: Jun 2006
Distribution: Slackware 10.2, Debian Testing/Unstable, Ubuntu Breezy Badger, working on LFS
Posts: 228

Rep: Reputation: 30
I've never had a bad experience with aoss. I wonder what's going on.
 
Old 10-15-2006, 03:49 PM   #6
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Rep: Reputation: 30
Firefox: Don't bother... Set arts to release the soundcard earlier, like 10 seconds instead of 60.
Amsn: there is an option for that. Just set to play the notifications with the corresponding arts application. (I think it's artsplay)
 
Old 10-16-2006, 03:49 AM   #7
Waqas Ahsan
Member
 
Registered: Sep 2006
Distribution: Mndriva 2007 official
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Firefox: Don't bother... Set arts to release the soundcard earlier, like 10 seconds instead of 60.
i assume you are talking about the KDE sound system if so i have it disabled and still have this problem and still had it when i reduced its auto suspend time to 2 seconds. Otherwise please explain to me what you want me to do cause i am a newbie .

Last edited by Waqas Ahsan; 10-16-2006 at 04:23 AM.
 
Old 10-19-2006, 06:13 PM   #8
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Rep: Reputation: 30
It still doesn't work when arts is disabled? Um... I'm not sure there. Usually, the plugins that play the audio (say, flash), will write directly to the sound card.

If it still doesn't work, you can try playing flash animations using konqueror, it can wrap the flash plugin to play to arts.
 
  


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
Sound Within Mandriva 2006 Free UlberMelder Linux - General 3 10-18-2006 06:04 PM
[B]Free Limited 10GB in DVDs/CDs Linux Technical Resource Kit[/B] aherm Linux - Distributions 1 07-08-2004 09:05 AM
how to free up sound device? Lleb_KCir Linux - General 7 05-05-2004 10:40 PM
tyring to free nonexistent resource & xinetd - resetting gigi Linux - Newbie 0 11-17-2003 07:29 PM
open /dev/[sound/]dsp: Device or resource busy tearinox Linux - Newbie 1 10-24-2003 06:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:33 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