From afe7b5fb9921dd990719e5823a7fd30553d3ed23 Mon Sep 17 00:00:00 2001
From: xengineering <me@xengineering.eu>
Date: Sun, 14 Jan 2024 14:10:35 +0100
Subject: doc: Explain how to enable default RPi audio

The soundbox software should be portable to other Raspberry Pis without
the HiFiBerry DAC too.
---
 doc/documentation.tex | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'doc/documentation.tex')

diff --git a/doc/documentation.tex b/doc/documentation.tex
index cf6e272..b374794 100644
--- a/doc/documentation.tex
+++ b/doc/documentation.tex
@@ -234,6 +234,13 @@ mount -o remount,rw /media/mmcblk0p1
 echo 'dtoverlay=hifiberry-dac' >> /media/mmcblk0p1/config.txt
 \end{verbatim}
 
+If the builtin audio of e.g. a Raspberry Pi 4 should be used another Devicetree
+option has to be inserted instead:
+
+\begin{verbatim}
+echo 'dtparam=audio=on' >> /media/mmcblk0p1/config.txt
+\end{verbatim}
+
 Since a diskless Alpine Linux installation is preferred for soundbox the
 changes have to be made persistent with \texttt{lbu}. Rebooting after it makes
 sure the SD card is again mounted in read-only mode and all Kernel-affecting
-- 
cgit v1.2.3-70-g09d2

