[Solved] Update on 6/6 led to no mic

I did an update and many things updated. Afterwards, the mic quit working. No more Alexa or Wakeword.

Anyone else see this?

Any recommendations?

Here is what I see when malos starts:

INFO: [/dev/matrixio_regmap] was opened
You can query specific driver info using port 20012.
Registered driver IMU with port 20013.
Registered driver Humidity with port 20017.
Registered driver Everloop with port 20021.
Registered driver Pressure with port 20025.
Registered driver UV with port 20029.
INFO: Microphone Array Driver => Kernel Modules has been loaded. Use ALSA implementation
Registered driver Servo with port 20045.
Registered driver Gpio with port 20049.

Sure, we can help!

Can you share the output of :

sudo dpkg -l | grep matrix
sudo lsmod | grep matrix

Can you also share what guide did you follow to setup Alexa?
We have published two guides in Hackster:

We no longer support this first guide.

-Yoel

Here you go.

ii  libmatrixio-creator-hal:armhf         0.3.4                             armhf        Hardware Abstraction Layer for MATRIX.
ii  libmatrixio-malos:armhf               0.1.3                             armhf        Libraries of MATRIX abstraction layer for MOS
ii  libmatrixio-malos-dev                 0.1.3                             armhf        Libraries of MATRIX abstraction layer for MOS
ii  libmatrixio-protos:armhf              0.1.5                             armhf        Protocolbuffers for MATRIX abstraction layer
ii  libmatrixio-protos-dev                0.1.5                             armhf        Protocolbuffers headers for MATRIX abstraction layer
ii  libswresample2:armhf                  7:3.2.10-1~deb9u1+rpt1            armhf        FFmpeg library for audio resampling, rematrixing etc. - runtime files
ii  matrixio-creator-init                 0.4.11                            armhf        Install scripts that can program the MATRIX Creator FPGA and SAM3 IMU.
ii  matrixio-kernel-modules               0.1-3                             armhf        Install kernel modules for MATRIX devices.
ii  matrixio-malos                        0.3.5                             armhf        Allows queries to MATRIX Creator hardware via ZMQ.
ii  matrixio-malos-wakeword               0.1.7                             armhf        Voice commands for MATRIX Creator hardware via ZMQ callback.
ii  matrixio-malos-zigbee                 0.1.6                             armhf        Allows queries to MATRIX Creator hardware via ZMQ.
ii  matrixio-openocd                      1.0.1                             armhf        Open on-chip JTAG debug solution for ARM and MIPS systems
ii  matrixio-pocketsphinx                 0.1.0                             armhf        This is PocketSphinx, one of Carnegie Mellon University's open source large
ii  matrixio-protobuf                     3.5.0                             armhf        Protocol Buffers - Google's data interchange format. (From GRPC 3.5.0)
ii  matrixio-sphinxbase                   0.1.0                             armhf        This is PocketSphinx, one of Carnegie Mellon University's open source large
ii  matrixio-xc3sprog                     1.1.1                             armhf        Spartan3, XCF and CPLD JTAG programmer and other utilities.

Here is ismod:

matrixio_codec         16384  1
matrixio_pcm          278528  1
snd_soc_core          188416  2 matrixio_pcm,matrixio_codec
matrixio_uart          16384  0
matrixio_env           16384  0
matrixio_imu           16384  0
industrialio           73728  2 matrixio_imu,matrixio_env
matrixio_gpio          16384  0
matrixio_everloop      16384  0
matrixio_regmap        61440  1
matrixio_core          16384  4 matrixio_regmap,matrixio_pcm,matrixio_imu,matrixio_env
snd_pcm                98304  5 matrixio_pcm,snd_pcm_dmaengine,snd_bcm2835,snd_soc_core,snd_dummy

Can you also share what guide did you follow to setup Alexa?

Unfortunately neither looks too familiar viewed via my phone. I thought it was in github. Alexa was installed late april and I never saw deprecat d on it. wakeword just last week from the github documents.

It appears that no programs are able to use the mics such as the micenergy.js

I hate to put urgency on this, but Im showcasing the matrix on a very popular youtube channel Monday. Your help is definitely appreciated.

Digging deeper for Alexa, the install was the second link above.

