0

Getting started with Volumio-Beta1.2 and HiFIBerry Digi

This guide is for Volumio – Beta1.2


Automount NFS share

sudo nano /etc/fstab
Add the following line:
192.168.1.xxx:/path /mnt/NAS nfs auto 0 0
Save the file by ”Write Out” (Ctrl + O)
And exit (Ctrl + X)


Adding HifiBerry Digi drivers

sudo apt-get update
sudo apt-get install git-core
sudo apt-get install binutils
sudo wget https://raw.github.com/Hexxeg/rpi-update/master/rpi-update -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update
sudo rpi-update
sudo reboot
After the reboot we have to edit the modules:
sudo nano /etc/modules
If you have these lines:
snd_soc_hifiberry_dac
snd_soc_rpi_dac
delete them, if you don’t have them no worries.

Add these lines:
snd_soc_bcm2708
snd_soc_bcm2708_i2s
bcm2708_dmaengine
snd_soc_pcm5102a
snd_soc_hifiberry_digi

Save the file by ”Write Out” (Ctrl + O)
And exit (Ctrl + X)
Finish off with a sudo reboot
Once the RPi has booted up access the Volumio WebGUI with volumio.local in a browser.
Go to ’playback’ from the MENU.
Now select the ’Audio Output’ in my case it was called ’sndrpihifiberry’
Press ’save changes’
Done!


AirPlay

We have to edit a line in:
sudo nano /etc/init.d/shairport
on the line that looks like this:
/usr/local/bin/shairport -d -a "$NAME"
Add this to the end:
-o alsa -- -d default:OUTPUT
where it says OUTPUT we have to replace
Go to your volumio.local WebGUI
and access ’playback’ from the MENU.
Look at the selected audio output name.
That is the name that you have to use in the Shairport

For me it looks like this:
/usr/local/bin/shairport -d -a "$NAME" -o alsa -- -d default:sndrpihifiberry
Save the file by ”Write Out” (Ctrl + O)
And exit (Ctrl + X)
sudo reboot
Make sure that you have paused all music playing in Volumio before you start playing through AirPlay.



I hope this guide is helpful. Just trying to give back to the community for all the help that they have given me :)

2 comments

Please sign in to leave a comment.