AGX devkit no sound, no CVB mixer

  • Basic Info:

hardware: jetson-agx-orin-devkit
JetPack : 6.2
Jetson Linux : 36.4.3

connect spkeaker on HD audio header pin2 and pin9

dts in system:

proc.dts.txt (323.0 KB)

kernel log:

kernel.txt (64.7 KB)

mixer:

mixer.txt (62.2 KB)

component:

components.txt (527 Bytes)

clock:

clock.txt (42.4 KB)

pinmux:

pinmux_c300000.txt (6.3 KB)

pinmux_2340000.txt (31.4 KB)

codec regdump:

codec_regdump.txt (2.9 KB)

on devkit, using default JP6.2 source code, using command below, no sound

amixer -c APE cset name=“I2S1 Mux” “ADMAIF1”
#amixer -c APE cset name=“I2S1 codec frame mode” “dsp-a”

amixer -c APE cset name=“CVB-RT HP Playback Volume” 30
amixer -c APE cset name=“CVB-RT Stereo DAC MIXR DAC R1 Switch” “on”
amixer -c APE cset name=“CVB-RT Stereo DAC MIXL DAC L1 Switch” “on”
amixer -c APE cset name=“CVB-RT HP R Playback Switch” “on”
amixer -c APE cset name=“CVB-RT HP L Playback Switch” “on”

aplay -D hw:APE,0 test.wav

  • Current status
root@tegra:~# amixer -c APE cset name=“CVB-RT HP Playback Volume” 30
amixer: Cannot find the given element from control sysdefault:1


there is no CVB mixer

root@tegra:~# amixer -c APE controls | grep CVB
root@tegra:~#

sound cards info

root@tegra:~# cat /proc/asound/cards
0 [HDA ]: tegra-hda - NVIDIA Jetson AGX Orin HDA
NVIDIA Jetson AGX Orin HDA at 0x3518000 irq 124
1 [APE ]: tegra-ape - NVIDIA Jetson AGX Orin APE
NVIDIA-NVIDIAJetsonAGXOrinDeveloperKit-NotSpecified-Jetson

rtl5640 sound card

root@tegra:~# lsmod | grep 5640
snd_soc_rt5640 126976 0
snd_soc_rl6231 16384 1 snd_soc_rt5640

kernel log no asoc content

root@tegra:~# dmesg | grep “ASoC”
root@tegra:~#

so the problem may lies in the no CVB mixer? how to fix this?

Could you clarify if you are using a custom CVB?
If it is not a custom board, the standard BSP image is configured to enable the I2S1 codec by default. Since you are using the DevKit, these controls are already initialized via the .conf file during boot.
You should be able to verify the audio directly by playing to the ADMAIF0 PCM device. Please try the following:

aplay -D hw:APE,0 <your_file.wav>