The Slackware OS was successfully upgraded on Fri Oct 3 14:39:01 UTC 2014
The Wiki was successfully upgraded on Fri Oct 3 15:42:57 UTC 2014

Welcome to the Slackware Documentation Project

Sound Problems on Slackware

Investigate the problem

1) See which kernel modules are loaded:

   lsmod | grep snd

Use this information along with your motherboard sound chipset to verify that the correct sound drivers are loading.

2) See which sound devices are detected by alsa:

   aplay -l

Most likely, alsa is loading the correct modules but setting the wrong sound device as default.

3) Test sound devices to see which one(s) work:

   <select a card(s)>
   <adjust volumes and make sure they aren't muted>
   aplay -D plughw:0,0 test.wav   (WHERE 0,0 is card/slot 0, device 0 and test.wav is a sound file e.g. /usr/share/sounds/alsa/Noise.wav)
   aplay -D plughw:0,1 test.wav
   aplay -D plughw:1,0 test.wav
   aplay -D plughw:1,1 test.wav

PROBLEM: alsa is setting the wrong device as the default sound; you can force the correct default as follows:

FIX: Create /etc/asound.conf and add an entry for the working card/slot and device:

  defaults.pcm.card 1
  defaults.pcm.device 0
  defaults.ctl.card 1

OR, if you just want the changes for a single user create ~/.asoundrc in the user's home directory and put the above in it…


In Other Languages
Translations of this page?:
QR Code
QR Code howtos:hardware:sound_problems_on_slackware (generated for current page)