My set up has been working fine for almost a year but recently the audio device disappeared under the audio settings.
I tried adding hdmi_drive=2 and hdmi_force_edid_audio=1 to the config.txt but it didn’t help
Log: https://paste.osmc.tv/lamusileya
Thank you in advance for your assistance
Not sure – but if you restore config.txt to factory settings, does it re-appear?
Sam
I noticed that HDMI-CEC isn’t working either so I purchased a new HDMI cable but that didn’t resolve it.
I removed the 3 lines I added from the config.txt and there’s still no audio.
Where would I find what the factory config.txt should be?
I was curious and took a look at my RPi4 with the latest/largest staging version… even the passthrough section is missing from the audio settings, here!!!
Except for the last three lines, my config.txt
looks exactly like yours in the provided log set… and that seems to be the problem, since the overlay file is wrong in the sections. The configuration should look like this:
# If you wish to make changes, you should do so via My OSMC or edit the config-user.txt file in this directory
# Any changes that you make here will be overwritten as this file is managed by the OSMC via the update system
[pi4]
dtoverlay=rpivid-v4l2
arm_64bit=1
kernel=kernel.img
[all]
dtoverlay=vc4-kms-v3d,cma-512
disable_overscan=1
start_x=1
disable_splash=1
disable_fw_kms_setup=1
hdmi_ignore_cec_init=1
include config-user.txt
[pi02]
dtoverlay=vc4-kms-v3d,cma-256
[board-type=0x0e]
dtoverlay=vc4-kms-v3d,cma-256
I suspect that this change is due to an attempt to install a VNC server on the system at some point in the past, but I don’t know for sure.
1 Like
You’re right. I to try to install a VNC server recently but removed it fairly quickly.
I replaced my config.txt with yours and now I’m booting to a sad face.
I found the config.txtb before for the raspberry pi 4 in this forum and it worked! I’m on mobile at the moment so I can’t compare yours with this one however I appreciate your help and for sending me down the right path.
[pi4]
dtoverlay=rpivid-v4l2
arm_64bit=1
kernel=kernel.img
[all]
dtoverlay=vc4-kms-v3d,cma-512
disable_overscan=1
start_x=1
disable_splash=1
disable_fw_kms_setup=1
hdmi_ignore_cec_init=1
include config-user.txt
[pi02]
dtoverlay=vc4-kms-v3d,cma-256
[board-type=0x0e]
dtoverlay=vc4-kms-v3d,cma-256
1 Like
I don’t see any difference other than the two comment lines, but it’s nice to hear that it’s working again.