HiFiBerry Digi+ / I2S SYNC error

First up, again, it’s an underscore, not a hyphen in the musicbox output section of settings.ini. For a HifiBerry Digi card you would enter hifiberry_digi and not hifiberry-digi. This is hopefully clear in the comments in settings.ini.

The order you do things isn’t important as the setsound script is run every time you boot the system.

Why does your card identify itself as a HifiBerry Digi if it’s in fact something else? Is that expected? Is your card based on it?

Can you try running setsound manually. Login and from the terminal type ‘./opt/musicbox/setsound.sh’. Can you provide the output of that command.

My card contains the same chip. thats why i think it will work as hifiberry_digi.
It works ok if i do this: But not after a reboot.

  1. Chose sound card HiFiBerry Digi
  2. restart it it won’t work directly.
  3. ssh into it
    ssh root@ip
  4. aplay -l check the card number of HiFiBerry Digi+
  5. change asound.conf with the above card nummber
    nano /etc/asound.conf
    pcm.!default {
    type hw
    card 1
    }
    ctl.!default {
    type hw
    card 1
    }
  6. Stop mopidy
    service mopidy stop
    7 reload alsa
    alsa force-reload
  7. Start mopidy
    service mopidy start

This is the return from setsound.sh

root@MusicBox:~# /opt/musicbox/setsound.sh
[…] Setting sound configuration…read ini
Found internal device: card0HDMI output connected
Found internal device: card0HDMI output connected
Found unknown device: card1 Found internal device: card0HDMI output connected
Found internal device: card0HDMI output connected
Found i2s device: card1Card 1 i2s 1 output hifiberry_digi usb 1 intc 0
Card 1 i2s 1 output hifiberry_digi usb 1 intc 0
Line out set to hifiberry_digi card 1root@MusicBox:~#

when playing a stream i get the I2S sync error:
bcm2708-i2s bmc2708-i2s.0: I2S SYNC error!

Hi,
I did a clean install of Musicbox 0.6 and now its working!

Thank you Kingosticks for your support, and Wouter for fixing it in version 0.6.

Bye…

I’m having this same problem with a digi+ and musicbox 0.6 - any suggestions?