rpi: disable HDMI video
authorHugo Villeneuve <hugo@hugovil.com>
Sat, 13 Dec 2025 23:16:17 +0000 (18:16 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Fri, 23 Jan 2026 16:44:47 +0000 (11:44 -0500)
Signed-off-by: Hugo Villeneuve <hugo@hugovil.com>
raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bbappend

index aab7c0b..31159d8 100644 (file)
@@ -17,8 +17,8 @@ do_deploy:append() {
     # forces ALSA to use analogue output:
     sed -i 's/^#\(hdmi_ignore_edid_audio=\).*/\11/' $CONFIG
 
-    # Prevent any HDMI connection from transmitting sound output:
-    sed -i 's/^\(.*dtoverlay=vc4-kms-v3d\).*/\1,noaudio/' $CONFIG
+    # Disable HDMI video:
+    sed -i 's/^\(.*dtoverlay=vc4-kms-v3d\).*/\#\1/' $CONFIG
 
     # Important: no whistespace...
     echo "dtoverlay=gpio-key,gpio=23,active_low=0,gpio_pull=up,label=play,keycode=164" >> $CONFIG