I had a working install and then decided to pave and try something else. Didn't work out, so I went back to the pi imager and grabbed the latest image and installed it and followed the instructions as usual to enable the hifi berry.
It shows up with aplay -l no problem.
But playback gets nothing.
Here's the output of the diagnostics tool:
Checking system
Linux office 5.10.92-v7l+ #1514 SMP Mon Jan 17 17:38:03 GMT 2022 armv7l GNU/Linux
Kernel: 5.10.92-v7l+
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
snd_soc_bcm2708 module not loaded
snd_soc_bcm2708_i2s module not loaded
bcm2708_dmaengine module not loaded
snd_soc_hifiberry_dac module not loaded
module file /lib/modules/5.10.92-v7l+/kernel/drivers/dma/bcm2708-dmaengine.ko not found
module file /lib/modules/5.10.92-v7l+/kernel/sound/soc/bcm/snd-soc-bcm2708-i2s.ko not found
module file /lib/modules/5.10.92-v7l+/kernel/sound/soc/bcm/snd-soc-hifiberry-dac.ko not found
Sound cards
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 [HifiBerry DAC HiFi pcm5102a-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Playing WAVE 'sin1000_48khz.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
It's playing, but nothing comes through the speakers. I've hooked the speakers up to another amp and there's no issue.
Ideas?