[Solved] GUI volume control on Cirrus Logic Audio Card

Hi all. This weekend I’ve been playing with a Rpi3 and a Cirrus Logic Audio Card. I have installed the 0.856 build of Volumio 2 which runs great on the all new Pi3. So now I can use Volumio over the build in wifi. Following the instructions at http://www.horus.com/~hias/cirrus-driver.html I even got the Cirrus card working. The one thing I can’t get to work properly is the volume control in the Volumio GUI. It just doesn’t change the output volume. I hope someody can help me out on this.

The default audio device is disabled in /etc/modules

# snd_bcm2835

running aplay -l shows:

**** List of PLAYBACK Hardware Devices ****
card 0: sndrpiwsp [snd_rpi_wsp], device 0: WM5102 AiFi wm5102-aif1-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

And in my /etc/mpd.conf I have the following configuration

audio_output {
        type            "alsa"
        name            "Output"
        device          "hw:0,0"
        mixer_control   "snd_rpi_wsp"
        mixer_device    "hw:0"
        mixer_index     "0"
        dop             "no"

I have tried a ton of options here but I feel like I’m missing something…

After installing Volumio 2 RC1 I noticed the “Mixer Control” option in Playback options -> Volume options. Setting the mixer control to HPOUT1 Digital did the trick :slight_smile:

what version of the kernel did you use? I’ve been trying 4.4.14 with no luck so far as of yet :frowning:

Did you reboot after unpacking the .tar archive or after following the instructions all the way to the end?

If you repack the new kernel, it won’t work anymore. I’m sorry but as of now there is no way to use such sound card in Volumio. The only way would be adding the relevant audio modules to the current kernel.

Yeah I sort of noticed that when trying a couple of times and it led to a kernel panic/crash.

However, like with most things there seems to be a work around posted here: https://www.element14.com/community/message/201098/l/re-driver-fixes-and-updates-to-kernel-31816-and-405#201098

Mentioned by pronkert in this thread:

Maybe not the prettiest work around but worked somewhat with maybe a few kinks to work out.

Any chance we could maybe see compatibility to this DAC implemented natively? There’s already a nicely packaged kernel img that was created by hiassoft available here: