Follow

Configuring HiFiBerry sound card on XBian

The following guide has been provided by our user Pier Luigi Covarelli. The steps have been tested with the XBian latest (2005-10-17).

Step1: remove the default sound module into /etc/modules.xbian by commenting its line entry

sudo vi /etc/modules.xbian

Comment the line

#snd_bcm2835

Step 2: edit /boot/config.txt file by adding the proper overlay

sudo vi /boot/config.txt

Make the following changes:

#dtoverlay=lirc-rpi
dtoverlay=hifiberry-digi

Step 3: Reboot.

Now you can select the DIGI into the Kodi Audio Output panel.

If you use a HiFiBerry DAC/DAC+ or Amp, you need to adapt the dtoverlay line accordingly.

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

Comments

  • Avatar
    Peter

    This should probably include the exact text strings for DAC, DAC+, etc., as shown in another document here on this site, in the "guides" section.

    dtoverlay=hifiberry-dac (for DAC Lite)
    dtoverlay=hifiberry-dacplus (for DAC+)
    dtoverlay=hifiberry-digi (for DIGI)
    dtoverlay=hifiberry-amp (for AMP)

    To do this using a remote login, for example from a computer connected to the same home network as the Pi, one has to be able to login via SSH, either as the default user "xbian", or after enabling the "root" login. For example, from a terminal window, like this:

    sudo ssh xbian@192.168.xxx.yyy (fill in the whole Pi IP address, and note that the default password is "raspberry"), or,
    sudo ssh 192.168.xxx.yyy (if root login and password have been enabled)

    If not comfortable using VI, the two configuration files can also be edited using Nano, as follows:

    sudo nano /etc/modules.xbian, and
    sudo nano /boot/config.txt

    After modifying the two configuration files, and after rebooting the Pi, the HiFiBerry will appear as an Audio Output Device in the System-Settings-System screen. When the device is selected from the list, a green LED will light on the circuit board.