Make sure your Raspberry Pi running Batocera is powered on and connected to the network.
Note the Batocera IP address (e.g., 192.168.1.74).
On another computer, open PuTTY (on Windows) or Terminal (on macOS/Linux).
In PuTTY, enter the IP address (e.g., 192.168.1.241) under “Host Name” and click Open.
When prompted with:
login as:
Type:
root
When prompted for a password, type:
linux
(Note: No characters will appear while typing the password. This is normal.)
Run the following command:
mount -o remount,rw /boot
Run:
nano /boot/config.txt
Go to the last line then add:
dtoverlay=hifiberry-dacplus,save
Press Ctrl + O, then Enter to save the file.
Press Ctrl + X to exit the editor.
Run:
reboot
Press the Start button on your controller to open the Main Menu.
Navigate to System Settings.
Set Audio Output to:
Built-in Audio Stereo
Set Audio Profile to:
SND_RPI_HIFIBERRY_DACPLUS STEREO OUTPUT
The HiFiBerry DAC+ should now be working correctly.