Enable Sound

From SingletonMillerWiki
Revision as of 13:41, 25 July 2012 by Martin (Talk | contribs)

Jump to: navigation, search

As of 25/07/2012 sound is enabled by default in the Raspian Distribution, the following pay applies to the Debian Squeeze build which is also commonly used.

Getting Sound Going

install sound utilies

sudo apt-get install alsa-utils

load the sound driver

sudo modprobe snd_bcm2835

test sound

sudo aplay /usr/share/sounds/alsa/Front_Center.wav
<pre>

== permanently load the sound driver ==

to load the sound driver every boot add it to config file
<code> /etc/modules </code>

<pre>
sudo nano /etc/modules

add snd_bcm2835 to the end of the file.

The sound driver will be loaded at boot time.

References

  1. http://elinux.org/R-Pi_Troubleshooting#Sound