0

HifiBerry DAC won't play a sound

I recently bought a pre-soldered HifiBerry DAC. After installing Volumio I can't get it to work.


The device is listed:
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0

All modules are loaded:
snd_soc_rpi_dac 1917 0
snd_soc_hifiberry_digi 2556 0
snd_soc_hifiberry_dac 2075 0
snd_soc_pcm5102a 1378 1
bcm2708_dmaengine 5108 1
virt_dma 2273 1 bcm2708_dmaengine
snd_soc_wm8804 7821 0
snd_soc_bcm2708_i2s 5474 0
regmap_mmio 2806 1 snd_soc_bcm2708_i2s
snd_soc_core 131268 6 snd_soc_wm8804,snd_soc_hifiberry_dac,snd_soc_hifiberry_digi,snd_soc_rpi_dac,snd_soc_pcm5102a,snd_soc_bcm2708_i2s
snd_compress 8076 1 snd_soc_core
regmap_i2c 1645 2 snd_soc_wm8804,snd_soc_core
regmap_spi 1897 2 snd_soc_wm8804,snd_soc_core
snd_pcm 81593 2 snd_soc_core,snd_soc_hifiberry_dac
snd_page_alloc 5156 1 snd_pcm
snd_seq 53769 0
snd_seq_device 6473 1 snd_seq
snd_timer 20133 2 snd_pcm,snd_seq
leds_gpio 2059 0
led_class 3688 1 leds_gpio
8192cu 550816 0
snd 61291 6 snd_soc_core,snd_timer,snd_pcm,snd_seq,snd_seq_device,snd_compress
spi_bcm2708 4728 0
i2c_bcm2708 3997 0

And still there is not audio when doing this:
volumio@volumio:~$ sudo aplay sin1000_48khz.wav
Playing WAVE 'sin1000_48khz.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

No errors in dmesg:
[ 4.871552] bcm2708_i2c_init_pinmode(0,0)
[ 4.877098] bcm2708_i2c_init_pinmode(0,1)
[ 5.048310] bcm2708_i2c bcm2708_i2c.0: BSC0 Controller at 0x20205000 (irq 79) (baudrate 100000)
[ 5.247048] bcm2708_spi bcm2708_spi.0: master is unqueued, this is deprecated
[ 5.323479] bcm2708_spi bcm2708_spi.0: SPI Controller at 0x20204000 (irq 80)
[ 5.459488] bcm2708_i2c_init_pinmode(1,2)
[ 5.465096] bcm2708_i2c_init_pinmode(1,3)
[ 5.549475] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100000)
[ 6.207930] bcm2708-i2s bcm2708-i2s.0: Failed to create debugfs directory
[ 6.831228] usbcore: registered new interface driver rtl8192cu
[ 9.358677] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[ 9.790802] EXT4-fs (mmcblk0p3): Mount option "nouser_xattr" will be removed by 3.5
[ 9.790802] Contact linux-ext4@vger.kernel.org if you think we should keep it.
[ 9.790802]
[ 9.815233] EXT4-fs (mmcblk0p3): re-mounted. Opts: nouser_xattr,errors=remount-ro
[ 10.771965] snd-hifiberry-dac snd-hifiberry-dac.0: pcm5102a-hifi <-> bcm2708-i2s.0 mapping ok


Any ideas how to solve this?

2 comments

Please sign in to leave a comment.