0

DAC+ Pro doesn't work on Raspbian.

Hi, 

I have a HiFiBerry DAC+ (HW 2.6).

DAC+ Pro doesn't work on Raspbian.

When I play roon bridge, following error occurs.

$ dmesg

[   46.102957] pcm512x 1-004d: Failed to remove power down: -121
[   53.609424] pcm512x 1-004d: Failed to set frame size: -121
[   53.609434] pcm512x 1-004d: ASoC: can't set pcm512x-hifi hw params: -121

$ play -n synth sine 1000

play FAIL formats: can't open output file `default': snd_pcm_open error: Device or resource busy

 

 

— my environment —

pi@roon:~/temp$ uname -a

Linux muse 4.14.29-v7+ #1101 SMP Thu Mar 22 17:27:30 GMT 2018 armv7l GNU/Linux

 

pi@roon:~/temp$ cat /boot/config.txt 

#dtparam=audio=on

dtoverlay=hifiberry-dacplus

dtdebug=1

 

pi@roon:~/temp$ aplay -l

**** List of PLAYBACK Hardware Devices ****

card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ Pro HiFi pcm512x-hifi-0 []

  Subdevices: 0/1

  Subdevice #0: subdevice #0

 

pi@roon:~/temp$ cat /etc/asound.conf 

pcm.!default  {

 type hw card 0

}

ctl.!default {

 type hw card 0

}

 

When I play roon bridge, following error occurs.

 

pi@roon:~/temp$ dmesg

[   10.870641] snd-rpi-hifiberry-dacplus soc:sound: ASoC: CPU DAI (null) not registered - will retry

[   10.886948] snd-rpi-hifiberry-dacplus soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry

[   11.145563] brcmfmac: F1 signature read @0x18000000=0x1541a9a6

[   46.102957] pcm512x 1-004d: Failed to remove power down: -121

[   53.609424] pcm512x 1-004d: Failed to set frame size: -121

[   53.609434] pcm512x 1-004d: ASoC: can't set pcm512x-hifi hw params: -121

[   53.712438] pcm512x 1-004d: Failed to set frame size: -121

[   53.712447] pcm512x 1-004d: ASoC: can't set pcm512x-hifi hw params: -121

 

 

pi@roon:~/temp$ play -n synth sine 1000

play FAIL formats: can't open output file `default': snd_pcm_open error: Device or resource busy

 

 

pi@roon:~/temp$ aplay -L

null

    Discard all samples (playback) or generate zero samples (capture)

default

sysdefault:CARD=sndrpihifiberry

    snd_rpi_hifiberry_dacplus, 

    Default Audio Device

dmix:CARD=sndrpihifiberry,DEV=0

    snd_rpi_hifiberry_dacplus, 

    Direct sample mixing device

dsnoop:CARD=sndrpihifiberry,DEV=0

    snd_rpi_hifiberry_dacplus, 

    Direct sample snooping device

hw:CARD=sndrpihifiberry,DEV=0

    snd_rpi_hifiberry_dacplus, 

    Direct hardware device without any conversions

plughw:CARD=sndrpihifiberry,DEV=0

    snd_rpi_hifiberry_dacplus, 

    Hardware device with all software conversions

 

 

1 comment

Please sign in to leave a comment.