Skip to content

Instantly share code, notes, and snippets.

@rupakraj
Created January 6, 2017 05:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rupakraj/f9b9bf00846e185998b1f6d6f2127e19 to your computer and use it in GitHub Desktop.
Save rupakraj/f9b9bf00846e185998b1f6d6f2127e19 to your computer and use it in GitHub Desktop.
rpi sound

#enabling sound on rpi 3

  1. Install software $ sudo pacman -S alsa-firmware alsa-lib alsa-plugins alsa-utils

  2. Turn sound device on $ sudo modprobe snd-bcm2835

  3. create /etc/modules-load.d/snd-bcm2835.conf $ sudo echo "snd-bcm2835" >> /etc/modules-load.d/snd-bcm2835.conf

  4. unmute and adjust volume with alsamixer (mine is already unmuted at this point) $ sudo alsamixer

  5. test sound $ speaker-test -c 2

  6. save adjustments $ sudo alsactl store

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment