Enable Sound

From SingletonMillerWiki
Revision as of 09:26, 24 August 2012 by Peejaywk (Talk | contribs) (Getting Sound Going)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

As of 24/08/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

permanently load the sound driver

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

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