Last I checked, Alexa SDK still did not have support for Buster. This article seems to have some sort of workaround (find with Ctrl+F “Buster”) that I have yet to try out and test with MATRIX devices. You could try it out.
I downgraded to to stretch and have the same problem. arecord/aplay both work with the default device but portaudio is still defaulting to the first card that has an input. In this case, snd-dummy.
UPDATE It appears that changes to ALSA in the Linux Kernel 4.0.19 has broken PortAudio. The fix is to downgrade the kernel to 4.0.14 and re-install the matrix kernel modules. (stretch will install the new kernel if you run apt-get upgrade)
Has anyone managed to get any of the mic_demo_direct or mic related demos working… on pi4 buster… ? am unable to run any of the mic demos to work … i can get all everloops and led related projects to work though…
Hi,
I want to make an alexa device with raspberry pi 4 and Matrix Voice. Matrix Voice is not getting compiled on RPI4. Does Matrix Voice support RPI4(Buster)?
I’m trying to change my Matrix Voice & Mycroft.AI to a Raspberry Pi 4 (RPI 4) with 4GB. I installed the latest Picroft image (based on Buster), and the matrixio-kernel-modules and pulseaudio. But when checking ‘pactl list sources short’ the Matrix Voice is not recognized. Is this issue known @Samreen ?
Our matrixio-kernel-module package was recently updated and there were some issues during the update that have temporarily broken the package. This is likely what is causing your problem.
We are working on fixing this and will notify you as soon as it has been resolved. A temporary solution could be compiling the kernel modules from source for your project.
Before doing this, I would recommend a purge of the package installation.
sudo apt purge matrixio-kernel-modules
We apologize for any inconvenience caused. Please reach out if issues persist!
When I follow the instructions to build myself, I get the following error:
pi@picroft:~/matrixio-kernel-modules/src $ make && make install
make -C /lib/modules/4.19.86-v7l+/build M=/home/pi/matrixio-kernel-modules/src modules
make[1]: *** /lib/modules/4.19.86-v7l+/build: No such file or directory. Stop.
make: *** [Makefile:5: all] Error 2
The MATRIX kernel modules should now be working again on Buster.
Please purge what you have and re-install the kernel modules.
sudo apt purge matrixio-kernel-modules
sudo apt update
sudo apt install matrixio-kernel-modules
Let me know how it goes!
Could you also send me the output of uname -a? Your Linux kernels seem to be way ahead of the default for Buster, seemingly into the beta branch (should be around 4.19.75). Did you run rpi-update at any point? It takes you into the bleeding edge of the Linux kernel which can break many packages.
so I was on: Linux picroft 4.19.86-v7l+ #1283 SMP Fri Nov 29 18:37:40 GMT 2019 armv7l GNU/Linux
I haven’t run rpi-update, just the regular apt-get update / apt-get upgrade. I did use the picroft image and installer though so not sure what all that did in the background.
I did this: install --reinstall raspberrypi-bootloader raspberrypi-kernel
And then got back to this Linux picroft 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l GNU/Linux
Now everything works! Still not sure where that kernel upgrade came from…
I all i’ve successfully install matrix voice on PI3. But on PI4 with buster i’ve an issue. i’m starting with a new buster install, and when i execute sudo apt install matrixio-kernel-modules, i’ve this issue:
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: erreur de traitement du paquet matrixio-kernel-modules (–configure) :
installed matrixio-kernel-modules package post-installation script subprocess returned error exit status 10* Des erreurs ont été rencontrées pendant l’exécution :
matrixio-kernel-modules* E: Sub-process /usr/bin/dpkg returned an error code (1)
i’ve tried several things, but still this issue. Could someone help?
Hi, I am on the stock Feb 2020 release which is:
pi@raspberrypi:~ $ uname -r
4.19.118-v7l+
I did updates but not upgrades. And I still encounter the errors.
pi@raspberrypi:~ $ sudo apt install matrixio-kernel-modules
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
matrixio-kernel-modules
0 upgraded, 1 newly installed, 0 to remove and 87 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 … 207623 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 4.19.118-v7l+ belongs to a chroot’s host
Building for 4.19.118+, 4.19.118-v7+, 4.19.118-v7l+, 4.19.118-v8+, 5.4.51+, 5.4.51-v7+ and 5.4.51-v7l+
Module build for kernel 4.19.118+ was skipped since the
kernel headers for this kernel does not seem to be installed.
Module build for kernel 4.19.118-v7+ was skipped since the
kernel headers for this kernel does not seem to be installed.
Module build for kernel 4.19.118-v7l+ was skipped since the
kernel headers for this kernel does not seem to be installed.
Module build for kernel 4.19.118-v8+ was skipped since the
kernel headers for this kernel does not seem to be installed.
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:
matrixio-kernel-modules
E: Sub-process /usr/bin/dpkg returned an error code (1)
Do I have to further downgrade? Seems it is not finding the kernel headers?
I got the MATRIX kernel modules working with 4.19.118 using the steps here. I used the raspberry pi kernels and kernel headers from 2020-05-28 here since 2020-05-27 is the last date displayed on the Raspbian OS download page.