0

No ALSA audio from Hifiberry Digi+ on Raspberry Pi OS

Hi

I have a Hifiberry DIGI+ Standard mounted on a Raspberry Pi 4 and cannot get any sound out of either the TOSLink nor the electrical output.

Posting this here in hope someone can see where I am going wrong before I send it back as faulty. My set-up is as follows:

Latest Raspberry Pi OS Lite booting off an SD card.

uname -a
Linux hipi-study 6.6.74+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.74-1+rpt1 (2025-01-27) aarch64 GNU/Linux

I have configured the Hifiberry following the advice here:

https://www.hifiberry.com/docs/software/configuring-linux-3-18-x/

EDIT CONFIG.TXT:

sudo cp /boot/firmware/config.txt /boot/firmware/config.txt.bak
sudo vi /boot/firmware/config.txt
I have commented this out:
# dtparam=audio=on

I have added 'noaudio' here:

dtoverlay=vc4-kms-v3d,noaudio
I have added this line:
dtoverlay=hifiberry-digi #enable Digi+ Standard


EDIT ASOUND.CONF:

sudo vi /etc/asound.conf

pcm.!default {
  type hw card 0
}
ctl.!default {
  type hw card 0
}

After a reboot I have this:

 aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_digi], device 0: HifiBerry Digi HiFi wm8804-spdif-0 [HifiBerry Digi HiFi wm8804-spdif-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

To test I download a stereo wav as follows:

wget https://download.samplelib.com/wav/sample-3s.wav

and play it:

aplay ./sample-3s.wav

but I get absolutely no signal from the optical or electrical output of the Hifiberry.

I have also tried adding the following to my config.txt as per the iunstructions since I am running a newer kernel but this results in no soundcard being detected after rebooting:L

force_eeprom_read=0
aplay -l
aplay: device_list:274: no soundcards found...

Any help would be much appreciated!!

Many thanks
Nick

2 comments

Please sign in to leave a comment.