Hi
I have tried everything under the sun to get a PI3 (/proc/cpuinfo below) working with a HifiBerry DACplus. The hardware all previously worked fine with an old install of OSMC, however I upgraded for a couple of reasons to latest OSMC(Wifi network not working right, version very old and I forgot password in the end).
It seems whatever I do I cannot get the HiFiBerry to be recognised now. aplay -l will only list what I think is a HDMI output. I've also used lsmod and all relevant modules seem to be loaded. I cannot figure any way to do some debug to see if the device is being recognised or perhaps some low level gpio/i2c tests to check the hardware. config .txt and config-user.txt I think are set correctly.
Can anyone suggest anything else to try? A low level test of the card would be really handy.
Finally it was a few years ago I first set this up with the old OSMC install, but I seem to remember I had to do something specific with gpio settings. I could be wrong or maybe that's just an old trick no longer needed. I can find no reference to any such setting these days
many thanks in advance
root@osmc:/sys/class/gpio# cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 4 (v7l)
<snip>
CPU revision : 4
Hardware : BCM2835
Revision : a02082
Serial : 00000000b4e16278
Model : Raspberry Pi 3 Model B Rev 1.2
root@osmc:/sys/class/gpio# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi [vc4-hdmi], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
root@osmc:/sys/class/gpio#
root@osmc:/sys/class/gpio# lsmod
Module Size Used by
8021q 32768 0
garp 20480 1 8021q
stp 16384 1 garp
llc 16384 2 garp,stp
cmac 16384 2
algif_hash 16384 1
aes_arm_bs 24576 2
crypto_simd 16384 1 aes_arm_bs
cryptd 28672 2 crypto_simd
algif_skcipher 16384 1
af_alg 28672 6 algif_hash,algif_skcipher
bnep 20480 2
snd_soc_pcm512x_i2c 16384 0
snd_soc_pcm512x 32768 1 snd_soc_pcm512x_i2c
regmap_i2c 16384 1 snd_soc_pcm512x_i2c
iptable_nat 16384 0
nf_nat 49152 1 iptable_nat
nf_conntrack 147456 1 nf_nat
nf_defrag_ipv6 20480 1 nf_conntrack
nf_defrag_ipv4 16384 1 nf_conntrack
iptable_mangle 16384 0
iptable_filter 16384 0
hci_uart 45056 1
rt2800usb 28672 0
btbcm 20480 1 hci_uart
rt2800lib 159744 1 rt2800usb
vc4 315392 5
snd_soc_hifiberry_dacplus 16384 0
rt2x00usb 24576 1 rt2800usb
bluetooth 466944 28 hci_uart,bnep,btbcm
snd_soc_hdmi_codec 20480 1
rt2x00lib 65536 3 rt2800lib,rt2800usb,rt2x00usb
brcmfmac 356352 0
mac80211 909312 3 rt2800lib,rt2x00lib,rt2x00usb
cec 57344 2 vc4
ecdh_generic 16384 1 bluetooth
brcmutil 24576 1 brcmfmac
bcm2835_isp 32768 0
bcm2835_codec 49152 0
bcm2835_v4l2 49152 0
drm_kms_helper 307200 2 vc4
sha256_generic 16384 0
ecc 53248 1 ecdh_generic
v4l2_mem2mem 40960 1 bcm2835_codec
bcm2835_mmal_vchiq 36864 3 bcm2835_isp,bcm2835_codec,bcm2835_v4l2
cfg80211 839680 3 rt2x00lib,mac80211,brcmfmac
crc_ccitt 16384 1 rt2800lib
libarc4 16384 1 mac80211
videobuf2_dma_contig 20480 2 bcm2835_isp,bcm2835_codec
videobuf2_vmalloc 16384 1 bcm2835_v4l2
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
videobuf2_memops 16384 2 videobuf2_dma_contig,videobuf2_vmalloc
sysimgblt 16384 1 drm_kms_helper
videobuf2_v4l2 36864 4 bcm2835_isp,bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem
fb_sys_fops 16384 1 drm_kms_helper
snd_soc_bcm2835_i2s 20480 0
snd_soc_core 262144 5 snd_soc_pcm512x,vc4,snd_soc_hdmi_codec,snd_soc_hifiberry_dacplus,snd_soc_bcm2835_i2s
raspberrypi_hwmon 16384 0
videobuf2_common 73728 8 bcm2835_isp,bcm2835_codec,videobuf2_dma_contig,videobuf2_vmalloc,videobuf2_memops,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
snd_compress 20480 1 snd_soc_core
rfkill 32768 5 rt2x00lib,bluetooth,cfg80211
snd_pcm_dmaengine 16384 1 snd_soc_core
videodev 262144 6 bcm2835_isp,bcm2835_codec,videobuf2_common,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
snd_pcm 131072 7 snd_compress,snd_soc_pcm512x,snd_pcm_dmaengine,snd_soc_hdmi_codec,snd_soc_hifiberry_dacplus,snd_soc_bcm2835_i2s,snd_soc_core
mc 53248 6 bcm2835_isp,bcm2835_codec,videobuf2_common,videodev,v4l2_mem2mem,videobuf2_v4l2
i2c_bcm2835 16384 0
snd_timer 36864 1 snd_pcm
snd 90112 6 snd_compress,snd_soc_pcm512x,snd_soc_hdmi_codec,snd_timer,snd_soc_core,snd_pcm
vc_sm_cma 32768 2 bcm2835_isp,bcm2835_mmal_vchiq
uio_pdrv_genirq 16384 0
uio 20480 1 uio_pdrv_genirq
fixed 16384 0
drm 610304 5 vc4,drm_kms_helper
drm_panel_orientation_quirks 16384 1 drm
backlight 20480 2 drm_kms_helper,drm
fuse 143360 1
ip_tables 28672 3 iptable_mangle,iptable_filter,iptable_nat
x_tables 36864 4 iptable_mangle,ip_tables,iptable_filter,iptable_nat
ipv6 565248 42
root@osmc:/sys/class/gpio#
root@osmc:/sys/class/gpio# cat /boot/config.txt /boot/config-user.txt
sdtv_aspect=1
#dtoverlay=spi-bcm2835-overlay
start_x=1
hdmi_ignore_edid_audio=1
hdmi_ignore_audio=1
#dtparam=i2s=on
dtdebug=1
dtoverlay=hifiberry-dacplus
#dtoverlay = vc4-kms-v3d,noaudio
dtparam=audio=off
dtparam=audio=off
sdtv_aspect=1
#dtoverlay=hifiberry-dac
start_x=1
root@osmc:/sys/class/gpio#