No sound on Raspberry pi 2 on OSMC 23.3

Hello,

For the past few days, my Raspberry Pi 2 has stopped outputting sound through the 3.5 mm audio jack.

I have already tried several troubleshooting steps, but without success. I also followed this workaround from the OSMC forum: OSMC 2021.08 / RPi3 - No analog sound, applying it to my setup, but it did not solve the issue.

When I run aplay -l, I get the following output:

bash

**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi [vc4-hdmi], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice#0: subdevice #0

It appears that only the HDMI audio device is being detected.

How can I restore audio output on the 3.5 mm jack?