Rubik Pi 3 Ubuntu 24.04: No audio output on 3.5mm jack (ASoC DAPM unknown pin Headset)

Environment

  • Board: Rubik Pi 3
  • OS: Ubuntu 24.04.2 LTS
  • Kernel: 6.8.0-1051-qcom #51oem3
  • Audio codec: es8316
  • Additional USB audio tested: ReSpeaker Lite (USB-C)

Issue summary
3.5mm jack playback is not working. Headphone plug/unplug is detected, but kernel repeatedly logs:
snd-qcm6490 sound: ASoC: DAPM unknown pin Headset
Audio pipeline from userspace works (paplay/aplay start normally), but no usable analog output from jack.

Observed evidence

  1. Jack detect events are reported:
  • es8316_irq: Detected 3.5mm headphone connection/disconnection
  1. Kernel error repeats:
  • ASoC: DAPM unknown pin Headset
  1. Runtime DAPM graph shows widget:
  • Headphone Jack exists in /sys/kernel/debug/asoc/…/dapm/
  1. Running DT decompile (/sys/firmware/fdt) does not contain Headset / Headphone Jack strings.
  2. ALSA/PipeWire playback commands execute without userspace errors, but analog output remains silent/static depending on path.

Commands used
uname -a
cat /etc/os-release
cat /proc/asound/cards
cat /proc/asound/pcm
sudo journalctl -k -b | grep -E “unknown pin Headset|snd-qcm6490|es8316” -n
sudo grep -RIn “Headset|Headphone|HP|es8316|qcm6490” /sys/kernel/debug/asoc 2>/dev/null | head -n 200

Expected behavior
3.5mm jack should output audio when sink is selected and playback is active.

Actual behavior
No reliable audio output on jack; repeated kernel DAPM unknown pin error.

Request
Please confirm if this is a known BSP issue for current image/kernel and share:

  1. Recommended BSP/kernel version with fix, or
  2. Patch for qcm6490/es8316 ASoC routing (pin/widget naming mismatch, likely Headset vs runtime widget).
  • Kernel: 6.8.0-1051-qcom #51oem3

Above kernel is pretty old. Please kindly use apt to upgrade to latest and try it again.