4  Software setup 
This section describes how to install and setup the MERUS
TM 
audio amp drivers and necessary software 
packages with different Linux distributions and applications. Each distribution may have more than one 
possible method. First, basic installation processes are covered for the main distributions, and finally alsamixer 
controls and volume settings for different loudspeaker loads are covered. It is strongly recommended to read 
the last section before using the MERUS
TM 
audio amp HAT. 
4.1  Raspberry Pi OS (previously called Raspbian) 
4.1.1  Official Raspberry Pi OS method 
In order to install Raspberry Pi OS on a Raspberry pi with the MERUS
TM 
Raspberry Pi drivers, the following 
procedure should be applied on a Windows, macOS or Linux computer: 
1.  Download the Raspbian image file from this link. 
2.  Download balenaEtcher (or any other SD card image burner) from this link and open it. 
3.  Insert your SD card into the host machine and burn the Raspberry Pi OS image file to the card. 
4.  Before unmounting the SD card: 
o  Open the file called “config.txt” located at the card’s boot partition. 
o  Replace the line  
dtparam=audio=on 
with 
dtparam=audio=off 
– this will turn off the built-in sound card of the Raspberry Pi. 
o  Next, add the following line below the previous modification in order to load the MERUS
TM
 amp 
driver during boot-up, and save the file. 
dtoverlay=merus-amp 
o  Configuring the wireless network and SSH: 
▪  Linux: 
In order to stream audio via a wireless network it is necessary to configure the file called “wpa_supplicant.conf” 
located in the rootfs partition in the etc/wpa_supplicant directory. Open the file with a text editor and add the 
following content after the last line: 
GROUP=netdev 
network={ 
ssid=”YOUR_NETWORK_NAME”