Following up on my previous comment, I have tried various option as listed by Harry above in Libre ELEC on an SD card with no SSD installed and the DAC is not showing up. My final config.txt is below but I had also tried with
detoverlay=
dtoverlay=hifiberry-dacplus-std
at the start of the file
LibreELEC:~ # cat /flash/config.txt
dtoverlay=
dtoverlay=hifiberry-dacplus,slave
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# Bootloader configuration
# config.txt version v1 (do not remove or change this line!)
################################################################################
# For more options and information see
# http://rpf.io/configtxt
################################################################################
# Don't send initial active source message.
# Avoids bringing CEC (enabled TV) out of standby and channel switch when
# rebooting.
hdmi_ignore_cec_init=1
dtoverlay=vc4-kms-v3d,noaudio
usb_max_current_enable=1
[all]
################################################################################
# Use distroconfig-composite.txt instead of distroconfig.txt to enable
# composite video output.
# The composite video mode needs to be configured in cmdline.txt:
# For PAL add: video=Composite-1:720x576@50ie
# For NTSC add: video=Composite-1:720x480@60ie
################################################################################
include distroconfig.txt
#include distroconfig-composite.txt
# uncomment to enable infrared remote receiver connected to GPIO 18
#dtoverlay=gpio-ir,gpio_pin=18
#dtoverlay=hifiberry-dacplus,slave
LibreELEC:~ #
aplay -l lists no soundcards found after each reboot. It looks like I have both overlays installed:
LibreELEC:/flash/overlays # ls hifi*
hifiberry-amp.dtbo hifiberry-dacplus.dtbo
hifiberry-amp100.dtbo hifiberry-dacplusadc.dtbo
hifiberry-amp3.dtbo hifiberry-dacplusadcpro.dtbo
hifiberry-amp4pro.dtbo hifiberry-dacplusdsp.dtbo
hifiberry-dac.dtbo hifiberry-dacplushd.dtbo
hifiberry-dac8x.dtbo hifiberry-digi-pro.dtbo
hifiberry-dacplus-pro.dtbo hifiberry-digi.dtbo
hifiberry-dacplus-std.dtbo
I will see if the PiHut can test the card to see whether it is faulty.