0

DAC+ no sound output

Hi there, as title says i don't get output from DAC+

i'm using the DAC+ for a while since now.

I recently upgraded the raspian Version to stretch(Kernel  4.9.59-v7+).

I checked this forum for indications on what to do to get the DAC working, but i did not find a solution.

symptoms:

no sound output DAC+.

I modified the /boot/config.txt:

added:

dtoverlay=hifiberry-dacplus

(it's printed on bottom of the board - thanks for that, was using hifiberry-dac before that)

<code>

aplay lists

~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ HiFi pcm512x-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

</code>

i left the onboard sound enabled so i can switch between onboard sound and DAC output. Might this be a problem?

aplay -Dhw:1,0 -r48000 /dev/urandom  -fS16_LE -c2 produces no sound but this output:

Playing raw data '/dev/urandom' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

whereas aplay -Dhw:0,0 -r48000 /dev/urandom  -fS16_LE -c2 does sound the onboard sound...

by setting the default hardware to hw 0,0 using /etc/asound.conf sound is generated using play:

 play -r 48000 -n synth sine 2000

but not when using hw 1.

 

I also tested the setup with your provided SD-Card-Image and everything is working fine with it.

 

So i'm suspecting a configuration issue.

Also using your SD-Card-Image the DAC-light-LED is only lighting when a play command is issued,

on my Setup the LED is always on.

 

do you have any hints on what i need to configure to get sound out of this?

 

as a quickfix i'm using your SD-Image and putting my software on top.

I want to use the whole setup as a slave to the awesome snapcast project...

 

 

 

 

 

 

1 comment

Please sign in to leave a comment.