I have Raspberry PI 3 with HifiBerry running with OSMC:
$ cat /proc/version
Linux version 4.4.27-5-osmc (root@vero2a) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP PREEMPT Tue Nov 22 02:23:12 UTC 2016
I've had no problems with that configuration until recently. Working asound.conf
:
pcm.!default {
type hw card 0
}
ctl.!default {
type hw card 0
}
With that config I can select ALSA output device in OSMC Settings / System / Audio output.
Recently I've tried to add equalizer to my ALSA driver. I've installed equal
plugin as mentioned on this page:
$ sudo apt-get install -y libasound2-plugin-equal
Then I've edited my asound.conf
file to make use of that plugin:
pcm.plugequal {
type equal;
slave.pcm "plughw:0,0";
}
pcm.!default {
type plug;
slave.pcm plugequal;
}
ctl.!default {
type hw card 0
}
After reboot, I can play sound with aplay
and it works fine using the equalizer plugin. Unfortunately, now OSMC (Kodi) does not list my ALSA device anymore, leaving me with those default ones (HDMI, Analogue, HDMI and Analogue).
Why Kodi does not recognize ALSA output device anymore? What to do to fix that?
Edit
I even tried to dumb down the asound.conf
file to this:
pcm.!default {
type equal;
slave.pcm "plughw:0,0"
}
But this doesn't seem to change anything: aplay
still works, but Kodi doesn't list the device...