Volumio setup instructions

Moderator: flatmax

Post Reply
flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Volumio setup instructions

Post by flatmax » Sat Aug 26, 2017 11:37 pm

This post will tell you how to install volumio on a Pi for the Audio Injector stereo cards (Pi and Zero).

Firstly download the volumio image and extract it, then write it to an SDCARD, you can get it here.

Now insert that card into your Pi and wait something like 5 minutes. Next enable ssh so that you can setup the audio driver. To enable ssh, go http://volumio.local/DEV/ in your browser and click "ENABLE" under SSH. It doesn't report anything but you have just enabled the SSHd daemon. You can now login to your volumio device.

Open a terminal and tell ssh to connect to the Pi like so :

Code: Select all

ssh volumio@volumio.local
The password is volumio

Setup the /boot/config.txt file by editing it as super user (password is volumio) :

Code: Select all

sudo nano /boot/config.txt
Adding this line to the /boot/config.txt file (I put mine at the end of the file) :

Code: Select all

dtoverlay=audioinjector-wm8731-audio
Also comment out the lines which relate to the onboard Pi PWM audio system :

Code: Select all

#dtparam=audio=on
#audio_pwm_mode=2
The /boot/config.txt file looks something like this now :

Code: Select all

initramfs volumio.initrd
gpu_mem=16
max_usb_current=1
#dtparam=audio=on
#audio_pwm_mode=2
dtparam=i2c_arm=on
disable_splash=1
dtoverlay=audioinjector-wm8731-audio
Now reboot :

Code: Select all

sudo reboot
At this point you can log back in and check the card is enabled like so :

Code: Select all

volumio@volumio:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: audioinjectorpi [audioinjector-pi-soundcard], device 0: AudioInjector audio wm8731-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
You will want to ensure that the "Output Mixer HiFi" is enabled in the ALSA mixer. You can do that with this command :

Code: Select all

amixer sset 'Output Mixer HiFi' toggle
That is it !
It should be working.

Matt
Checkout the next kickstarter campaign - the Ultra 2 : https://kck.st/2xwM3DL
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: Volumio setup instructions

Post by flatmax » Sat Aug 26, 2017 11:40 pm

If you want to build volumio from scratch, please check this guide :
http://forum.audioinjector.net/viewtopic.php?f=9&t=2981

You will need to make the required changes to /boot/config.txt for the "dtoverlay=audioinjector-wm8731-audio" in that original post to get these stereo cards working. Something like this :
echo 'dtoverlay=audioinjector-wm8731-audio' >> /boot/config.txt

Matt
Checkout the next kickstarter campaign - the Ultra 2 : https://kck.st/2xwM3DL
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest