I even reinstalled pulseaudio to see if that was an issue, but problem persists
DMESG gives the following clues......
Terminal
[ 5.711461] snd-rpi-wm8804 soc:sound: ASoC: failed to init link HifiBerry Dig i: -517
[ 5.743959] videodev: Linux video capture interface: v2.00
[ 5.781492] bcm2835_mmal_vchiq: module is from the staging directory, the qua lity is unknown, you have been warned.
[ 5.806581] bcm2835_mmal_vchiq: module is from the staging directory, the qua lity is unknown, you have been warned.
[ 5.806758] snd-rpi-wm8804 soc:sound: ASoC: failed to init link HifiBerry Dig i: -517
[ 5.812081] bcm2835_v4l2: module is from the staging directory, the quality i s unknown, you have been warned.
[ 5.813362] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.822480] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.841297] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 5.841324] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 6.036516] cfg80211: Loading compiled-in X.509 certificates for regulatory d atabase
[ 6.096355] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[ 6.099756] snd-rpi-wm8804 soc:sound: ASoC: failed to init link HifiBerry Dig i: -517
[ 6.182882] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 6.186320] platform regulatory.0: Direct firmware load for regulatory.db fai led with error -2
[ 6.186333] cfg80211: failed to load regulatory.db
[ 6.276984] snd-rpi-wm8804 soc:sound: ASoC: failed to init link HifiBerry Dig i: -517
[ 6.277779] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 6.284459] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio f or chip BCM4345/6
[ 6.288641] usbcore: registered new interface driver brcmfmac
[ 6.288958] snd-rpi-wm8804 soc:sound: ASoC: failed to init link HifiBerry Dig i: -517
[ 6.297367] wm8804 1-003b: Failed to read device ID: -121
[ 6.297672] wm8804: probe of 1-003b failed with error -121
[ 6.297876] snd-rpi-wm8804 soc:sound: ASoC: failed to init link HifiBerry Dig i: -517
wm8804 is being reported so I checked with lsmod | grep wm8804
Terminal
xbian@Cinema4Film ~ $ sudo lsmod | grep wm8804
snd_soc_wm8804_i2c 16384 0
snd_soc_wm8804 16384 1 snd_soc_wm8804_i2c
regmap_i2c 16384 1 snd_soc_wm8804_i2c
snd_soc_rpi_wm8804_soundcard 20480 0
snd_soc_core 172032 4 snd_soc_rpi_wm8804_soundcard,snd_soc_wm8804,vc4,snd_soc_bcm2835_i2s
snd_pcm 86016 6 snd_soc_wm8804,vc4,snd_pcm_dmaengine,snd_soc_bcm2835_i2s,snd_bcm2835,snd_soc_core
Not sure how this is happening as etc/modules has the following....
Terminal
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
uinput
#snd-bcm2835
#snd_soc_pcm5102a
snd_soc_hifiberry_dac
snd_soc_bcm2708
snd_soc_bcm2708_i2s
bcm2708_dmaengine
#snd_soc_pcm5102a <---This one must be commented out.
snd_soc_hifiberry_digi
#snd-soc-wm8804
i2c-bcm2708
i2c-dev
and etc/modules.xbian has the following...
Terminal
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.
#snd_bcm2835
lsmod
Terminal
xbian@Cinema4Film /etc $ lsmod
Module Size Used by
cpufreq_conservative 16384 1
snd_bcm2835 28672 0
zram 24576 1
zsmalloc 24576 1 zram
bnep 28672 2
hci_uart 49152 1
btbcm 16384 1 hci_uart
serdev 20480 1 hci_uart
bluetooth 454656 24 hci_uart,bnep,btbcm
ecdh_generic 16384 1 bluetooth
ecc 32768 1 ecdh_generic
snd_soc_wm8804_i2c 16384 0
snd_soc_wm8804 16384 1 snd_soc_wm8804_i2c
regmap_i2c 16384 1 snd_soc_wm8804_i2c
brcmfmac 286720 0
brcmutil 20480 1 brcmfmac
sha256_generic 16384 0
libsha256 20480 1 sha256_generic
vc4 221184 3
evdev 24576 1
cec 40960 1 vc4
cfg80211 581632 1 brcmfmac
snd_soc_rpi_wm8804_soundcard 20480 0
v3d 53248 1
snd_soc_bcm2835_i2s 24576 0
drm_kms_helper 139264 3 vc4
gpu_sched 28672 1 v3d
snd_soc_core 172032 4 snd_soc_rpi_wm8804_soundcard,snd_soc_wm8804,vc4, snd_soc_bcm2835_i2s
rfkill 24576 3 bluetooth,cfg80211
raspberrypi_hwmon 16384 0
snd_compress 24576 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
drm 364544 7 v3d,vc4,gpu_sched,drm_kms_helper
snd_pcm 86016 6 snd_soc_wm8804,vc4,snd_pcm_dmaengine,snd_soc_bcm 2835_i2s,snd_bcm2835,snd_soc_core
snd_timer 32768 1 snd_pcm
bcm2835_isp 28672 0
drm_panel_orientation_quirks 16384 1 drm
bcm2835_v4l2 45056 0
bcm2835_codec 32768 0
i2c_bcm2835 16384 0
bcm2835_mmal_vchiq 32768 3 bcm2835_isp,bcm2835_codec,bcm2835_v4l2
snd 61440 5 snd_compress,snd_timer,snd_bcm2835,snd_soc_core, snd_pcm
v4l2_mem2mem 24576 1 bcm2835_codec
videobuf2_dma_contig 24576 2 bcm2835_isp,bcm2835_codec
videobuf2_vmalloc 20480 1 bcm2835_v4l2
videobuf2_memops 20480 2 videobuf2_dma_contig,videobuf2_vmalloc
videobuf2_v4l2 24576 4 bcm2835_isp,bcm2835_codec,bcm2835_v4l2,v4l2_mem2 mem
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
videobuf2_common 49152 5 bcm2835_isp,bcm2835_codec,bcm2835_v4l2,v4l2_mem2 mem,videobuf2_v4l2
sysimgblt 16384 1 drm_kms_helper
videodev 200704 6 bcm2835_isp,bcm2835_codec,videobuf2_common,bcm28 35_v4l2,v4l2_mem2mem,videobuf2_v4l2
fb_sys_fops 16384 1 drm_kms_helper
vc_sm_cma 40960 2 bcm2835_isp,bcm2835_mmal_vchiq
mc 45056 6 bcm2835_isp,bcm2835_codec,videobuf2_common,video dev,v4l2_mem2mem,videobuf2_v4l2
rpivid_mem 16384 0
uio_pdrv_genirq 16384 0
uio 20480 1 uio_pdrv_genirq
i2c_dev 24576 0
i2c_bcm2708 16384 0
uinput 20480 0
But still aplay-l doesn't see any card....
Terminal
xbian@Cinema4Film ~ $ aplay -l
aplay: device_list:272: no soundcards found...
???