Can not install matrixio-kernel-modules

sudo apt-get install matrixio-kernel-modules

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/20.6 kB of archives.
After this operation, 115 kB of additional disk space will be used.
Selecting previously unselected package matrixio-kernel-modules.
(Reading database … 211908 files and directories currently installed.)
Preparing to unpack …/matrixio-kernel-modules_0.2.3_all.deb …
Unpacking matrixio-kernel-modules (0.2.3) …
Setting up matrixio-kernel-modules (0.2.3) …
Loading new matrixio-kernel-modules-0.2.3 DKMS files…
It is likely that 5.4.51-v7l+ belongs to a chroot’s host
Building for 5.4.51+, 5.4.51-v7+, 5.4.51-v7l+ and 5.4.51-v8+
Building initial module for 5.4.51+
Error! Bad return status for module build on kernel: 5.4.51+ (armv7l)
Consult /var/lib/dkms/matrixio-kernel-modules/0.2.3/build/make.log for more information.
dpkg: error processing package matrixio-kernel-modules (–configure):
installed matrixio-kernel-modules package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Can somebody help please?

uname -a
Linux raspberrypi 5.4.51-v7l+ #1327 SMP Thu Jul 23 11:04:39 BST 2020 armv7l GNU/Linux

in logs:
cat /var/lib/dkms/matrixio-kernel-modules/0.2.3/build/make.log
DKMS make.log for matrixio-kernel-modules-0.2.3 for kernel 5.4.51+ (armv7l)
Wed 29 Jul 2020 04:19:43 PM CEST
make: Entering directory ‘/usr/src/linux-headers-5.4.51+’
AR /var/lib/dkms/matrixio-kernel-modules/0.2.3/build/built-in.a
CC [M] /var/lib/dkms/matrixio-kernel-modules/0.2.3/build/matrixio-core.o
CC [M] /var/lib/dkms/matrixio-kernel-modules/0.2.3/build/matrixio-uart.o
CC [M] /var/lib/dkms/matrixio-kernel-modules/0.2.3/build/matrixio-everloop.o
CC [M] /var/lib/dkms/matrixio-kernel-modules/0.2.3/build/matrixio-codec.o
/var/lib/dkms/matrixio-kernel-modules/0.2.3/build/matrixio-codec.c:34:3: error: ‘struct snd_soc_dai_link’ has no member named ‘codec_dai_name’; did you mean ‘stream_name’?
.codec_dai_name = “snd-soc-dummy-dai”,
/var/lib/dkms/matrixio-kernel-modules/0.2.3/build/matrixio-codec.c:34:20: error: initialization of ‘struct snd_soc_dai_link_component *’ from incompatible pointer type ‘char *’ [-Werror=incompatible-pointer-types]
.codec_dai_name = “snd-soc-dummy-dai”,

Hi @leo,

Welcome to the community!

A Linux kernel update to 5.4 has broken our MATRIX kernel modules. Our engineers are working on it.

In the meantime, try this workaround.