Page 1 of 1

Volumio setup instructions

Posted: Sat Aug 26, 2017 11:37 pm
by flatmax
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

Re: Volumio setup instructions

Posted: Sat Aug 26, 2017 11:40 pm
by flatmax
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

Re: Volumio setup instructions

Posted: Fri Dec 27, 2019 7:52 am
by Maitresinh
Hi

Unfortunatelly, it did'nt work for me

1/Audionjector doesn't appear on putty
2/ the commented lines make my DAC bugging. when i let them, my DAC work (IquauDIO)

Does anyone managed to get it working ?