04-12-2025, 01:09 PM
(This post was last modified: 04-12-2025, 01:13 PM by hatenick.
Edit Reason: I included reboot as an step item
)
Hi all
I have exactly the same problem, and I have found a way to disable hdmi audio. I have RPI 5, if you have other version some things might change. I did not want to disable hdmi video.
1) Backup your config file
2) open the file /boot/firmware/config.txt via some editor and change manually
3) Or use the followings on the ssh console
4) Reboot
Note that update of moOde might change things later, since the file is managed by it. So we might have to execute the steps again after an update. It would be beautiful if moOde could disable hdmi audio via some config.
By the way another more robust solution is to use card names instead of ALSA index'es but it needs to be fiddled with mpd conf and renderer's php files. Mpd can be handled with custom.conf file but others are hard coded to _audioout and that file is also overwritten.
Regards, and thanks for the phenomenal work on moOde.
@li
I have exactly the same problem, and I have found a way to disable hdmi audio. I have RPI 5, if you have other version some things might change. I did not want to disable hdmi video.
1) Backup your config file
Code:
sudo cp /boot/firmware/config.txt /boot/firmware/save_config.txt
2) open the file /boot/firmware/config.txt via some editor and change manually
Code:
dtoverlay=vc4-kms-v3d -> dtoverlay=vc4-kms-v3d,noaudio=on #disable hdmi audio
hdmi_force_edid_audio=1 -> hdmi_force_edid_audio=0 #disable hdmi audio in case your tv/monitor ask specifically for it via EDID
dtparam=audio=on -> dtparam=audio=off #disable on board related audio if any
3) Or use the followings on the ssh console
Code:
sudo sed -i -e 's/dtoverlay=vc4-kms-v3d/dtoverlay=vc4-kms-v3d,noaudio=on/' /boot/firmware/config.txt
sudo sed -i -e 's/hdmi_force_edid_audio=1/hdmi_force_edid_audio=0/' /boot/firmware/config.txt
sudo sed -i -e 's/dtparam=audio=on/dtparam=audio=off/' /boot/firmware/config.txt
4) Reboot
Code:
sudo reboot
Note that update of moOde might change things later, since the file is managed by it. So we might have to execute the steps again after an update. It would be beautiful if moOde could disable hdmi audio via some config.
By the way another more robust solution is to use card names instead of ALSA index'es but it needs to be fiddled with mpd conf and renderer's php files. Mpd can be handled with custom.conf file but others are hard coded to _audioout and that file is also overwritten.
Regards, and thanks for the phenomenal work on moOde.
@li