Displayport audio output problem on TX2's Dp0

I configured a dual monitor with displayport and Hdmi on Tx2. Dp0 is configured as displayport, DP1 as hdmi.
The dts in the displayport forum were used to create and run the sub-board on the display connector (J23) of the EVM board.
Video operation is normal. However, the OS does not recognize the audio as a device.
Can anyone help me? Thanks a lot.


For test purposes can you try …

$ speaker-test -D hw:tegrahda,3 -c 2 -r 48000 -F S16_LE -t sine -f 500

This should play a tone on left and right channels. You can vary the number of channels as needed by setting the ‘-c’ option.

If this is working fine, then if you want to select this audio interface as the default interface can you add the following to the file /usr/share/alsa/cards/tegra-hda.conf …

tegra-hda.pcm.hdmi.0 {
        @args [ CARD AES0 AES1 AES2 AES3 ]
        @args.CARD { type string }
        @args.AES0 { type integer }
        @args.AES1 { type integer }
        @args.AES2 { type integer }
        @args.AES3 { type integer }
        type hooks
        slave.pcm {
                type hw
                card $CARD
                device 3
        hint.device 3

Note you will need to restart pulseaudio or reboot after making the above change. You can restart pulseaudio by …

$ pulseaudio -k


It works fine.
Thank you.