Hi,
I’m following the instructions in ASoC Driver of Release 23.2 package, however we do have a few questions
- “dmesg | grep ASoC” gives following logs " tegra-snd-t210ref-mobile-rt565x sound.18: ASoC: CODEC (null) not registered"
Is there anyway to register Codec driver, is that in board configuration file, similar as for mipi camera?
2) "cat /sys/kernel/debug/asoc/codecs" appears to give correct list of codecs?
adsp_audio.3
tegra210-ope.1
tegra210-ope.0
tegra210-spdif
tegra210-mvc.1
tegra210-mvc.0
tegra210-afc.5
tegra210-afc.4
tegra210-afc.3
tegra210-afc.2
tegra210-afc.1
tegra210-afc.0
tegra210-sfc.3
tegra210-sfc.2
tegra210-sfc.1
tegra210-sfc.0
tegra210-mixer
tegra210-adx.1
tegra210-adx.0
tegra210-amx.1
tegra210-amx.0
tegra210-dmic.2
tegra210-dmic.1
tegra210-dmic.0
tegra210-i2s.4
tegra210-i2s.3
tegra210-i2s.2
tegra210-i2s.1
tegra210-i2s.0
tegra210-admaif
tegra210-axbar
spdif-dit.3
spdif-dit.2
spdif-dit.1
spdif-dit.0
snd-soc-dummy
- However “aplay -D hw:3 samples.wav” doesn’t work, and complaining “invalid value for card”
ALSA lib pcm_hw.c:1667:(_snd_pcm_hw_open) Invalid value for card
aplay: main:722: audio open error: No such file or directory
My plan is to play demo .wav sound over I2S interface, please let me know what else setting it requires?
The “aplay -L” has following results on Tegra TX1
ubuntu@tegra-ubuntu:~$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Playback/recording through the PulseAudio sound server
music
demixer
voice
aux_plug
music_and_voice
hdmi:CARD=Tegra,DEV=0
HDA NVIDIA Tegra, HDMI 0
HDMI Audio Output
dmix:CARD=Tegra,DEV=3
HDA NVIDIA Tegra, HDMI 0
Direct sample mixing device
dsnoop:CARD=Tegra,DEV=3
HDA NVIDIA Tegra, HDMI 0
Direct sample snooping device
hw:CARD=Tegra,DEV=3
HDA NVIDIA Tegra, HDMI 0
Direct hardware device without any conversions
plughw:CARD=Tegra,DEV=3
HDA NVIDIA Tegra, HDMI 0
Hardware device with all software conversion