Here are my "HiassofT" LibreELEC Raspberry Pi builds with support for the Wolfson and Cirrus Logic Audio Cards from element14. These builds offer the following features:
|latest stable version:|
|previous testing version:|
|Download from archive||Read Changelog.txt for details|
|LibreELEC 9.0 / Kodi 18 Leia preview builds|
|Support for the Wolfson/Cirrus Logic audio cards is included in the LibreELEC master branch and also in the latest Milhouse builds|
The source code is available on my GitHub repository https://github.com/HiassofT/LibreELEC.tv.
If you want to download the source code of a specific / older release select the appropriate VERSION-cirrus tag (eg 8.0.0-cirrus).
Updateshare or to
/storage/.update/on the command line and reboot
/flash/config.txt- read the Config.txt section on the LibreELEC wiki for more details.
ALSA: Default (RPi-Cirrus Analog)or
ALSA: RPi-Cirrus, S/PDIF.
Automatic updates are disabled in the Wolfson/Cirrus builds so you have to perform a manual update as described in the LibreELEC manual update wiki page:
Updateshare or to
/storage/.update/on the command line
Please note that the 7.0.3 and 8.x builds use a new method to customize the mixer configuration, the old method of editing the udev rule will not work.
General disclaimer: Upgrades to a new major version in general work fine, but there's always a small risk that something goes wrong. Make a full backup of your SD card before upgrading so that you are prepared for that case.
Except for the standard disclaimer upgrading from OpenELEC to LibreELEC usuallly works just fine with the manual update procedure described above.
If the Cirrus card no longer shows up under audio output devices
/flash/config.txt contains the following line:
In 6.x OpenELEC builds you could also use the deprecated variant
-overlayat the end), but this is no longer supported with the current kernel.
By default the
/flash partition is mounted read-only,
you have to remount it read-write before you can edit
mount -o remount,rw /flash nano /flash/config.txt
lirc-rpi GPIOs 17/18 will conflict with
the Wolfson / Cirrus card. But you can use the following line
/flash/config.txt to use an IR receiver connected
to GPIO 5 (pin 14 of the J2 connector on the Cirrus card):
A better alternative to
lirc-rpi (which needs
userspace lirc configured) is
gpio-ir-recv. This driver
will use in-kernel decoding and you can easily configure the
keymap via config.txt
For example, if you are using a MCE remote and have the GPIO IR recevier connected to GPIO 5 / pin 14 just add the following line to config.txt and the remote will work out of the box:
On bootup the audio card is configured automatically by LibreELEC via a udev rule. You can override the default configuration (eg to enable speaker output) by creating a file
A sample configuration file,
/storage/.config/rpi-cirrus-config.sh.sampleis provided, just use it a template and look at the examples in the comments.
Please post your questions in this section of the LibreELEC forum.