Thanks,
Sean

I just did an upgrade and got some weird messages:

pi@ClockCrane:~ $ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  libmatrixio-creator-hal matrixio-kernel-modules
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 20.1 kB/36.3 kB of archives.
After this operation, 9,216 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 https://apt.matrix.one/raspbian stretch/main armhf libmatrixio-creator-hal armhf 0.3.5 [20.1 kB]
Fetched 20.1 kB in 1s (18.0 kB/s)
Reading changelogs... Done
(Reading database ... 97213 files and directories currently installed.)
Preparing to unpack .../libmatrixio-creator-hal_0.3.5_armhf.deb ...
Unpacking libmatrixio-creator-hal:armhf (0.3.5) over (0.3.4) ...
Preparing to unpack .../matrixio-kernel-modules_0.1.4_armhf.deb ...
Remove kernel modules for MATRIX devices

-------- Uninstall Beginning --------
Module:  matrixio
Version: 0.1
Kernel:  4.14.34-v7+ (armv7l)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

matrixio-core.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.14.34-v7+/kernel/drivers/mfd/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


matrixio-codec.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.14.34-v7+/kernel/sound/soc/codecs/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


matrixio-pcm.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.14.34-v7+/kernel/sound/soc/codecs/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


matrixio-env.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.14.34-v7+/kernel/drivers/mfd/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


matrixio-imu.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.14.34-v7+/kernel/drivers/mfd/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


matrixio-everloop.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.14.34-v7+/kernel/drivers/mfd/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


matrixio-gpio.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.14.34-v7+/kernel/drivers/mfd/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


matrixio-uart.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.14.34-v7+/kernel/drivers/mfd/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


matrixio-regmap.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.14.34-v7+/kernel/drivers/mfd/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall completed.

------------------------------
Deleting module version: 0.1
completely from the DKMS tree.
------------------------------
Done.
Unpacking matrixio-kernel-modules (0.1.4) over (0.1-3) ...
dpkg: error processing archive /var/cache/apt/archives/matrixio-kernel-modules_0.1.4_armhf.deb (--unpack):
 unable to make backup link of './boot/overlays/matrixio.dtbo' before installing new version: Operation not permitted
Enabling firmware loading at startup

Creating symlink /var/lib/dkms/matrixio/0.1/source ->
                 /usr/src/matrixio-0.1

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make -j4 KERNELRELEASE=4.14.34-v7+ -C /lib/modules/4.14.34-v7+/build M=/var/lib/dkms/matrixio/0.1/build.........
cleaning build area....

DKMS: build completed.

matrixio-core:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.34-v7+/kernel/drivers/mfd/

matrixio-codec.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.34-v7+/kernel/sound/soc/codecs/

matrixio-pcm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.34-v7+/kernel/sound/soc/codecs/

matrixio-env.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.34-v7+/kernel/drivers/mfd/

matrixio-imu.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.34-v7+/kernel/drivers/mfd/

matrixio-everloop.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.34-v7+/kernel/drivers/mfd/

matrixio-gpio.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.34-v7+/kernel/drivers/mfd/

matrixio-uart.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.34-v7+/kernel/drivers/mfd/

matrixio-regmap.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.34-v7+/kernel/drivers/mfd/

depmod...

DKMS: install completed.
Enable configurations in /boot/config.txt
Errors were encountered while processing:
 /var/cache/apt/archives/matrixio-kernel-modules_0.1.4_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi@ClockCrane:~ $ sudo reboot

I threw in the towel and rebuilt from scratch.

There seems to be some mic issues between the latest enhancements and past GitHub repositories, but I’m sure we’ll get them ironed out.

See ya’,
Sean

Sorry about the late reply,

I am a bit lost in the conversation. To get Alexa to work I will recommend starting from an empty SD Card with the guide MATRIX Voice and MATRIX Creator Running Alexa (C++ Version) .

Have you done this already?

Can you explain what issues?

-Yoel

Yes, I redid from scratch and the mics work now. I wish I could have troubleshot the original build further to get it working, but I was against a timeline.

To get the new build working with wakeword, I had to troubleshoot the audio configuration files, but the other recent posts led me to the solution.

All is good.

See ya,
Sean

1 Like