I am trying to get a HiFiBerry DAC working on a Raspberry Pi 4 running Ubuntu 23.10. I can see that unlike Raspberry Pi OS, Ubuntu lacks the hifiberry dtb files in /boot. I grabbed a copy of the overlays folder in /boot from the RPi OS. I also created /boot/config.txt and I put dtoverlay=hifiberry-dacplus in it. By this point, it should be clear that I do not have a clue what I am doing, so it should not be surprising that I am still not able to access the HiFiBerry DAC. There is a file named config-6.5.0-1006-raspi in /boot which is a make config build file. I suppose that I need to make something to let the OS know that the dtb files exist. Any help appreciated.
Date
Votes
2 comments
-
Jeffrey Barish I discovered that Ubuntu does have hifiberry dtbo files. They are in the folder /boot/firmware/overlays. Their presence indicates that HiFiBerry products should work on Ubuntu. However, no modules get loaded (e.g., snd_soc_hifiberry_dacplus). I can load them manually with modprobe, but they do not get used. It seems as if I need to check a box somewhere to enable these overlays.
-
Jeffrey Barish I got sound working by editing /boot/firmware/config.txt. I commented out the line dtparam=audio=on and I added at the end the line dtoverlay=hifiberry-dacplus. I rebooted. aplay -l now has card 0: sndrpihifiberry. The sound is quieter than it should be, but at least I hear something.
Please sign in to leave a comment.