RPiKids | Adding I2S DAC

It was quickly apparent that the on-board sound for the Pi2 was awful and I wanted that 8-bit goodness to come out as god intended. I ordered an imitation of the HiFiBerry DAC+/PiCobber from Ebay for $26.00. This hardware version is compatible with Raspberry Pi models A+/B+ and 2. This particular DAC is based on the PCM5122 chip.

The installation is well documented here, I did not need to blacklist any drivers

1) Comment out the snd-bcm2835 (on-board audio) from: /etc/modules

# snd-bcm2835

2) Add the following line to: /boot/config.txt

dtoverlay=hifiberry-dacplus

3) Create the file: /etc/asound.conf

 pcm.!default  {
 type hw card 0
}
ctl.!default {
 type hw card 0
}

4) Reboot and check for ALSA for the loaded driver:

pi@raspberrypi $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ HiFi pcm512x-hifi-0 []
  Subdevices: 0/1
  Subdevice #0: subdevice #0

5) I then loaded up a ROM in EmulationStation and crystal clear audio filled my ears with joy.