There was no listing for the HifiBerry card to select in Kodi.
Anyway, I did get it to work after some more searching.
At Configuring Linux 4.x or higher | HiFiBerry, while the Blacklist has nothing to do with the OSMC, I added dtoverlay=hifiberry-digi to the /boot/config.txt and I create a file /etc/asound.conf with
pcm.!default {
type hw card 0
}
ctl.!default {
type hw card 0
}
After reboot I tested for the card and it showed up.
Then I went into OSMC settings and selected the HiFiBerry overlay, then I went into Kodi system settings for Audio and was able to select the board as the audio output.
I tried all of the solutions on here and on Hifiberry forums and just couldn’t get the ALSA option up in Audio output in settings or get the soundcard recognised in SSH. So I wiped everything, did a fresh install, manually updated OSMC and OS, rebooted, selected hifiberry-digi-overlay in OSMC settings, rebooted again and it finally appeared. All working now
[Note: I had a fresh install from RC1 that I had been manually updating, so somewhere in that update chain something that wasn’t enabling the Digi+ to be recognised at the driver level].
I do it too…
But after selected in KODI settings ALSA:default(snd-rpi-hifiberry_digi S/PDIF) my raspberry reloaded…
So…
After reload in KODI setting is audio autput :HDMI…
What i did wrong???