Hifiberry DAC+ on rpi3 does not provide audio

  • Dear All,

    first of all thanks for your ongoing efforts on this really good product!

    I am struggling with a strange problem.
    I use a rpi3 + hifiberry dac+ (see below for libreelec version)
    After editing config.txt, I can successfully select in kodi audio output alsa-hifiberry-dac-analog, but it does not produce any sound..
    LED on Hifiberry dac+ does not blink.
    site note: I can use this hardware config successfully with volumio 2.0 distribution (led blinks). So, no real hardware issue.


    Hopefully someone can help me in this incident.

    Many thanks
    BeAkEr76

    librelec verions:
    LibreELEC (community) Version: devel-20160724223031-#0724-geb89f33
    LibreELEC git: eb89f333098ecba417a25c5fff51c83c00a299bf


    config.txt additions:
    [..]

    dtoverlay=hifiberry-dacplus
    dtdebug=1

    excerpt log:
    [..]
    002020.395: dtdebug: Found override uart0_clkrate
    002020.444: dtdebug: override uart0_clkrate: cell target clock-frequency @ offset 0 (size 4)
    002031.281: dterror: not a valid FDT - err -9
    002031.293: Failed to load HAT overlay
    002032.518: dtdebug: Opened overlay file 'overlays/hifiberry-dacplus.dtbo'
    002047.235: Loaded overlay 'hifiberry-dacplus'
    002047.289: dtdebug: Found fragment 0 (offset 36)
    [..]

    output aplay -l:
    **** List of PLAYBACK Hardware Devices ****
    card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ HiFi pcm512x-hifi-0
    Subdevices: 1/1
    Subdevice #0: subdevice #0

    output lsmod:
    Module Size Used by
    hci_uart 14474 1
    btbcm 5379 1 hci_uart
    bluetooth 283675 3 btbcm,hci_uart
    brcmfmac 179451 0
    brcmutil 4957 1 brcmfmac
    snd_soc_bcm2835_i2s 5868 2
    snd_soc_pcm512x_i2c 2051 1
    snd_soc_hifiberry_dacplus 3716 0
    snd_soc_pcm512x 16309 1 snd_soc_pcm512x_i2c
    snd_soc_core 102811 3 snd_soc_pcm512x,snd_soc_bcm2835_i2s,snd_soc_hifiberry_dacplus
    cfg80211 230401 1 brcmfmac
    snd_pcm_dmaengine 2943 1 snd_soc_core
    snd_pcm 66689 4 snd_soc_pcm512x,snd_soc_core,snd_pcm_dmaengine,snd_soc_hifiberry_dacplus
    bcm2835_wdt 2649 0
    snd_timer 17285 1 snd_pcm
    bcm2835_gpiomem 2716 0
    clk_hifiberry_dacpro 1894 1
    snd 40732 3 snd_soc_core,snd_timer,snd_pcm

    Kodi log:
    FiHg => Kodi log

    Edited once, last by Beaker76 (July 27, 2016 at 7:27 PM).


  • Can any other Hifiberry user confirm they have working audio?

    Your kodi log doesn't have debug enabled.
    You could try a Milhouse/nightly build as I have seen recent reports of I2S audio working with it:
    LibreELEC Testbuilds for RaspberryPi (Kodi 17.0)

    I have a working Hifiberry dac-plus on my Rpi2, I had also problems with it.
    My problem was solved after installing the updater of same version as the LE installation installed on my Rpi.

    Kind regards,

    Rob

    Edited once, last by Trombone (August 23, 2016 at 1:23 PM).

  • I've read they originally had issues with the hifiberry and the rpi3's bluetooth driver conflicting, but they seemed to have fixed that (16.03.16). I got my Dac+ working with LE on an rpi2 by adding the required lines to config.txt, and by creating /storage/.config/modules-load.d/hifiberry.conf.

    Code
    snd_soc_bcm2708_i2s
    bcm2708_dmaengine
    snd_soc_hifiberry_dacplus