LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-02-2007, 10:25 AM   #1
ionmich
Member
 
Registered: Sep 2003
Location: Mexico, Sweden
Distribution: openSUSE 15.2, Microware OS-9, MX-19, Bodhi 5.1.0
Posts: 256

Rep: Reputation: 41
Sound card busy


I downloaded a handy egg-timer utility that rings when the time lapses. But if I am listening to something else then the utility errors out because the sound card is busy. Is there a simple way I can reset the sound card via software?

Thanks.
 
Old 11-02-2007, 11:38 AM   #2
seandon4
LQ Newbie
 
Registered: Sep 2005
Distribution: Slackware
Posts: 24

Rep: Reputation: 16
Linux has 2 major sound systems: OSS and ALSA. OSS is older so you probably want ALSA and probably do not want anything using OSS. Assuming you are using ALSA drivers, different apps can interface with it directly or still use OSS. For example, the XMMS player settings can be set to use OSS or ALSA for output. So, if you are using ALSA drivers and if all your apps are programmed or configured to use ALSA then you should not have this problem. So, is the egg timer a KDE app? or Window Maker?? If using KDE, I'm guessing it uses "arts" which I believe can be configured to use ALSA. Then you have to configure your other apps to use ALSA too depending on what environment they were designed for.
 
Old 11-03-2007, 04:54 PM   #3
ionmich
Member
 
Registered: Sep 2003
Location: Mexico, Sweden
Distribution: openSUSE 15.2, Microware OS-9, MX-19, Bodhi 5.1.0
Posts: 256

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by seandon4 View Post
Linux has 2 major sound systems: OSS and ALSA. OSS is older so you probably want ALSA and probably do not want anything using OSS. Assuming you are using ALSA drivers, different apps can interface with it directly or still use OSS. For example, the XMMS player settings can be set to use OSS or ALSA for output. So, if you are using ALSA drivers and if all your apps are programmed or configured to use ALSA then you should not have this problem. So, is the egg timer a KDE app? or Window Maker?? If using KDE, I'm guessing it uses "arts" which I believe can be configured to use ALSA. Then you have to configure your other apps to use ALSA too depending on what environment they were designed for.
Perhaps I did not state my problem clearly. The timer program works just fine, except that when I am using the sound card with another program it produces the following error:-

ALSA lib pcm_dmix.c:864snd_pcm_dmix_open) unable to open slave
aplay: main:550: audio open error: Device or resource busy

What I would like to do via software is to reset (turn off) the sound card just before the timer needs access to it. Perhaps to turn it back on after the timer sounds. The timer by the way is neither a KDE or Window Maker application. It is a command line application.
 
Old 11-04-2007, 08:12 PM   #4
knot2003
Member
 
Registered: Oct 2003
Location: Rio de Janeiro, Brazil
Distribution: Ubuntu 7.10
Posts: 32

Rep: Reputation: 15
You can give it a try with this command line using a console terminal

chmod 666 /dev/audio* /dev/dsp* /dev/sequencer /dev/mid* /dev/mixer*
 
  


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 dsp busy Oxagast Linux - Hardware 1 05-03-2006 10:22 PM
Intel8x0 sound, ALSA /dev/dsp device busy, is card locked or is it software? bigearsbilly Linux - Hardware 9 12-15-2005 03:49 AM
Sound card always too busy for Xine SPDIF passthrough sdistefano Linux - Software 0 09-06-2005 12:01 PM
VMware + sound (/dev/dsp busy) tisam Linux - Software 0 02-17-2005 04:19 AM
/dev/dsp no longer busy /no sound bibilit Linux - Software 7 12-18-2003 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:40 AM.

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