Hello,
I wrote a fresh HifiBerry OS on a Sandisk Ultra 32GB (the goldish color) card, setup network and enabled connection via ssh. aplay -l seems to recognize my DAC2 HD sound card, but no sound even with the check-system.dac utility. What am I doing wrong?
# sudo aplay -l
-bash: sudo: command not found
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplushd], device 0: HiFiBerry DAC+ HD HiFi pcm179x-hifi-0 [HiFiBerry DAC+ HD HiFi pcm179x-hifi-0]
Subdevices: 0/1
Subdevice #0: subdevice #0
# cat /proc/asound/cards
0 [sndrpihifiberry]: HifiberryDacplu - snd_rpi_hifiberry_dacplushd
snd_rpi_hifiberry_dacplushd
# cat /etc/asound.conf
#
# asound.conf for exclusive audio mode
#
defaults.pcm.rate_converter "samplerate"
defaults.pcm.card 0
defaults.ctl.card 0
pcm.hifiberry {
type hw
card 0
device 0
}
pcm.ttable {
type route
#ttable_config:stereo 0
ttable.0.0 1
ttable.1.1 1
ttable.0.1 0
ttable.1.0 0
slave.pcm "hifiberry"
}
pcm.softvol {
type softvol
slave.pcm "ttable"
control {
name "Softvol"
card 0
}
min_dB -90.2
max_dB 0.0
}
ctl.equal {
type equal;
}
pcm.equal {
type equal;
slave.pcm "plug:softvol";
}
pcm.!default { type plug; slave.pcm "softvol" } # SOFTVOL
#
#
#
#
#
# wget www.hifiberry.com/files/dac/check-system
Connecting to www.hifiberry.com (172.67.68.72:80)
saving to 'check-system'
check-system 100% |********************************| 957 0:00:00 ETA
'check-system' saved
#
#
#
# mv check-system check-system.dac
# chmod u+rx ./check-system.dac
# ./check-system.dac
Checking system
Linux hifiberry 5.15.78-v7l #1 SMP Mon Apr 3 20:04:51 UTC 2023 armv7l GNU/Linux
Kernel: 5.15.78-v7l
NAME=Buildroot
VERSION=2021.11-dirty
ID=buildroot
VERSION_ID=2021.11
PRETTY_NAME="Buildroot 2021.11"
grep: /etc/modules: No such file or directory
snd_soc_bcm2708 missing in /etc/modules
snd_soc_bcm2708 module not loaded
grep: /etc/modprobe.d/*blacklist*: No such file or directory
grep: /etc/modules: No such file or directory
snd_soc_bcm2708_i2s missing in /etc/modules
snd_soc_bcm2708_i2s module not loaded
grep: /etc/modprobe.d/*blacklist*: No such file or directory
grep: /etc/modules: No such file or directory
bcm2708_dmaengine missing in /etc/modules
bcm2708_dmaengine module not loaded
grep: /etc/modprobe.d/*blacklist*: No such file or directory
grep: /etc/modules: No such file or directory
snd_soc_pcm5102a missing in /etc/modules
snd_soc_pcm5102a module not loaded
grep: /etc/modprobe.d/*blacklist*: No such file or directory
grep: /etc/modules: No such file or directory
snd_soc_hifiberry_dac missing in /etc/modules
grep: /etc/modprobe.d/*blacklist*: No such file or directory
module file /lib/modules/5.15.78-v7l/kernel/drivers/dma/bcm2708-dmaengine.ko not found
module file /lib/modules/5.15.78-v7l/kernel/sound/soc/bcm/snd-soc-bcm2708-i2s.ko not found
module file /lib/modules/5.15.78-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_dacplushd], device 0: HiFiBerry DAC+ HD HiFi pcm179x-hifi-0 [HiFiBerry DAC+ HD HiFi pcm179x-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Connecting to www.hifiberry.com (104.26.5.229:80)
saving to 'sin1000_48khz.wav'
sin1000_48khz.wav 100% |********************************| 5625k 0:00:00 ETA
'sin1000_48khz.wav' saved
Playing WAVE 'sin1000_48khz.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, S tereo
# ./check-system.dac
Checking system
Linux hifiberry 5.15.78-v7l #1 SMP Mon Apr 3 20:04:51 UTC 2023 armv7l GNU/Linux
Kernel: 5.15.78-v7l
NAME=Buildroot
VERSION=2021.11-dirty
ID=buildroot
VERSION_ID=2021.11
PRETTY_NAME="Buildroot 2021.11"
grep: /etc/modules: No such file or directory
snd_soc_bcm2708 missing in /etc/modules
snd_soc_bcm2708 module not loaded
grep: /etc/modprobe.d/*blacklist*: No such file or directory
grep: /etc/modules: No such file or directory
snd_soc_bcm2708_i2s missing in /etc/modules
snd_soc_bcm2708_i2s module not loaded
grep: /etc/modprobe.d/*blacklist*: No such file or directory
grep: /etc/modules: No such file or directory
bcm2708_dmaengine missing in /etc/modules
bcm2708_dmaengine module not loaded
grep: /etc/modprobe.d/*blacklist*: No such file or directory
grep: /etc/modules: No such file or directory
snd_soc_pcm5102a missing in /etc/modules
snd_soc_pcm5102a module not loaded
grep: /etc/modprobe.d/*blacklist*: No such file or directory
grep: /etc/modules: No such file or directory
snd_soc_hifiberry_dac missing in /etc/modules
grep: /etc/modprobe.d/*blacklist*: No such file or directory
module file /lib/modules/5.15.78-v7l/kernel/drivers/dma/bcm2708-dmaengine.ko not found
module file /lib/modules/5.15.78-v7l/kernel/sound/soc/bcm/snd-soc-bcm2708-i2s.ko not found
module file /lib/modules/5.15.78-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_dacplushd], device 0: HiFiBerry DAC+ HD HiFi pcm179x-hifi-0 [HiFiBerry DAC+ HD HiFi pcm179x-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Playing WAVE 'sin1000_48khz.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, S tereo
# ^C
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplushd], device 0: HiFiBerry DAC+ HD HiFi pcm179x-hifi-0 [HiFiBerry DAC+ HD HiFi pcm179x-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
#
#
#
# cat /boot/config.txt
# Please note that this is only a sample, we recommend you to change it to fit
# your needs.
# You should override this file using a post-build script.
# See http://buildroot.org/manual.html#rootfs-custom
# and http://elinux.org/RPiconfig for a description of config.txt syntax
# We always use the same names, the real used variant is selected by
# BR2_PACKAGE_RPI_FIRMWARE_{DEFAULT,X,CD} choice
start_file=start.elf
fixup_file=fixup.dat
kernel=zImage
# To use an external initramfs file
#initramfs rootfs.cpio.gz
# Disable overscan assuming the display supports displaying the full resolution
# If the text shown on the screen disappears off the edge, comment this out
disable_overscan=1
# How much memory in MB to assign to the GPU on Pi models having
# 256, 512 or 1024 MB total memory
gpu_mem_256=100
gpu_mem_512=100
gpu_mem_1024=100
# Enable I2C and SPI
dtparam=i2c=on
dtparam=spi=on
dtoverlay=i2c-gpio,i2c_gpio_sda=0,i2c_gpio_scl=1
dtoverlay=vc4-fkms-v3d,audio=off
force_eeprom_read=0
dtoverlay=hifiberry-dacplushd