I am trying to use vlc. My compiled version works with the internal, so there is no issue there.
Output of aplay -l is:
aplay: device_list:268: no soundcards found...
Dmesg gave some strange results:
[ 36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[ 36.176536] pcm512x 1-004d: Failed to get supplies: -517
[ 36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[ 36.191762] pcm512x 1-004d: Failed to get supplies: -517
[ 36.194345] snd-rpi-hifiberry-dacplus soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry
[ 36.238860] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[ 36.238867] pcm512x 1-004d: Failed to get supplies: -517
[ 36.239070] snd-rpi-hifiberry-dacplus soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry
[ 36.246779] usbcore: registered new interface driver brcmfmac
[ 36.247670] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[ 36.247679] pcm512x 1-004d: Failed to get supplies: -517
[ 36.247871] snd-rpi-hifiberry-dacplus soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry
lsmod gave me this:
Module Size Used by Not tainted
ipv6 410176 18 [permanent]
i2c_dev 7287 0
brcmfmac 211043 0
brcmutil 9223 1 brcmfmac
cfg80211 548840 1 brcmfmac
rfkill 21321 2 cfg80211
snd_soc_hifiberry_dacplus 4904 0
snd_soc_bcm2835_i2s 6347 0
snd_soc_pcm512x_i2c 2730 0
snd_soc_pcm512x 20272 1 snd_soc_pcm512x_i2c
snd_soc_core 177338 3 snd_soc_hifiberry_dacplus,snd_soc_bcm2835_i2s,snd_soc_pcm512x
snd_pcm_dmaengine 6034 1 snd_soc_core
snd_pcm 97468 4 snd_soc_hifiberry_dacplus,snd_soc_pcm512x,snd_soc_core,snd_pcm_dmaengine
snd_timer 23881 1 snd_pcm
snd_compress 9996 1 snd_soc_core
snd 70476 4 snd_soc_core,snd_pcm,snd_timer,snd_compress
clk_hifiberry_dacpro 2870 0
squashfs 34499 0
zram 23021 1
zsmalloc 18832 1 zram
i2c_bcm2835 6293 0
spi_bcm2835 7468 0
bcm2835_gpiomem 3783 0
uio_pdrv_genirq 3788 0
uio 10425 1 uio_pdrv_genirq
[EDIT]: Code tags added. Rich