I’ve installed Z-WAVE in matrix creator and it run well. Then I’d like to run google assistant in the some matrix creator.
I’ve followe the instruction .
But when I run sudo apt install matrixio-kernel-modules
it show the error
$ sudo apt install matrixio-kernel-modules
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
erlang-base erlang-crypto erlang-syntax-tools fonts-lato gyp libboost-thread1.62.0 libdouble-conversion1 libjs-inherits
libjs-node-uuid libpcre16-3 libqt5concurrent5 libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5opengl5
libqt5printsupport5 libqt5scintilla2-12v5 libqt5scintilla2-l10n libqt5svg5 libqt5widgets5 libqt5x11extras5 libqt5xml5
libqwt-qt5-6 libruby2.3 libscsynth1 libsctp1 libuv1-dev libxcb-icccm4 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0
libxcb-xinerama0 libxcb-xkb1 libxkbcommon-x11-0 libxkbcommon0 libyaml-0-2 lxkeymap node-abbrev node-ansi
node-ansi-color-table node-archy node-async node-balanced-match node-block-stream node-brace-expansion node-builtin-modules
node-combined-stream node-concat-map node-cookie-jar node-delayed-stream node-forever-agent node-form-data node-fs.realpath
node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs node-hosted-git-info node-inflight
node-inherits node-ini node-is-builtin-module node-isexe node-json-stringify-safe node-lockfile node-lru-cache node-mime
node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt node-normalize-package-data node-npmlog node-once
node-osenv node-path-is-absolute node-pseudomap node-qs node-read node-read-package-json node-request node-retry
node-rimraf node-semver node-sha node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar
node-tunnel-agent node-underscore node-validate-npm-package-license node-which node-wrappy node-yallist python-cairo
python-gobject python-gobject-2 python-gtk2 python-xklavier qt5-gtk-platformtheme qttranslations5-l10n rake ruby
ruby-did-you-mean ruby-minitest ruby-net-telnet ruby-power-assert ruby-test-unit ruby2.3 rubygems-integration
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
matrixio-kernel-modules
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/16.2 kB of archives.
After this operation, 100 kB of additional disk space will be used.
(Reading database ... 151998 files and directories currently installed.)
Preparing to unpack .../matrixio-kernel-modules_0.1.4_armhf.deb ...
Unpacking matrixio-kernel-modules (0.1.4) ...
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
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)
But I continue the installation since I think the matrixio-kernel-modules has been well installed before for running Z-WAVE network.
After I run ~/google-assistant-matrixio/google-matrixio-assistant-hotword --project_id your-dev-project-id --device_model_id your-model-id
It show error
device_model_id: matrix-creator-e7-matrix-creator-p36
device_id: BA335DBF6E9CE9C12B1AAD435015
https://embeddedassistant.googleapis.com/v1alpha2/projects/matrix-creator-e92d7/devices/BA335DBF6E9CE9C12954B1AAD4350185 200
EventType.ON_MUTED_CHANGED
EventType.ON_MEDIA_STATE_IDLE
Traceback (most recent call last):
File "/home/pi/google-assistant-matrixio/google-matrixio-assistant-hotword", line 11, in <module>
sys.exit(main())
File "/home/pi/google-assistant-matrixio/matrixio/hotword.py", line 187, in main
process_event(event, assistant.device_id)
File "/home/pi/google-assistant-matrixio/matrixio/hotword.py", line 68, in process_event
set_everloop_color(0,0,0,10) # blue
File "/home/pi/google-assistant-matrixio/matrixio/hotword.py", line 53, in set_everloop_color
with open('/dev/matrixio_everloop','wb') as bin_file:
PermissionError: [Errno 13] Permission denied: '/dev/matrixio_everloop'
I run ls -l /dev/matrixio_*
the output is ls: cannot access '/dev/matrixio_*': No such file or directory
So my question is the Matrix creator can be used as ZWAVE controller and google assistant in the same device?
ii libmatrixio-creator-hal:armhf 0.3.5 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.12 armhf Install scripts that can program the MATRIX Creator FPGA and SAM3 IMU.
ii matrixio-libzwaveip:armhf 0.1.1 armhf libzwaveip is a library to control Z-Wave devices from your IP network via a Z/IP Gateway
ii matrixio-libzwaveip-dev 0.1.1 armhf libzwaveip is a library to control Z-Wave devices from your IP network via a Z/IP Gateway
ii matrixio-malos-zwave 0.1.5 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-protobuf 3.5.0 armhf Protocol Buffers - Google's data interchange format. (From GRPC 3.5.0)
ii matrixio-xc3sprog 1.1.1 armhf Spartan3, XCF and CPLD JTAG programmer and other utilities.
ii matrixio-zipgateway 2.61.0 armhf zipgateway built using CMake
ii matrixio-zwave-utils 0.2.0 armhf Install scripts that can init the Zwave Module in MATRIX Creator.
And I checked /dev/ directory there is no matrixio_everloop , matrixio_regmap file.
/dev $ ls
Then run sudo apt-get install matrixio-kernel-modules again ,can’t install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
dkms
Suggested packages:
python3-apport menu
The following NEW packages will be installed:
dkms matrixio-kernel-modules
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/91.0 kB of archives.
After this operation, 389 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package dkms.
(Reading database ... 149310 files and directories currently installed.)
Preparing to unpack .../archives/dkms_2.3-2_all.deb ...
Unpacking dkms (2.3-2) ...
Preparing to unpack .../matrixio-kernel-modules_0.1.4_armhf.deb ...
Unpacking matrixio-kernel-modules (0.1.4) ...
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
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)