Audio Codec for sgtl5000 is not working for L4T 32.6.1 and L4T32.7.2

May be some permission issues with your image which was flashed. Try run with sudo

The dts file “compatible = “fsl,sgtl5000,tegra-audio-sgtl5000”;” seems wrong.

It should be “compatible = fsl,sgtl5000”; for codec driver from sound/soc/codecs/sgtl5000.c

“nvidia,tegra-audio-sgtl5000” string was related to machine driver compatible. Please check the drivers for reference.

I have tried this as well, later changed to have a try. thanks for that.

for the amixer - I have tried as root user as well.

Is your sound card registered?. # cat /proc/asound/cards

Not right? see this log:

nvidia@nvidia-desktop:~$ cat /proc/asound/cards
0 [tegrahdagalent1]: tegra-hda-galen - tegra-hda-galen-t194
tegra-hda-galen-t194 at 0x3518000 irq 73
1 [tegrasndt19xmob]: tegra-snd-t19x- - tegra-snd-t19x-mobile-rt565x
tegra-snd-t19x-mobile-rt565x
nvidia@nvidia-desktop:~$

This is APE sound card.

So you should access mixer controls with card = 1

Hi,
I could not use amixer, but when I check the register value it shows 024: 0132 after playback, but no sound.

Any idea on why very first time immediate after flashing BSP I can hear the sound until I reboot/power cycle?

Hi,
That’s strange behavior that after reboot audio not working. We need to do few things here to check the behavior of codec.

  1. Compare the codec register dumps for working and non-working case during playback.
  2. Probe if I2S signals which are going to codec.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.