I was looking into a way to use Volumio 1.55 with an RPi 2 and a Cirrus Logic DAC from Farnell/Element 14 (same as Wolfson card but with the big 40 pins connector for A+, B+ and 2)
I had to look around, I made some tests, it failed a lot of time and then it finally worked !
Here is how I made it work :
N.B. You will need internet access on the RPi2 during this procedure, but you can remove it after.
Flash the official Volumio 1.55 image on a microSD card.
Install the Cirrus Logic card and insert the microSD card in your RPi2.
Start your RPi2 with official Volumio, configure network/system/etc. and verify it is working working well via HDMI sound or the low quality on-board jack A/V connector of the RPi2.
Reboot your RPi 2.
SSH into the RPi2 and become “root” (or use “sudo” in front of all commands).
Type some command lines in order to add a kernel repository and upgrade you kernel (& modules) with one that includes the Wolfson/Cirrus Logic Driver :
a) wget -q -O - rpi.autostatic.com/autostatic.gpg.key | apt-key add -
b) wget -q -O /etc/apt/sources.list.d/autostatic-audio-raspbian.list rpi.autostatic.com/autostatic-au … pbian.list
c) apt-get update
d) apt-get install cirrus-config
e) nano /etc/modules
–> Here, you edit the file, you need to add a “#” in front of the “snd_bcm2835” line to disable the A/V jack audio driver, then “Ctrl-O” to save and “Ctrl-x” to exit.
The RPi2 will now reboot and the Cirrus Logic card should be recognized.
SSH into the RPi2 and become “root”, again.
Type some more commands :
a) Reset_paths.sh (to reset all settings on the cirrus Logic card)
b) nano /etc/mdp.conf
–> Here, you need to edit the “audio_output” section and make sure it looks like :
mixer_control "HPOUT2 Digital"
–> then do “Ctrl-O” to save and “Ctrl-x” to exit.
c) Playback_to_Lineout.sh (or another one from the Cirrus Logic scripts to confiugure the right output for you)
The RPi2 will now reboot again.
Connect the cable to your amplifier or your headset on the Cirrus Logic card.
Enjoy good music.
Of course, from now, do not change anything in Volumio that is related to I2S, DAC, Output, Hardware mixer, … it might break your working config.
You might need this :
- user “volumio”, password “volumio”
- user “root”, password “volumio”
This procedure worked for me on the 7th of March 2016, with an RPi2.
I have no idea if it will work for an A+ or a B+ RPi … or not.
I have no control on the content of the kernel package that is used, so it may well fail in the future if the owner of the repository decides to change anything.
Here is the link to the original message where I found information about the kernel repository :
element14.com/community/thr … 5&tstart=0
By the way, there are newer kernels with Wolfson/Cirrus Logic drivers included here :
… but I did not find a procedure to make them work with Volumio 1.55.