I am not specialist but it looks like the raspberry pi audio driver has changed when upgrading the OS and I don’t know how I can play now audio through the headphone jack.
Maybe it is due to configuration variable RESIN_HOST_CONFIG_dtoverlay which is set to "vc4-kms-v3d" while the same configuration variable is not set on the older raspberry pi installation.
I tried the following (inspired by what I found on google) without any success:
increased RESIN_HOST_CONFIG_gpu_mem from 16 to 126 => no success
changed RESIN_HOST_CONFIG_dtparam from "i2c_arm=on","spi=on","audio=on" into "i2c_arm=on","spi=on" => no success
deleted configuration variable RESIN_HOST_CONFIG_dtoverlay => problem got worse. The command aplay -l hanged. I think this is a similar problem as link.
Hi @janvda , it looks like we recreated the issue here. It seems like if you remove or overwrite dtoverlay=vc4-kms-v3d it should make the audio work. We will also test on earlier versions, but it seems like this overlay, added for Pi 4 support might be causing the issue.
For me deleting RESIN_HOST_CONFIG_dtoverlay didn’t work. (see point 3 above). It made the problem worse. running command aplay -l never returned had to control-c to interrupt it.
I am going back now to a previous balenaOS version and will check if I still have the problem.
Okay cool, I just tested 2.41.0+rev1 (grabbed it from our staging environment because it wasn’t officially released) and this version the audio jack works correctly (just running our balena-sound project).
I’m going to test 2.41.0+rev3 again with the exact test (balena-sound) and see where it breaks. I suspect its the introduction of new firmware for pi4 that could be causing it, we will see.
Hi, i am working with raspberrypi3-2.38.0+rev1-v9.15.7 very well but i upgrade of raspberrypi3-2.38.0+rev1-v9.15.7 to raspberrypi3-2.41.0+rev3-v10.2.2 and now the hdmi display not rotate not work, and if i remove the new parameter RESIN_HOST_CONFIG_dtoverlay=vc4-kms-v3d the display not work and still in boot splash screen
Hi, this is something from the kernel update apparently: https://github.com/raspberrypi/linux/issues/3181
So if you use the resin dashboard, go to “Device Configuration” section, then modify the existing RESIN_HOST_CONFIG_dtoverlay variable to “vc4-fkms-v3d” then audio will be working again
It has been reported that these issues (headphone jack and HDMI rotation) do not occur with balenaOS release 2.43 and later. I understand it’s due to upstream changes. If that’s not your experience, let us know.