maybe someone has an idea what could be wrong: I have a HifiBerry DAC2 Pro sitting on a Raspberry Pi 3 B+ but all I get is silence, noise or distorted sounds.
The hardware is detected correctly without any configuration
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ HiFi pcm512x-hifi-0 [HiFiBerry DAC+ HiFi pcm512x-hifi-0]
Subdevice #0: subdevice #0
but for troubleshooting I also tried some options including
and different output format settings in mpd, but nothing helped.
So far I have heard
- no sound at all or very quiet noise
- loud noise, that I can turn down using the volume control
- audio but played too slow and therefore also too low (depending on my settings running I'd say it is running at half or one quarter of the correct speed – Nancy Sinatra sounds like Barry White and the songs are a lot longer than they should be)
I am running Raspbian Pi OS with kernel version
$ uname -a
Linux wip 5.10.52-v8+ #1440 SMP PREEMPT Tue Jul 27 09:56:40 BST 2021 aarch64 GNU/Linu
Some switches, LEDs and rotary encoders are connected to GPIOs 9, 10, 11, 22, 23, 24, 25, 26, 27, but if I didn't mix the numbers up, there should not be a conflict with the Hifiberry DAC+ Pro.
At the beginning I have used the pins with dtoverlays (gpio-shutdown, gpio-key and rotary-encoder), but even with these lines commented out it doesn't work.
Any help would be greatly appreciated!