Power & Source of Big Ideas

NanoPC-T6 - Audio Passthrough (IEC958)

Moderators: chensy, FATechsupport

I am running Ubuntu 24.04 on my NanoPC-T6, and I am unable to get Audio Passthrough running.

After eliminating all Pipewire and Wireplumber related issues, I was looking at ALSA, but also here 'aplay -l' and 'aplay -L' don't show anything related to IEC958, which makes we wonder if this is supported in the kernel.

uname -r: 6.1.0-1025-rockchip

zgrep ROCKCHIP /proc/config.gz shows 'CONFIG_SND_SOC_ROCKCHIP=y' but nothing like 'CONFIG_SND_SOC_HDMI_CODEC=m'.

What could be the issue?
Thanks!
What distribution do you use and what kernel version?

With kernel 6.11.9 (debian) I get from aplay -L:
hw:CARD=realtekrt5616co,DEV=0
realtek,rt5616-codec, fe470000.i2s-rt5616-aif1 rt5616-aif1-0
Direct hardware device without any conversions

(HDMI audio does not work with 6.11-kernels, see the collabora rock5b page.)
From your output of zgrep ROCKCHIP /proc/config.gz, we can see that Rockchip audio support (CONFIG_SND_SOC_ROCKCHIP=y) is enabled, but there is no mention of CONFIG_SND_SOC_HDMI_CODEC=m or CONFIG_SND_HDA_CODEC_HDMI, which could indicate that HDMI audio support (required for audio passthrough) might not be correctly enabled in the kernel. You should ensure that your kernel has HDMI audio support enabled, and that the relevant audio codecs (such as snd-hda-codec-hdmi or similar) are available. You can check if HDMI audio support is enabled with:

Code: Select all

zgrep SND_HDA_CODEC_HDMI /proc/config.gz

If it's not enabled, you would either need to recompile your kernel with this option enabled, or check if a suitable module is available for your kernel version.

Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 3 guests