0

mpd config for audio_output Raspberry Pi 3 debian

Hello —

I have two Raspberry 3's set up with the DAC+ using mpd/mpc and they sound fantastic. However, on both, I can only get mpd to find the Hifiberry DAC+ by commenting out the audio_output section of mpd.conf and letting mpd try to find the output automatically, which it does. The problem is, that this fails when the system boots up and runs the daemon. I have to manually start the daemon each restart, rather than starting it with init.d script, because it fails to find output.

Dist:

Linux 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux

When I `sudo service mpd start` I get the following errors logged:

[ 6.220282] snd-rpi-hifiberry-dacplus sound: ASoC: CPU DAI (null) not registered
[ 6.220319] snd-rpi-hifiberry-dacplus sound: snd_soc_register_card() failed: -517
[ 6.586026] bcm2835-rng 3f104000.rng: hwrng registered
[ 6.586540] snd-rpi-hifiberry-dacplus sound: ASoC: CPU DAI (null) not registered
[ 6.586558] snd-rpi-hifiberry-dacplus sound: snd_soc_register_card() failed: -517
[ 6.586868] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 6.587087] snd-rpi-hifiberry-dacplus sound: ASoC: CPU DAI (null) not registered
[ 6.587102] snd-rpi-hifiberry-dacplus sound: snd_soc_register_card() failed: -517
[ 6.587370] bcm2708_i2c 3f804000.i2c: BSC1 Controller at 0x3f804000 (irq 79) (baudrate 100000)
[ 6.587571] snd-rpi-hifiberry-dacplus sound: ASoC: CPU DAI (null) not registered
[ 6.587587] snd-rpi-hifiberry-dacplus sound: snd_soc_register_card() failed: -517
[ 6.587956] snd-rpi-hifiberry-dacplus sound: ASoC: CODEC DAI pcm512x-hifi not registered
[ 6.587974] snd-rpi-hifiberry-dacplus sound: snd_soc_register_card() failed: -517

 

And here are the logs when I manually run mpd with just `mpd`:

[ 6.230709] snd-rpi-hifiberry-dacplus sound: ASoC: CPU DAI (null) not registered
[ 6.230753] snd-rpi-hifiberry-dacplus sound: snd_soc_register_card() failed: -517
[ 6.668556] bcm2835-rng 3f104000.rng: hwrng registered
[ 6.668838] snd-rpi-hifiberry-dacplus sound: ASoC: CPU DAI (null) not registered
[ 6.668855] snd-rpi-hifiberry-dacplus sound: snd_soc_register_card() failed: -517
[ 6.669426] bcm2708_i2c 3f804000.i2c: BSC1 Controller at 0x3f804000 (irq 79) (baudrate 100000)
[ 6.669707] snd-rpi-hifiberry-dacplus sound: ASoC: CPU DAI (null) not registered
[ 6.669723] snd-rpi-hifiberry-dacplus sound: snd_soc_register_card() failed: -517
[ 6.670983] snd-rpi-hifiberry-dacplus sound: ASoC: CODEC DAI pcm512x-hifi not registered
[ 6.671006] snd-rpi-hifiberry-dacplus sound: snd_soc_register_card() failed: -517
[ 6.804537] snd-rpi-hifiberry-dacplus sound: pcm512x-hifi <-> 3f203000.i2s mapping ok

 

Any thoughts? I would love to get this running reliably on boot.

2 comments

Please sign in to leave a comment.