<?php include 'HEADER.php' ?>

<h1>Messing with Linux sound</h1>

<pre>aplay -l</pre>

<p>lists the audio devices detected, also:</p>

<pre>cat /proc/asound/cards</pre>

<p>If there's a sound device you want to disable, edit <code>/etc/modprobe.d/alsa-base-blacklist.conf</code>. Mine looks like:

<pre>
# Comment this entry in order to load snd-pcsp driver
blacklist snd-pcsp
# Comment this entry in order to load pcspkr driver
# HDMI sound on ATI graphics card:
blacklist snd_hda_codec_atihdmi
blacklist snd_hda_intel
</pre>

<p>Sound can be restarted without restarting the whole box:</p>

<pre>/etc/init.d/alsa-utils restart</pre>

<p>It can sometimes help to check <code>alsamixer</code>. Make sure the card isn't muted.</p>

<?php include '../FOOTER.php' ?>
