This is an old revision of the document!


If some application accesses the sound card though one of the lower audio layers (see Kernel layer), the sound card might become inaccessible and other applications might fail to open the sound card, or even hang.

Finding out which application is holding your sound card

OSS

You can see which applications are using OSS (or the ALSA OSS Emulation layer) with:

$ sudo fuser /dev/dsp*

ALSA

You can see which applications are using ALSA with:

$ sudo fuser /dev/snd/pcm* 

Stopping that application

In most cases you can simply close or kill the application that is using your sound card.

PulseAudio

If PulseAudio is holding your sound card, you can stop it with 'pulseaudio -k'.

TiMiDity++

Some applications start timidity on startup. It can generally be stopped with 'sudo /etc/init.d/timidity stop'

wiki/troubleshooting_exclusive_sound_card_access.1253443336.txt.gz ยท Last modified: 2009/09/20 12:42 by raboof