amixer_controls.txt (54.8 KB)
Hi Nvidia,
I use custom board AGX Orin with Jetpack 7.2.
During microphone testing, audio capture/recording does not work, although audio playback functions properly.
I assume the driver and DTS configurations are correct. However, following the amixer setup method from the documentation still failed to enable audio recording. The hardware path should be fine, as it worked properly on JetPack 6.2.1. Furthermore, our design follows the reference board configuration and utilizes the I2S1 interface.
Could you please let me know if I missed any settings?
Thanks!!!
Provide the below debug logs:
$sudo dmesg | grep sound
[ 0.044305] Advanced Linux Sound Architecture Driver Initialized.
[ 4.634990] No soundcards found.
[ 9.542887] input: NVIDIA Jetson AGX Orin HDA HDMI/DP,pcm=3 as /devices/platform/bus@0/3510000.hda/sound/card0/input1
[ 9.542951] input: NVIDIA Jetson AGX Orin HDA HDMI/DP,pcm=7 as /devices/platform/bus@0/3510000.hda/sound/card0/input2
[ 9.543014] input: NVIDIA Jetson AGX Orin HDA HDMI/DP,pcm=8 as /devices/platform/bus@0/3510000.hda/sound/card0/input3
[ 9.544625] input: NVIDIA Jetson AGX Orin HDA HDMI/DP,pcm=9 as /devices/platform/bus@0/3510000.hda/sound/card0/input4
[ 10.849657] tegra-audio-graph-card sound: Registered APE graph sound card with DPCM links for AHUB
[ 10.867798] tegra-mixer-controls sound:mixer-controls: Begin probe of override control device
[ 10.872492] tegra-mixer-controls sound:mixer-controls: Registered override controls for APE sound card
$ cat /proc/asound/cards
0 [HDA ]: tegra-hda - NVIDIA Jetson AGX Orin HDA
NVIDIA Jetson AGX Orin HDA at 0x3518000 irq 214
1 [APE ]: tegra-ape - NVIDIA Jetson AGX Orin APE
NVIDIA-NVIDIAJetsonAGXOrinDeveloperKit-NotSpecified-Jetson
$sudo i2cdetect -y -r 31e0000.i2c
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- UU -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
$ cat /sys/kernel/debug/asoc/components
sound
2903b00.adx
290f000.admaif
2903a00.adx
2901500.i2s
2903900.adx
2901300.i2s
2903800.adx
2904200.dmic
290a200.mvc
2908000.processing-engine
290a000.mvc
2902600.sfc
2902400.sfc
2902200.sfc
2910000.asrc
290bb00.amixer
2902000.sfc
2901100.i2s
2901000.i2s
2903300.amx
2903200.amx
2903100.amx
2903000.amx
2900800.ahub
rt5640.8-001c
snd-soc-dummy
snd-soc-dummy
Based on the NVIDIA documentation at the link below, the following amixer controls were configured:
For stereo mic capture from both recording ports:
amixer -c APE cset name="ADMAIF1 Mux" "I2S1"
amixer -c APE cset name="CVB-RT RECMIXL BST1 Switch" "on"
amixer -c APE cset name="CVB-RT RECMIXR BST2 Switch" "on"
amixer -c APE cset name="CVB-RT IN1 Boost" 8
amixer -c APE cset name="CVB-RT IN2 Boost" 8
amixer -c APE cset name="CVB-RT Stereo ADC1 Mux" "ADC"
amixer -c APE cset name="CVB-RT Stereo ADC MIXL ADC1 Switch" "on"
amixer -c APE cset name="CVB-RT Stereo ADC MIXR ADC1 Switch" "on"