Page 1 of 1

NanoPC-T6 - Audio Passthrough (IEC958)

Posted: Mon Oct 07, 2024 9:29 am
by Tiemichael
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!

Re: NanoPC-T6 - Audio Passthrough (IEC958)

Posted: Sat Nov 30, 2024 5:43 pm
by specs
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.)

Re: NanoPC-T6 - Audio Passthrough (IEC958)

Posted: Thu Dec 12, 2024 8:47 am
by BarbaraHardy
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.