Arch Linux sound problem

One popular sound problem which occurs due to wrong configurations is one sound device blocking another device. Its something like one device at a time. Following is a quick temporarily fix for it;

First execute the following command to make sure sound drivers are installed, sound cards are properly configured and working properly.

speaker-test -c 2

Above command should give the following result.

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy

Then issue following command and discover currently active applications which uses the default sound card.

fuser -v /dev/snd/* /dev/dsp*

For me it gave a result like this

                   USER        PID ACCESS COMMAND
/dev/snd/controlC0:  soori      1365 F.... pulseaudio
                     soori      1988 F.... xmms
                     soori      2304 F.... alsamixer
/dev/snd/pcmC0D0p:   soori      1560 F...m plugin-containe

Now what you have to simply do is terminating the above processes as below.

sudo kill 1365 1988 2304 1560

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.