9)
Configuring Raspbian to include sound card support
This section covers the use of DeviceTree based driver support – as used in the Raspbian releases
from late 2015.
Note - Some pre-configured popular audio applications with IQaudIO sound card support are
available to download from www.iqaudio.com/downloads.
If you would rather configure your already downloaded OS then the following stems will help…
This guide assumes you are using the standard Raspbian (Debian Wheezy or later) distribution from
here: http://www.raspberrypi.org/downloads/ and that you have an SD card flashed with Raspbian
and have a login to your Raspberry Pi (either local or via ssh). You should have also run raspi-config
and expanded the filesystem to occupy your full SD card.
•
Update Raspbian on the SD card to be the latest available.
pi@raspberrypi ~ $ sudo rpi-update
pi@raspberrypi ~ $ sudo apt-get update
pi@raspberrypi ~ $ sudo apt-get dist-upgrade
•
To ensure that the IQAUDIO Device drivers are loaded make sure /boot/config.txt file has the entry
below … iqaudio-dacplus will work with the Pi-DAC+, Pi-DACZero and Pi-DigiAMP+ as all
IQaudIO boards based on the TI PCM5122 chipset use the same basic configuration.
pi@raspberrypi ~ $ sudo nano /boot/config.txt
dtoverlay=iqaudio-dacplus
From Raspbian 4.4.14+ onwards it is also possible to control any of the IQaudIO AMP modules mute
state from the config.txt file with additional optional parameters:
dtoverlay=iqaudio-dacplus,unmute_amp
This will give a "one-shot" unmute when kernel module loads.
dtoverlay=iqaudio-dacplus,auto_mute_amp'
This will unmute amp when ALSA device opened by a client. Mute, with 5 second delay
when ALSA device closed. (Re-opening the device within the 5 second close
window, will cancel mute.)
•
To remove the standard Raspberry PI audio card, comment out the {dtparam=audio=on} device
tree parameter in your /boot/config.txt and reboot.
pi@raspberrypi ~ $ sudo nano /boot/config.txt
# Enable audio (loads snd_bcm2835)
#dtparam=audio=on
•
Flush your filesystem changes and reboot the Raspberry Pi
pi@raspberrypi ~ $ sync
pi@raspberrypi ~ $ sudo reboot