Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howtos:hardware:sound_problems_on_slackware [2018/02/15 14:33 (UTC)]
lysander [Sound Problems on Slackware]
howtos:hardware:sound_problems_on_slackware [2018/12/07 01:15 (UTC)]
bassmadrigal Add caveat to not apply alsa fixes to pulse-based systems
Line 1: Line 1:
 <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). -->
 <!-- Reviewed 2012-12-24 hazel --> <!-- Reviewed 2012-12-24 hazel -->
 +<!-- Reviewed 2018-02-15 alienbob -->
 +
 +<note important>​This only applies to systems running "pure alsa" and not systems that are running pulseaudio. Using the default installs, 14.2 and newer will have pulseaudio and many of the issues below can be fixed by running ''​pavucontrol''​ and changing the default output device.</​note>​
  
 **NOTE: on my systems, my default card is 1 and default device is 0 so I will use 1,0 through out this page** **NOTE: on my systems, my default card is 1 and default device is 0 so I will use 1,0 through out this page**
Line 9: Line 12:
 **Investigate the problem** **Investigate the problem**
  
-1) See which kernel modules are loaded: +  - See which kernel modules are loaded: ​<​code>​ 
- + lsmod | grep snd 
-     lsmod | grep snd +</​code> ​Use this information along with your motherboard sound chipset to verify that the correct sound drivers are loading. 
- +  ​- ​See which sound devices are detected by alsa:<​code>​ 
-Use this information along with your motherboard sound chipset to verify that the correct sound drivers are loading. +aplay -l 
- +</​code> ​Most likely, alsa is loading the correct modules but setting the wrong sound device as default. 
- +  ​- ​Test sound devices to see which one(s) work:<​code>​ 
-2) See which sound devices are detected by alsa: +alsamixer 0 
- +<​F6>​ 
-     aplay -l +<select a card(s)>​ 
- +<adjust volumes and make sure they aren't muted> 
-Most likely, alsa is loading the correct modules but setting the wrong sound device as default. +<ESC>
- +
-3) Test sound devices to see which one(s) work: +
- +
-     alsamixer 0 +
-     ​<​F6>​ +
-     ​<select a card(s)>​ +
-     ​<adjust volumes and make sure they aren't muted> +
-     ​<ESC>+
            
-     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,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:0,1 test.wav 
-     ​aplay -D plughw:1,0 test.wav +aplay -D plughw:1,0 test.wav 
-     ​aplay -D plughw:1,1 test.wav +aplay -D plughw:1,1 test.wav 
 +</​code>​
  
 ---- ----
Line 98: Line 93:
 **PROBLEM:​** No equalizer. **PROBLEM:​** No equalizer.
  
-**FIX:** Enable the equalizer ​(N.B. the alsaequal plugin ​may have to be obtained separately).+**FIX:** Enable the equalizer ​\\ <​note>​the ''​alsaequal'' ​plugin ​is not part of Slackware. You can build it from source using [[https://​slackbuilds.org/​result/?​search=alsaequal&​sv=|slackbuilds.org]]</​note>​
  
 Output can either be from the audio device or the mixer. For the device use the following: Output can either be from the audio device or the mixer. For the device use the following:

In Other Languages
QR Code
QR Code howtos:hardware:sound_problems_on_slackware (generated for current page)