Giter Site home page Giter Site logo

openvoiceos / ovos-buildroot Goto Github PK

View Code? Open in Web Editor NEW
216.0 22.0 35.0 722.62 MB

Open Voice Operating System - Buildroot edition is a minimalistic linux OS bringing the OVOS voice assistant to embbeded, low-spec headless and/or small (touch)screen devices.

License: Apache License 2.0

Shell 4.02% Makefile 39.98% C 7.09% QML 1.59% Python 45.31% Lua 2.02%
ai open-source voice-assistant linux raspberry-pi voice-as-an-interface artificial-intelligence personal-assistant buildroot mycroft

ovos-buildroot's Introduction

OVOS - Buildroot OS

A minimalistic Linux OS bringing the open source voice assistant ovos-core to embedded, low-spec headless and/or small (touch)screen devices.

System.

OpenVoiceOS - Full 64 Bit distribution

  • Linux kernel 6.1.x (LTS)
  • Buildroot 2023.02.x (LTS) (With some modification here and there)
  • OVOS framework / software package utilizing ovos-docker containers (Currently latest alpha/development version)
  • Raspberry Pi 3|3b|3b+ (UEFI based)
  • Raspberry Pi 4 (UEFI based)
  • x86_64 Intel based computers (UEFI based) (Work In Progress)
  • Open Virtual Appliance (UEFI based)

Stats:

Build Status GitHub last commit
This shows if the code is valid and can be build. This shows when this repo was updated for the last time
GitHub stars GitHub issues
Please โญ this repo if you find it useful Issues are like my personal TODO list and information archive
License: Apache License 2.0 contributions welcome
I'm using the Apache License 2.0 similar as Mycroft A.I. which means commercial use is allowed If you have any ideas, they're always welcome. Either submit an issue or a PR!
Uptime Robot status Buy me a
I use uptime robot to monitor for things i can't monitor when the connection drops. If you feel the need, now it's as easy as clicking this button!

Documentation.

More information and instructions can be found within the "documentation" folder.

Credits

Mycroft AI (@MycroftAI)
Buildroot (@buildroot)
HassOS (@home-assistant)

Inspired by;

HassOS (@home-assistant)
SkiffOS (@skiffos)

ovos-buildroot's People

Contributors

aiix avatar bohdanbuinich avatar ccoreilly avatar chancencounter avatar emphasize avatar j1nx avatar jarbasal avatar limitless-code avatar neondaniel avatar sairon avatar thelogan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ovos-buildroot's Issues

Pulseaudio not properly configured

Information

Pulseaudio is installed as systemwide deamon, It works and starts, but there are some issues with VLC in the mycroft log files.

Further more, the configuration of pulseaudio should and could be adjusted on-demand based on found / pluged in hardware / microphones / speakers / etc.

This hooks into #14 and #16 that allows hotplugging and configuration of the microphones which might reduce a lot of possible audio issues further down the road.

Connection rejected

Hello,
I'm having problems connecting to api.mycroft.ai it keeps sending connection rejected error, even in mycroft-cli-client.
I'm still trying to figure out if it needs to be connected to a different network besides the ssh with my host.
Can you help?

Implement webbased backend

Information

MycroftOS is a voice controlled system, however some settings are way easier to configure via a webbased system. Hence Mycroft A.I. even has exactly this with; home.mycroft.ai

I strongly believe MycroftOS should also have some sort of webbased backend where you can change stuff. Not only pairing and skill settings, but also hooks into the new to be released GUI part. So a bullit list of what I think in the end should be available via a browser connecting to MycroftOS.

I believe most of the appraoches I have seen and linked above use npm/flask/etc. So believe this should be the way forward to minimise dependencies and extra packages. (Wifi-Wizard also uses it, so npm should be there rather sooner then later)

Setting up Wifi fails

Hi Peter, we had a chat on chat.mycroft.ai and you told me how to setup wifi. But it didn't work. MycroftOS opens a Mycroft SSID which I can connect. Then I can see my SSIDs and choose one of them and put in the password but then nothing happens. Is there something additional to do?

Mycroft OS stuck at booting

Hi, I recently downloaded the Mycroft OS for Raspberry Pi 3, flashed it onto to a fresh sd card and booted. As I was using ethernet it didnt require me for wifi setup and it directly booted into a bluescreen with Mycroft AI written. I waited for 1 hour and after that said"Hey Microft, What is the time" and It responded like "Please wait a moment as I finish booting up". So, I waited for another 1 hour and still the same. Is there any way I get it running. It is very urgent to me. Pls help!!!!!!!

Technical Specifications :
Hardware : Raspberry Pi 3B+
OS - Mycroft OS download from : https://github.com/OpenVoiceOS/OpenVoiceOS/releases/download/0.1.0_alpha7/MycroftOS_0.1_rpi3_alpha7.img

Make error in mpv linking

So I left the PC compiling buildroot and all and i got a error when linking mpv package
It goes like this:

mpv 0.29.1 Building

cd /home/eduardo/buildroot/MycroftOS/buildroot/output/build/mpv-0.29.1/ && PATH="/home/eduardo/buildroot/MycroftOS/buildroot/output/host/bin:/home/eduardo/buildroot/MycroftOS/buildroot/output/host/sbin:/home/eduardo/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /home/eduardo/buildroot/MycroftOS/buildroot/output/host/bin/python2 /home/eduardo/buildroot/MycroftOS/buildroot/output/host/bin/waf build -j 9

Waf: Entering directory /home/eduardo/buildroot/MycroftOS/buildroot/output/build/mpv-0.29.1/build'
[1/1] Compiling version.sh
[208/208] Linking build/mpv
/home/eduardo/buildroot/MycroftOS/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabihf/8.3.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: video/out/opengl/context_rpi.c.19.o: undefined reference to symbol 'vc_dispmanx_display_close'
/home/eduardo/buildroot/MycroftOS/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabihf/8.3.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: /home/eduardo/buildroot/MycroftOS/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/lib/libvchostif.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

Waf: Leaving directory /home/eduardo/buildroot/MycroftOS/buildroot/output/build/mpv-0.29.1/build'
Build failed
-> task in 'mpv' failed with exit status 1 (run with -v to display more information)
make[1]: *** [package/pkg-generic.mk:241: /home/eduardo/buildroot/MycroftOS/buildroot/output/build/mpv-0.29.1/.stamp_built] Error 1
make[1]: Leaving directory '/home/eduardo/buildroot/MycroftOS/buildroot' make: *** [Makefile:25: rpi3] Error 1

Thank you

Mycroft: PIP --binary-only and addition of piwheels

Information

We do not have gcc on buildroot, so we have to make sure python-pip only installs binaries and related to that we need to add piwheels.org as secondairy repo for that.

Bug description

  • Installing a mycroft skill that installs dependencies from requirments.txt should only use binaries as sources can not be compiled

To increase the change of a binary candidate being found, piwheels should be added to the repositories.

Any python dependency that does not have suitable binaries should be undentified at a later stage and pre-installed to the target at buildroot buildtime. (similar as all the mycroft dependencies)

Listener: Setting the listener to precise fails

Information

While I am still working on different core aspects of MycroftOS and the Mycroft A.I. software stack, I did observed a bug that prevents the system to use the precise wakeword mechanism.

I have not yet digged into this, however do have some ideas where to start looking. Creating this Issue to open get the bug out in the open. Perhaps one of you already knows exactly what is going on, saving me the trouble to hunt it down later on in time.

Bug description

When Mycroft is fully booted and loaded up. Start the Mycroft CLI and run the command;

  • set listener to precise

This will download and extract the precise data binaries, however enabling it failes. Below the responsing snippet from the /var/log/mycroft/voice.log

20:52:52.169 - mycroft.client.speech.listener:run:335 - DEBUG - Config has changed, reloading... 20:52:52.675 - mycroft.client.speech.listener:create_wake_word_recognizer:243 - INFO - creating wake word engine 20:52:52.689 - mycroft.client.speech.hotword_factory:load_module:261 - INFO - Loading "hey mycroft" wake word via precise 20:52:52.704 - mycroft.configuration.config:load_local:109 - DEBUG - Configuration /.mycroft/mycroft.conf loaded 20:52:52.718 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): github.com:443 20:52:53.251 - urllib3.connectionpool - DEBUG - https://github.com:443 "GET /MycroftAI/precise-data/raw/dist/armv7l/latest HTTP/1.1" 302 141 20:52:53.269 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): raw.githubusercontent.com:443 20:52:53.446 - urllib3.connectionpool - DEBUG - https://raw.githubusercontent.com:443 "GET /MycroftAI/precise-data/dist/armv7l/latest HTTP/1.1" 200 111 20:52:56.605 - mycroft.client.speech.hotword_factory:<lambda>:175 - INFO - Updated precise model 20:52:56.873 - mycroft.client.speech.hotword_factory:initialize:281 - ERROR - Could not create hotword. Falling back to default. Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mycroft/client/speech/hotword_factory.py", line 269, in initialize instance = clazz(hotword, config, lang=lang) File "/usr/lib/python3.6/site-packages/mycroft/client/speech/hotword_factory.py", line 152, in __init__ self.runner.start() File "/usr/lib/python3.6/site-packages/precise_runner/runner.py", line 159, in start self.engine.start() File "/usr/lib/python3.6/site-packages/precise_runner/runner.py", line 53, in start self.proc = Popen(self.exe_args, stdin=PIPE, stdout=PIPE) File "/usr/lib/python3.6/subprocess.py", line 709, in __init__ restore_signals, start_new_session) File "/usr/lib/python3.6/subprocess.py", line 1344, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: '/root/.mycroft/precise/precise-engine/precise-engine': '/root/.mycroft/precise/precise-engine/precise-engine' 20:52:56.897 - mycroft.client.speech.hotword_factory:load_module:261 - INFO - Loading "hey mycroft" wake word via pocketsphinx 20:52:57.119 - mycroft.client.speech.listener:create_wakeup_recognizer:263 - INFO - creating stand up word engine 20:52:57.131 - mycroft.client.speech.hotword_factory:load_module:261 - INFO - Loading "wake up" wake word via pocketsphinx 20:52:57.359 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai:443 20:52:57.944 - urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "GET /v1/device/df2088fe-5ac9-4e9d-b042-81f23a1233a6 HTTP/1.1" 304 0 20:53:02.251 - mycroft.client.speech.hotword_factory:on_complete:211 - INFO - Precise download complete! 20:53:03.984 - mycroft.client.speech.listener:create_wake_word_recognizer:243 - INFO - creating wake word engine 20:53:03.995 - mycroft.client.speech.hotword_factory:load_module:261 - INFO - Loading "hey mycroft" wake word via precise 20:53:04.004 - mycroft.configuration.config:load_local:109 - DEBUG - Configuration /.mycroft/mycroft.conf loaded 20:53:04.017 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): github.com:443 20:53:04.459 - urllib3.connectionpool - DEBUG - https://github.com:443 "GET /MycroftAI/precise-data/raw/dist/armv7l/latest HTTP/1.1" 302 141 20:53:04.476 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): raw.githubusercontent.com:443 20:53:04.645 - urllib3.connectionpool - DEBUG - https://raw.githubusercontent.com:443 "GET /MycroftAI/precise-data/dist/armv7l/latest HTTP/1.1" 200 111 20:53:06.799 - mycroft.client.speech.hotword_factory:initialize:281 - ERROR - Could not create hotword. Falling back to default. Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mycroft/client/speech/hotword_factory.py", line 269, in initialize instance = clazz(hotword, config, lang=lang) File "/usr/lib/python3.6/site-packages/mycroft/client/speech/hotword_factory.py", line 152, in __init__ self.runner.start() File "/usr/lib/python3.6/site-packages/precise_runner/runner.py", line 159, in start self.engine.start() File "/usr/lib/python3.6/site-packages/precise_runner/runner.py", line 53, in start self.proc = Popen(self.exe_args, stdin=PIPE, stdout=PIPE) File "/usr/lib/python3.6/subprocess.py", line 709, in __init__ restore_signals, start_new_session) File "/usr/lib/python3.6/subprocess.py", line 1344, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: '/root/.mycroft/precise/precise-engine/precise-engine': '/root/.mycroft/precise/precise-engine/precise-engine' 20:53:06.811 - mycroft.client.speech.hotword_factory:load_module:261 - INFO - Loading "hey mycroft" wake word via pocketsphinx 20:53:07.029 - mycroft.client.speech.listener:create_wakeup_recognizer:263 - INFO - creating stand up word engine 20:53:07.038 - mycroft.client.speech.hotword_factory:load_module:261 - INFO - Loading "wake up" wake word via pocketsphinx

A quick look around shows that the downloading and extracting works;

`# cd /root/.mycroft/precise/

ls -la

total 50740
drwxr-xr-x 3 root root 4096 Nov 1 20:52 .
drwx------ 6 root root 4096 Nov 1 20:52 ..
-rw-rw-r-- 1 dbus dbus 26556 Mar 21 2018 hey-mycroft.pb
-rw-rw-r-- 1 dbus dbus 132 Mar 21 2018 hey-mycroft.pb.params
-rw-r--r-- 1 root root 11540 Nov 1 20:52 hey-mycroft.tar.gz
drwxr-xr-x 5 dbus dbus 4096 Jun 25 19:05 precise-engine
-rw-r--r-- 1 root root 51899731 Nov 1 20:52 precise-engine_0.2.0_armv7l.tar.gz`

`# cd precise-engine/

ls -la

total 134972
drwxr-xr-x 5 dbus dbus 4096 Jun 25 19:05 .
drwxr-xr-x 3 root root 4096 Nov 1 20:52 ..
-rwxr-xr-x 1 dbus dbus 15672 Jun 15 00:08 _bz2.so
-rwxr-xr-x 1 dbus dbus 132644 Jun 15 00:08 _codecs_cn.so
-rwxr-xr-x 1 dbus dbus 144948 Jun 15 00:07 _codecs_hk.so
-rwxr-xr-x 1 dbus dbus 17964 Jun 15 00:07 _codecs_iso2022.so
-rwxr-xr-x 1 dbus dbus 226856 Jun 15 00:07 _codecs_jp.so
-rwxr-xr-x 1 dbus dbus 124448 Jun 15 00:07 _codecs_kr.so
-rwxr-xr-x 1 dbus dbus 99872 Jun 15 00:07 _codecs_tw.so
-rwxr-xr-x 1 dbus dbus 32008 Jun 15 00:10 _csv.so
-rwxr-xr-x 1 dbus dbus 103340 Jun 15 00:08 _ctypes.so
-rwxr-xr-x 1 dbus dbus 75036 Jun 15 00:08 _curses.so
-rwxr-xr-x 1 dbus dbus 157524 Jun 15 00:08 _decimal.so
-rwxr-xr-x 1 dbus dbus 23716 Jun 15 00:08 _hashlib.so
-rwxr-xr-x 1 dbus dbus 44148 Jun 15 00:09 _json.so
-rwxr-xr-x 1 dbus dbus 26648 Jun 15 00:08 _lzma.so
-rwxr-xr-x 1 dbus dbus 32712 Jun 15 00:08 _multibytecodec.so
-rwxr-xr-x 1 dbus dbus 14440 Jun 15 00:08 _multiprocessing.so
-rwxr-xr-x 1 dbus dbus 5680 Jun 15 00:09 _opcode.so
-rwxr-xr-x 1 dbus dbus 78932196 Jun 25 19:04 _pywrap_tensorflow_internal.so
-rwxr-xr-x 1 dbus dbus 77224 Jun 15 00:07 _ssl.so
-rwxr-xr-x 1 dbus dbus 41872 Jun 15 00:10 audioop.so
-rw-r--r-- 1 dbus dbus 730332 Jun 25 19:00 base_library.zip
-rwxr-xr-x 1 dbus dbus 71824 Jun 15 00:10 h5py._conv.so
-rwxr-xr-x 1 dbus dbus 47724 Jun 15 00:10 h5py._errors.so
-rwxr-xr-x 1 dbus dbus 133212 Jun 15 00:10 h5py._objects.so
-rwxr-xr-x 1 dbus dbus 38828 Jun 15 00:10 h5py._proxy.so
-rwxr-xr-x 1 dbus dbus 199868 Jun 15 00:10 h5py.defs.so
-rwxr-xr-x 1 dbus dbus 99416 Jun 15 00:10 h5py.h5.so
-rwxr-xr-x 1 dbus dbus 135976 Jun 15 00:10 h5py.h5a.so
-rwxr-xr-x 1 dbus dbus 56088 Jun 15 00:09 h5py.h5ac.so
-rwxr-xr-x 1 dbus dbus 123132 Jun 15 00:10 h5py.h5d.so
-rwxr-xr-x 1 dbus dbus 73752 Jun 15 00:10 h5py.h5ds.so
-rwxr-xr-x 1 dbus dbus 119824 Jun 15 00:10 h5py.h5f.so
-rwxr-xr-x 1 dbus dbus 18796 Jun 15 00:10 h5py.h5fd.so
-rwxr-xr-x 1 dbus dbus 173424 Jun 15 00:10 h5py.h5g.so
-rwxr-xr-x 1 dbus dbus 53344 Jun 15 00:10 h5py.h5i.so
-rwxr-xr-x 1 dbus dbus 105624 Jun 15 00:10 h5py.h5l.so
-rwxr-xr-x 1 dbus dbus 103204 Jun 15 00:10 h5py.h5o.so
-rwxr-xr-x 1 dbus dbus 368052 Jun 15 00:10 h5py.h5p.so
-rwxr-xr-x 1 dbus dbus 54580 Jun 15 00:10 h5py.h5r.so
-rwxr-xr-x 1 dbus dbus 119176 Jun 15 00:10 h5py.h5s.so
-rwxr-xr-x 1 dbus dbus 512992 Jun 15 00:10 h5py.h5t.so
-rwxr-xr-x 1 dbus dbus 36144 Jun 15 00:10 h5py.h5z.so
-rwxr-xr-x 1 dbus dbus 43348 Jun 15 00:10 h5py.utils.so
drwxr-xr-x 3 dbus dbus 4096 Jun 25 19:05 include
drwxr-xr-x 3 dbus dbus 4096 Jun 25 19:05 lib
drwxr-xr-x 2 dbus dbus 4096 Jun 25 19:05 lib2to3
-rwxr-xr-x 1 dbus dbus 66008 Jun 15 00:10 libbz2.so.1.0
-rwxr-xr-x 1 dbus dbus 1418540 Jun 15 00:10 libcrypto.so.1.0.0
-rwxr-xr-x 1 dbus dbus 136660 Jun 15 00:07 libexpat.so.1
-rwxr-xr-x 1 dbus dbus 30376 Jun 15 00:10 libffi.so.6
-rwxr-xr-x 1 dbus dbus 117520 Jun 15 00:07 libgcc_s.so.1
-rwxr-xr-x 1 dbus dbus 647200 Jun 15 00:10 libgfortran.so.3
-rwxr-xr-x 1 dbus dbus 2978844 Jun 15 00:10 libhdf5_serial.so.8
-rwxr-xr-x 1 dbus dbus 105048 Jun 15 00:10 libhdf5_serial_hl.so.8
-rwxr-xr-x 1 dbus dbus 5614860 Jun 15 00:10 liblapack.so.3
-rwxr-xr-x 1 dbus dbus 124592 Jun 15 00:10 liblzma.so.5
-rwxr-xr-x 1 dbus dbus 157916 Jun 15 00:10 libmpdec.so.2
-rwxr-xr-x 1 dbus dbus 178600 Jun 15 00:10 libncursesw.so.5
-rwxr-xr-x 1 dbus dbus 7896044 Jun 15 00:10 libopenblas.so.0
-rwxr-xr-x 1 dbus dbus 3753972 Jun 15 00:10 libpython3.4m.so.1.0
-rwxr-xr-x 1 dbus dbus 227624 Jun 15 00:10 libreadline.so.6
-rwxr-xr-x 1 dbus dbus 300868 Jun 15 00:10 libssl.so.1.0.0
-rwxr-xr-x 1 dbus dbus 809612 Jun 15 00:10 libstdc++.so.6
-rwxr-xr-x 1 dbus dbus 125348 Jun 15 00:10 libtinfo.so.5
-rwxr-xr-x 1 dbus dbus 91888 Jun 15 00:07 libz.so.1
-rwxr-xr-x 1 dbus dbus 19724 Jun 15 00:08 mmap.so
-rwxr-xr-x 1 dbus dbus 1441020 Jun 15 00:08 numpy.core.multiarray.so
-rwxr-xr-x 1 dbus dbus 85288 Jun 15 00:08 numpy.core.multiarray_tests.so
-rwxr-xr-x 1 dbus dbus 639188 Jun 15 00:08 numpy.core.umath.so
-rwxr-xr-x 1 dbus dbus 38472 Jun 15 00:08 numpy.fft.fftpack_lite.so
-rwxr-xr-x 1 dbus dbus 109612 Jun 15 00:08 numpy.linalg._umath_linalg.so
-rwxr-xr-x 1 dbus dbus 13948 Jun 15 00:08 numpy.linalg.lapack_lite.so
-rwxr-xr-x 1 dbus dbus 927940 Jun 15 00:08 numpy.random.mtrand.so
-rwxr-xr-x 1 dbus dbus 76296 Jun 15 00:10 parser.so
-rwxr-xr-x 1 dbus dbus 10497492 Jun 25 19:03 precise-engine
-rwxr-xr-x 1 dbus dbus 25568 Jun 15 00:08 readline.so
-rwxr-xr-x 1 dbus dbus 10232 Jun 15 00:07 resource.so
-rwxr-xr-x 1 dbus dbus 56980 Jun 15 00:09 scipy._lib._ccallback_c.so
-rwxr-xr-x 1 dbus dbus 227112 Jun 15 00:08 scipy.fftpack._fftpack.so
-rwxr-xr-x 1 dbus dbus 70192 Jun 15 00:08 scipy.fftpack.convolve.so
-rwxr-xr-x 1 dbus dbus 71312 Jun 15 00:08 scipy.integrate._dop.so
-rwxr-xr-x 1 dbus dbus 67824 Jun 15 00:08 scipy.integrate._odepack.so
-rwxr-xr-x 1 dbus dbus 85164 Jun 15 00:08 scipy.integrate._quadpack.so
-rwxr-xr-x 1 dbus dbus 79496 Jun 15 00:08 scipy.integrate.lsoda.so
-rwxr-xr-x 1 dbus dbus 144840 Jun 15 00:08 scipy.integrate.vode.so
-rwxr-xr-x 1 dbus dbus 232716 Jun 15 00:08 scipy.interpolate._bspl.so
-rwxr-xr-x 1 dbus dbus 167500 Jun 15 00:08 scipy.interpolate._fitpack.so
-rwxr-xr-x 1 dbus dbus 305508 Jun 15 00:08 scipy.interpolate._ppoly.so
-rwxr-xr-x 1 dbus dbus 318636 Jun 15 00:08 scipy.interpolate.dfitpack.so
-rwxr-xr-x 1 dbus dbus 329564 Jun 15 00:08 scipy.interpolate.interpnd.so
-rwxr-xr-x 1 dbus dbus 33948 Jun 15 00:08 scipy.linalg._cblas.so
-rwxr-xr-x 1 dbus dbus 53428 Jun 15 00:08 scipy.linalg._clapack.so
-rwxr-xr-x 1 dbus dbus 297292 Jun 15 00:08 scipy.linalg._decomp_update.so
-rwxr-xr-x 1 dbus dbus 502688 Jun 15 00:08 scipy.linalg._fblas.so
-rwxr-xr-x 1 dbus dbus 1031880 Jun 15 00:08 scipy.linalg._flapack.so
-rwxr-xr-x 1 dbus dbus 53508 Jun 15 00:08 scipy.linalg._flinalg.so
-rwxr-xr-x 1 dbus dbus 213660 Jun 15 00:08 scipy.linalg._solve_toeplitz.so
-rwxr-xr-x 1 dbus dbus 220528 Jun 15 00:08 scipy.linalg.cython_blas.so
-rwxr-xr-x 1 dbus dbus 523752 Jun 15 00:08 scipy.linalg.cython_lapack.so
-rwxr-xr-x 1 dbus dbus 96340 Jun 15 00:10 scipy.ndimage._nd_image.so
-rwxr-xr-x 1 dbus dbus 295620 Jun 15 00:10 scipy.ndimage._ni_label.so
-rwxr-xr-x 1 dbus dbus 85932 Jun 15 00:08 scipy.optimize._cobyla.so
-rwxr-xr-x 1 dbus dbus 165908 Jun 15 00:08 scipy.optimize._group_columns.so
-rwxr-xr-x 1 dbus dbus 93752 Jun 15 00:08 scipy.optimize._lbfgsb.so
-rwxr-xr-x 1 dbus dbus 154036 Jun 15 00:08 scipy.optimize._lsq.givens_elimination.so
-rwxr-xr-x 1 dbus dbus 78728 Jun 15 00:08 scipy.optimize._minpack.so
-rwxr-xr-x 1 dbus dbus 32212 Jun 15 00:08 scipy.optimize._nnls.so
-rwxr-xr-x 1 dbus dbus 73112 Jun 15 00:08 scipy.optimize._slsqp.so
-rwxr-xr-x 1 dbus dbus 288872 Jun 15 00:08 scipy.optimize._trlib._trlib.so
-rwxr-xr-x 1 dbus dbus 9764 Jun 15 00:08 scipy.optimize._zeros.so
-rwxr-xr-x 1 dbus dbus 32400 Jun 15 00:08 scipy.optimize.minpack2.so
-rwxr-xr-x 1 dbus dbus 26180 Jun 15 00:08 scipy.optimize.moduleTNC.so
-rwxr-xr-x 1 dbus dbus 401196 Jun 15 00:08 scipy.sparse._csparsetools.so
-rwxr-xr-x 1 dbus dbus 2497516 Jun 15 00:08 scipy.sparse._sparsetools.so
-rwxr-xr-x 1 dbus dbus 172620 Jun 15 00:08 scipy.sparse.csgraph._min_spanning_tree.so
-rwxr-xr-x 1 dbus dbus 298976 Jun 15 00:08 scipy.sparse.csgraph._reordering.so
-rwxr-xr-x 1 dbus dbus 236044 Jun 15 00:08 scipy.sparse.csgraph._shortest_path.so
-rwxr-xr-x 1 dbus dbus 146716 Jun 15 00:08 scipy.sparse.csgraph._tools.so
-rwxr-xr-x 1 dbus dbus 131860 Jun 15 00:08 scipy.sparse.csgraph._traversal.so
-rwxr-xr-x 1 dbus dbus 267368 Jun 15 00:08 scipy.sparse.linalg.dsolve._superlu.so
-rwxr-xr-x 1 dbus dbus 468548 Jun 15 00:08 scipy.sparse.linalg.eigen.arpack._arpack.so
-rwxr-xr-x 1 dbus dbus 185804 Jun 15 00:08 scipy.sparse.linalg.isolve._iterative.so
-rwxr-xr-x 1 dbus dbus 64248 Jun 15 00:08 scipy.spatial._distance_wrap.so
-rwxr-xr-x 1 dbus dbus 166052 Jun 15 00:08 scipy.spatial._hausdorff.so
-rwxr-xr-x 1 dbus dbus 161884 Jun 15 00:08 scipy.spatial._voronoi.so
-rwxr-xr-x 1 dbus dbus 539328 Jun 15 00:08 scipy.spatial.ckdtree.so
-rwxr-xr-x 1 dbus dbus 845324 Jun 15 00:08 scipy.spatial.qhull.so
-rwxr-xr-x 1 dbus dbus 26728 Jun 15 00:08 scipy.special._comb.so
-rwxr-xr-x 1 dbus dbus 65984 Jun 15 00:08 scipy.special._ellip_harm_2.so
-rwxr-xr-x 1 dbus dbus 1140324 Jun 15 00:08 scipy.special._ufuncs.so
-rwxr-xr-x 1 dbus dbus 80704 Jun 15 00:08 scipy.special._ufuncs_cxx.so
-rwxr-xr-x 1 dbus dbus 487024 Jun 15 00:08 scipy.special.specfun.so
-rwxr-xr-x 1 dbus dbus 403564 Jun 15 00:10 scipy.stats._stats.so
-rwxr-xr-x 1 dbus dbus 57932 Jun 15 00:10 scipy.stats.mvn.so
-rwxr-xr-x 1 dbus dbus 36556 Jun 15 00:10 scipy.stats.statlib.so
-rwxr-xr-x 1 dbus dbus 93808 Jun 25 19:05 tensorflow.python.framework.fast_tensor_util.so
-rwxr-xr-x 1 dbus dbus 17964 Jun 15 00:08 termios.so`

It took the user:group ideas from the package which translate on our system to "dbus", but that should not be an issue as we do not have users and only root. Permission-wise root has rwx so ....

I already have a clue of what might be going on here, which is related to library linking as precise is being cross-compiled by Mycroft A.I. and presented as binary package. Binary packages are always "itchy" if it comes to crosscompiling.

# file precise-engine precise-engine: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32, BuildID[sha1]=c6002b88aa2c780671b249dcc8f2f65ca746d35d, stripped

# file /lib/ld-linux-armhf.so.3 /lib/ld-linux-armhf.so.3: cannot open /lib/ld-linux-armhf.so.3' (No such file or directory)`

Add Configuration and Files for QT5CT

  • Required changes to mycroft-gui.service

[Unit]
Description=Mycroft GUI
PartOf=mycroft.service
After=mycroft.service
After=mycroft-messagebus.service

[Service]   
User=mycroft   
WorkingDirectory=/home/mycroft
Environment=QT_QPA_PLATFORM=eglfs
Environment=QT_QPA_PLATFORMTHEME=qt5ct
Environment=QT_PLUGIN_PATH=/usr/lib/qt/plugins:/usr/lib/plugins:/usr/lib/plugins/kf5
Environment=QT_LOGGING_RULES='*=false'
Environment=XDG_RUNTIME_DIR=/tmp/mycroft
Environment=XDG_DATA_DIRS=/usr/share:/usr/local/share:$XDG_DATA_DIRS
Environment=XDG_CURRENT_DESKTOP=kde  
Environment=LD_LIBRARY_PATH=/usr/lib
Environment=LIBEXEC_PATH=/libexec:/usr/libexec:/usr/lib/libexec
Environment=QML2_IMPORT_PATH=/usr/lib/qml
Environment=QT_FILE_SELECTORS=ovos   
ExecStart=mycroft-embedded-shell --maximize
StandardOutput=null                     
Restart=on-failure 

[Install]
WantedBy=mycroft.service

  • Requires a new systemd service to run "kbuildsyscoca5" before starting mycroft-gui.service

  • Add attached qt5ct.conf to "~/.config/qt5ct/"

  • Add attached fonts.conf to "~/.config/fontconfig/"

  • config-files.zip

Build problems ahead of first alpha release

PLEASE NOTE: The OVOS dev team will not be in a position to debug build problems until after the alpha release. If the system won't build on your system, please be patient! An alpha image will come soon, after which we can begin looking at other people's computers.

Finding out why a program builds on one computer, but not another computer, is an absolute nightmare, unless the two computers are running the same version of the same operating system. It's time we can't afford to spend right now. Thanks for understanding.

Package: Gstreamer Plugins Bad

Gstreamer Plugins Bad seems to be missing on image and is required for hw accel playback and raspi camera via v4l2 interface

almost-alpha 0816 - funky response from mycroft-say-to re:time request

flashed new image to usb / mark2-devkit - network cable
selene/Mycroft backend selected
mycroft-say-to what's the time **got a prompt instead of time ???????
'''mycroft@OpenVoiceOS-e37cd7:~ $ pacmd set-default-sink 0
mycroft@OpenVoiceOS-e37cd7:~ $ mycroft-speak this is really cool stuff
mycroft@OpenVoiceOS-e37cd7:~ $ mycroft-say-to sing for me
mycroft@OpenVoiceOS-e37cd7:~ $ mycroft-say-to sing to me
mycroft@OpenVoiceOS-e37cd7:~ $ mycroft-say-to what's the time

^C
mycroft@OpenVoiceOS-e37cd7:~ $ mycroft-say-to what is the time
mycroft@OpenVoiceOS-e37cd7:~ $ mycroft-say-to what's the time
ls
help
list
exit
bye
^C
mycroft@OpenVoiceOS-e37cd7:~ $
'''
**short time span ~40 minutes altogether

mycroft-backend-fresh.tar.gz

Supporting more hardware / devices - Possible list of candidates

Information

Initial development of MycroftOS is being done on the Raspberry Pi 3B as that board is currently present within the Mycroft A.I. Mark-I. However that is not the only suitable piece of hardware that could run MycroftOS and therefor the Mycroft .A.I. software stack. To add to that, other hardware devices might even be more suitable for this type of purpose...

This "Issue" is to identify the different type of hardware devices currently available or available within the near future that are of interest to be supported by MycroftOS.

Raspberry Pi Foundation

  • Raspberry Pi 3B (Currently supported as initial development device)
  • Raspberry Pi 3B+ (Buildroot-wise the same as the 3B, so most likely supported already)
  • Raspberry Pi 3 / 2 / CM / zero / zero W (These boards might not be powerfull enough according to Mycroft A.I. However as Buildroot is such a minimalistic OS a test would be needed to confirm. You never know)

Hardkernel

  • Odroid-C2 (Amlogic S905 support)
  • ODROID-XU4 (Exynos5 Octa support)

Asus

  • Tinkerboard (Rockchip RK3288 support)

FriendlyARM

  • NanoPi M4

Rockchip boards (unknown supplier for now)

  • RK3399
  • RK3399Pro (includes a NPU)

UDOO

  • UDOO X86 ULTRA (or basically X86 support)

... Issue open for discussion and / or suggestions ...

Debugging on boot

Is there command to see the logs while booting? I'm asking as it seems when we don't hear
mycroft talking we have no way to troubleshoot to see if it is a wifi issue or a problem with
respeaker. Tried doing Alt-F1, but no go. Something like this would be really helpful. Thanks!

Can't build project under Windows (WSL1, WSL2, or pseudoenvironments)

I've been trying to build the project today and I get as far as running the make script (something I'm quite unfamiliar with), I've got everything I'm doing below, I'm using GIT Bash window in Windows 10

Logan@DESKTOP-ANBSM94 MINGW64 /c/Home automation
$ git clone --recurse-submodules https://github.com/j1nx/MycroftOS.git
Cloning into 'MycroftOS'...
remote: Enumerating objects: 425, done.
remote: Counting objects: 100% (425/425), done.
remote: Compressing objects: 100% (273/273), done.
remote: Total 7631 (delta 215), reused 313 (delta 133), pack-reused 7206
Receiving objects: 100% (7631/7631), 324.26 MiB | 25.27 MiB/s, done.
Resolving deltas: 100% (3529/3529), done.
Checking out files: 100% (1577/1577), done.
Submodule 'buildroot' (https://github.com/buildroot/buildroot.git) registered for path 'buildroot'
Cloning into 'C:/Home automation/MycroftOS/buildroot'...
remote: Enumerating objects: 270, done.
remote: Counting objects: 100% (270/270), done.
remote: Compressing objects: 100% (152/152), done.
remote: Total 405976 (delta 173), reused 188 (delta 118), pack-reused 405706
Receiving objects: 100% (405976/405976), 120.38 MiB | 13.06 MiB/s, done.
Resolving deltas: 100% (269821/269821), done.
Submodule path 'buildroot': checked out '6b8e73d6a1958fcf441d91338c64c73aadcc43e4'

Logan@DESKTOP-ANBSM94 MINGW64 /c/Home automation
$ cd MycroftOS/

Logan@DESKTOP-ANBSM94 MINGW64 /c/Home automation/MycroftOS (develop)
$ git checkout develop
Already on 'develop'
Your branch is up to date with 'origin/develop'.

Logan@DESKTOP-ANBSM94 MINGW64 /c/Home automation/MycroftOS (develop)
$ git submodule update --remote --merge
Updating 6b8e73d6a1..efca26a405
Fast-forward
 CHANGES                                            |  37 +++++
 Makefile                                           |   4 +-
 linux/linux.hash                                   |   4 +-
 .../binutils/{2.35.1 => 2.35.2}/0001-sh-conf.patch |   0
 .../0002-poison-system-directories.patch           |   0
 package/binutils/Config.in.host                    |   4 +-
 package/binutils/binutils.hash                     |   2 +-
 package/busybox/udhcpc.script                      |   2 +-
 package/dhcpcd/dhcpcd.mk                           |   1 +
 ...d-fix-Werror=format-overflow-under-gcc-10.patch | 162 +++++++++++++++++++++
 package/intel-mediadriver/intel-mediadriver.mk     |   6 +-
 package/linux-headers/Config.in.host               |   4 +-
 package/mutt/0002-CVE-2021-3181-1.patch            |  40 +++++
 package/mutt/0003-CVE-2021-3181-2.patch            |  53 +++++++
 package/mutt/0004-CVE-2021-3181-3.patch            |  30 ++++
 package/mutt/mutt.mk                               |   5 +
 package/privoxy/privoxy.hash                       |   8 +-
 package/privoxy/privoxy.mk                         |   2 +-
 package/pugixml/pugixml.hash                       |   4 +-
 package/pugixml/pugixml.mk                         |   4 +-
 package/python-django/python-django.hash           |   6 +-
 package/python-django/python-django.mk             |   4 +-
 package/socat/socat.hash                           |  10 +-
 package/socat/socat.mk                             |   2 +-
 ...arch-sh-Add-64-bit-time-types-from-kernel.patch |  33 +++++
 .../wireguard-linux-compat.hash                    |   4 +-
 .../wireguard-linux-compat.mk                      |   2 +-
 .../xserver_xorg-server/xserver_xorg-server.mk     |   3 +
 package/xenomai/Config.in                          |   6 +-
 support/dependencies/check-host-cmake.mk           |   5 +
 support/misc/Vagrantfile                           |   2 +-
 31 files changed, 409 insertions(+), 40 deletions(-)
 rename package/binutils/{2.35.1 => 2.35.2}/0001-sh-conf.patch (100%)
 rename package/binutils/{2.35.1 => 2.35.2}/0002-poison-system-directories.patch (100%)
 create mode 100644 package/intel-mediadriver/0002-build-fix-Werror=format-overflow-under-gcc-10.patch
 create mode 100644 package/mutt/0002-CVE-2021-3181-1.patch
 create mode 100644 package/mutt/0003-CVE-2021-3181-2.patch
 create mode 100644 package/mutt/0004-CVE-2021-3181-3.patch
 create mode 100644 package/uclibc/0001-arch-sh-Add-64-bit-time-types-from-kernel.patch
Submodule path 'buildroot': merged in 'efca26a4051372112c03c326642a74f2981639a3'

Logan@DESKTOP-ANBSM94 MINGW64 /c/Home automation/MycroftOS (develop)
$

Logan@DESKTOP-ANBSM94 MINGW64 /c/Home automation/MycroftOS (develop)
$ ./scripts/br-patches.sh
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-idna/python-idna.hash
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-idna/python-idna.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-pillow/Config.in
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-pillow/python-pillow.hash
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-pillow/python-pillow.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-psutil/python-psutil.hash
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-psutil/python-psutil.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3-psutil/python3-psutil.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-serial/python-serial.hash
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-serial/python-serial.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-networkmanager/0001-Add-new-device-types.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-websocket-client/python-websocket-client.hash
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-websocket-client/python-websocket-client.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-arrow/python-arrow.hash
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-arrow/python-arrow.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-pyjwt/python-pyjwt.hash
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-pyjwt/python-pyjwt.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-pyyaml/python-pyyaml.hash
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-pyyaml/python-pyyaml.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3-pyyaml/python3-pyyaml.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-dateutil/Config.in
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-dateutil/python-dateutil.hash
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-dateutil/python-dateutil.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-ifaddr/python-ifaddr.hash
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-ifaddr/python-ifaddr.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-pytz/python-pytz.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-alsaaudio/python-alsaaudio.hash
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-alsaaudio/python-alsaaudio.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-ipaddress/Config.in
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-pip/python-pip.hash
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-pip/python-pip.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-tornado/python-tornado.hash
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python-tornado/python-tornado.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/mimic/0001-Disable-Werror.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/mimic/0002-Fix-pulseaudio-library-linking.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/mimic/Config.in
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/mimic/mimic.hash
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/mimic/mimic.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/pulseaudio/pulseaudio.mk
Hunk #1 succeeded at 157 (offset -5 lines).
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0001-Make-the-build-of-pyc-files-conditional.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0002-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0004-Adjust-library-header-paths-for-cross-compilation.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0005-Don-t-look-in-usr-lib-termcap-for-libraries.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0006-Don-t-add-multiarch-paths.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0007-Abort-on-failed-module-build.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0008-Serial-ioctl-workaround.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0009-Do-not-adjust-the-shebang-of-Python-scripts-for-cros.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0010-Misc-python-config.sh.in-ensure-sed-invocations-only.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0013-Add-an-option-to-disable-installation-of-test-module.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0014-Add-an-option-to-disable-pydoc.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0015-Add-an-option-to-disable-lib2to3.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0016-Add-option-to-disable-the-sqlite3-module.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0017-Add-an-option-to-disable-the-tk-module.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0018-Add-an-option-to-disable-the-curses-module.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0019-Add-an-option-to-disable-expat.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0020-Add-an-option-to-disable-CJK-codecs.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0021-Add-an-option-to-disable-NIS.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0022-Add-an-option-to-disable-unicodedata.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0023-Add-an-option-to-disable-IDLE.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0024-Add-an-option-to-disable-decimal.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0025-Add-an-option-to-disable-the-ossaudiodev-module.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0026-Add-an-option-to-disable-openssl-support.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0027-Add-an-option-to-disable-the-readline-module.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0028-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0029-python-config.sh-don-t-reassign-prefix.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0030-Fix-cross-compiling-the-uuid-module.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0031-Add-an-option-to-disable-uuid-module.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0032-fix-building-on-older-distributions.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0033-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/python3.hash
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/python3/python3.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/shairport-sync/shairport-sync.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file linux/Config.in
Hunk #1 succeeded at 424 (offset 7 lines).
(Stripping trailing CRs from patch; use --binary to disable.)
patching file linux/linux.mk
Hunk #1 succeeded at 390 (offset -40 lines).
Hunk #2 succeeded at 479 (offset -37 lines).
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/rpi-firmware/Config.in
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/rpi-firmware/rpi-firmware.hash
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/rpi-firmware/rpi-firmware.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/rpi-wifi-firmware/rpi-wifi-firmware.hash
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/rpi-wifi-firmware/rpi-wifi-firmware.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/kf5/kf5-extra-cmake-modules/kf5-extra-cmake-modules.hash
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/kf5/kf5-extra-cmake-modules/kf5-extra-cmake-modules.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.hash
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/kf5/kf5-networkmanager-qt/kf5-networkmanager-qt.hash
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/kf5/kf5.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/qt5/qt5webengine/qt5webengine.mk
Hunk #1 succeeded at 51 with fuzz 2 (offset -1 lines).
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/wpewebkit/wpewebkit.mk
Hunk #1 succeeded at 84 with fuzz 1 (offset 12 lines).
(Stripping trailing CRs from patch; use --binary to disable.)
patching file package/spidermonkey/spidermonkey.mk
(Stripping trailing CRs from patch; use --binary to disable.)
patching file support/scripts/mkusers

Logan@DESKTOP-ANBSM94 MINGW64 /c/Home automation/MycroftOS (develop)
$ make clean
C:/Program Files (x86)/GnuWin32/bin/make -C buildroot BR2_EXTERNAL=../buildroot-external clean
/usr/bin/sh: -c: line 0: syntax error near unexpected token `('
/usr/bin/sh: -c: line 0: `C:/Program Files (x86)/GnuWin32/bin/make -C buildroot BR2_EXTERNAL=../buildroot-external clean'
make: *** [clean] Error 1

Logan@DESKTOP-ANBSM94 MINGW64 /c/Home automation/MycroftOS (develop)$ make
mkdir -p release
config rpi3_64-gui
C:/Program Files (x86)/GnuWin32/bin/make -C buildroot BR2_EXTERNAL=../buildroot-external "rpi3_64-gui_defconfig"
/usr/bin/sh: -c: line 0: syntax error near unexpected token `('
/usr/bin/sh: -c: line 0: `C:/Program Files (x86)/GnuWin32/bin/make -C buildroot BR2_EXTERNAL=../buildroot-external "rpi3_64-gui_defconfig"'
make: *** [rpi3_64-gui-config] Error 1

Logan@DESKTOP-ANBSM94 MINGW64 /c/Home automation/MycroftOS (develop)
$ make all
config rpi3_64-gui
C:/Program Files (x86)/GnuWin32/bin/make -C buildroot BR2_EXTERNAL=../buildroot-external "rpi3_64-gui_defconfig"
/usr/bin/sh: -c: line 0: syntax error near unexpected token `('
/usr/bin/sh: -c: line 0: `C:/Program Files (x86)/GnuWin32/bin/make -C buildroot BR2_EXTERNAL=../buildroot-external "rpi3_64-gui_defconfig"'
make: *** [rpi3_64-gui-config] Error 1

Logan@DESKTOP-ANBSM94 MINGW64 /c/Home automation/MycroftOS (develop)
$ make rpi3-config
make: *** No rule to make target `rpi3-config'.  Stop.

Logan@DESKTOP-ANBSM94 MINGW64 /c/Home automation/MycroftOS (develop)
$ make rpi3
make: *** No rule to make target `rpi3'.  Stop.

As you can see, fails in the make step, and I can't figure out why... any pointers?

Mycroft: Wrong ".mycroft" folder at first boot

Information

At first boot Mycroft A.I. should create certain folders within the /home directory of the user running the software.

Bug description

In our case we only have the root user however for some reason the software does not properly translate "~/" into "/root/" and therefor two folders are created. One at; /.mycroft and another at /root/.mycroft ???

Removing it all, and starting manually does translate ~/ however at boot it doesn't always works. At some point it does, so we end up with two folders in different locations.

Can't figure it out yet ...

Bluetooth support for external speakers

Information

Implement bluetooth support, both Master as Slave. By default, I want to implement some mechanism that allows for selecting a bluetooth speaker to be used as output for Mycroft. However secondly, enabling Slave support so that you can use your MycroftOS device as Bluetooth speaker to stream music to. The MycroftOS device with speaker is already there, so why not use it as common Bluetooth speaker as well ?!?

Make sure all Skills from the market can install (dependencies)

Information

Asd there are no GCC / Compile tools available on MycroftOS, we have to make sure all Skills from the Market can be installed without any problems (unless the skill is very specific for a certain platform, but even then I will try to get it done somehow)

Python3.7 and PIP are installed. PIP should be configured to also look at piwheels (already there). Where possible wheels should be preferred otherwise source should be ok, but sources with gcc (or other compiler) should be wheels only and if that is not be possible be pre-installed and therefor compiled at buildtime of the system.

Suggestion/Buildroot: Addition of a mic array kernel drivers

Hi, i think MycroftOS is a great idea!

Since it is aimed at raspi3 for now, it would make sense to support some common mic arrays,

Maybe also support some other hats that make sense for mycroft

Suggestions:

  • respeaker, i see you have plans for it already #1
  • matrix voice
  • google AIY kits (vision and voice)
  • sense hat, not sure how much sense this one makes, im making a mycroft enclosure for it

pre-alpha 08092005 shutdown/restart not working

M2-devkit ,attempting to leave the mycroft-backend and restart unit (NO SSH available)
{I had selected 'enable SSH' from the menu - FWI no confirmation or anything}
.
selected both 'restart icon' and also the pwr-down icon but it only returns me to homescreen
expected a terminal screen with data - similar to mycroft
.
just turned off power

Build failures

Can you publish a list of dependencies needed and linux version needed for the build environment. I seem to be in some dependency hell for all device types. rpi4_64-gui errors on gles qt5 error. on Ubuntu 20.04.1 LTS for what its worth.

make rpi4_64 results in:

Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Copying files into the device: __populate_fs: Could not allocate block in ext2 filesystem while writing file "vlc.mo"
mkfs.ext4: Could not allocate block in ext2 filesystem while populating file system
*** Maybe you need to increase the filesystem size (BR2_TARGET_ROOTFS_EXT2_SIZE)
make[2]: *** [fs/ext2/ext2.mk:63: /home/osboxes/source/MycroftOS/buildroot/output/images/rootfs.ext2] Error 1
make[1]: *** [Makefile:84: _all] Error 2
make[1]: Leaving directory '/home/osboxes/source/MycroftOS/buildroot'
cp -f buildroot/output/images/sdcard.img release/OpenVoiceOS_rpi4_64.img
cp: cannot stat 'buildroot/output/images/sdcard.img': No such file or directory

make rpi4_64-gui results in:

CMake Error at src/declarativeimports/core/CMakeLists.txt:29 (add_library):
Target "corebindingsplugin" links to target "Qt5::Gui_GLESv2" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?

I feel like I am very close to success here. Thank you for any help.

Can't install home assistant skill

Hi, I'm fairly new to linux and Mycroft and such, but I've got MycroftOS running on a RPi3, and now I'm in the process of trying to install home assistant too, but I've run into a problem. It keeps telling me that: An error occurred while installing the Python dependencies for homassistant, I've attempted it with picroft before where it just installed with no issues, and I'm not entirely certain what is wrong here.

mycroft-cli-client associeted errors

I've been having trouble ending the Make but i bypassed it and finished it, it was giving a error when it was runninh the post-image script, then i loaded the image and it runned perfectly until i tried to start mycorft-cli-client it gave the error of unsuported locale
mycroft@MycroftOS:~ $ mycroft-cli-client
Traceback (most recent call last):
File "/bin/mycroft-cli-client", line 11, in <module>
load_entry_point('mycroft-core==19.8.4', 'console_scripts', 'mycroft-cli-client')()
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point return ep.load()
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2443, in load return self.resolve()
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2449, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3.8/site-packages/mycroft/client/text/__main__.py", line 21, in <module> from .text_client import (
File "/usr/lib/python3.8/site-packages/mycroft/client/text/text_client.py", line 39, in <module> locale.setlocale(locale.LC_ALL, "") # Set LC_ALL to user default
File "/usr/lib/python3.8/locale.py", line 608, in setlocale return _setlocale(category, locale)
locale.Error: unsupported locale setting
I fixed it by exporting the variable LC_ALL to a locale and it started normaly, but i'm getting a unhandled expression inside the client. This was all after i registered the device at home.mycroft.ai.
Thank you for your time.

Recreate SD auto expansion init script using systemd

Information

The resize SD partition script wasn't working at boot time, however running it mannually did do the trick. Anyway, with the switch to systemd this whole script need to be recreated / reimplemented the systemd way.

Precise-data: Pre-install Precise binaries and models

Information

At first run of Mycroft, it takes a rather long time to populate everything. First all default skills get downloaded and installed. Then any extra remote configured skills (home.mycroft.ai). Listener is defaulted to PocketSphinx untill all precise data and binaries are downloaded and extracted.

All in all, everything takes time, so we can lower the burden at first run, to already pre install the precise stuff and making it available straight from the beginning.

Switch to Systemd and udev

Information

Buildroot defaults to a small init system delivered by Busybox. However this system is very minimal and does not allow for on-demand loading of services and other complex situations. Systemd is what is been used by most linux distributions now a days and includes udev.

With this we have better control on starting services and udev allows for loading of services when users plugin hardware.

Example of this: ReSpeaker uses udev rules to load the right configuration files into pulseaudio, such that pulseaudio it's default sink and source are properly configured based on the hardware found.

Fix / Check all Buildroot package dependencies

Information

All packages of buildroot-external are there and by using the provided defconfig file(s) for building the firmware, everything will be properly downloaded and build.

However...

I have not yet been putting efforts in linking all the right dependencies for each package. Selecting one, should selecting some others and/or building some before the other. In the host or the target etc.

This cleanup should happen eventually.

Create mycroft user and run mycroft as it

Information

Normally I do not care for embedded devices to run stuff under just one user - root. However as MycroftOS becomes more and more in line with normal linux stuff, doing stuff the proper way is perhaps better

  • Step away from using root
  • Create mycroft user
  • Run mycroft swoftware stack as user mycroft

This brings things more inline with picroft and makes supporting the Mark 1 and 2 later down the road easier.

preAlpha-0828 - inconsistent audio out

Mark2-devkit/SJ board ; usb flash; network cable
fresh image - boot up -ncpamixer only has 'dummy' input
ssh/cli 'shutdown now -r' : ncpamixer still only dummy -- plug in usb-headset -now pactl reports usb-mic as source
but pactl sink is only 'dummy'
ssh/cli set volume to 40%
Restart from menu (was real fast - sometimes 31 green-media(pi) blinks)
SJ spkr LOUDLY reports it is now ready
**
can't seem to get the headset audio
pwr cycle - no SJ speaker/ headset
pactl list sinks = 'dummy' only !!!
**
ovos-2028-audio-iss.tar.gz

The new version.

Hi @j1nx I was wondering if their was a way that I could get your latest relase MycroftOS-GUI_0.1.0_rpi3_alpha8? Thanks

wake word loop weirdness

Hardware: RPi4 2GB, 32GB sd card, HDMI out to TV for sound, PS3 eye USB for mic.
Wake word: Hey Jarvis

Not sure if this is the correct place (mycroft.ai forum maybe a better place?) or not but didn't have this behaviour before on picroft.

Firstly it doesn't respond to the spoken wake word "hey jarvis", until text input is processed via mycroft-cli-client or home assistant sends a message via the notification integration for mycroft, but separate to this it also goes into a wake word loop.

I enter 'play new retro wave' in the mycroft-cli-client and it finds some good tunes and starts playing, then as below it keeps detecting the wake word even though nothing verbal is being said, just music.

2021-08-26 12:21:59.042 | DEBUG    |   403 | urllib3.connectionpool | https://api.mycroft.ai:443 "POST /v1/stt?lang=en-US&limit=1 HTTP/1.1" 200 24
12:21:59.042 - urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "POST /v1/stt?lang=en-US&limit=1 HTTP/1.1" 200 24
2021-08-26 12:21:59.056 | DEBUG    |   403 | mycroft.client.speech.listener:transcribe:224 | STT: play new retro wave
2021-08-26 12:21:59.059 | INFO     |   403 | mycroft.client.speech.__main__:handle_utterance:76 | Utterance: ['play new retro wave']
2021-08-26 12:22:01.910 | INFO     |   403 | mycroft.client.speech.__main__:handle_wakeword:71 | Wakeword Detected: hey jarvis
2021-08-26 12:22:01.914 | DEBUG    |   403 | mycroft.client.speech.mic:listen:725 | Recording...
2021-08-26 12:22:02.422 | INFO     |   403 | mycroft.client.speech.__main__:handle_record_begin:41 | Begin Recording...
2021-08-26 12:22:06.397 | INFO     |   403 | mycroft.client.speech.__main__:handle_record_end:49 | End Recording...
2021-08-26 12:22:06.523 | DEBUG    |   403 | urllib3.connectionpool | Starting new HTTPS connection (1): api.mycroft.ai:443
12:22:06.523 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai:443
2021-08-26 12:22:07.336 | DEBUG    |   403 | mycroft.client.speech.mic:listen:712 | Waiting for wake word...
2021-08-26 12:22:07.351 | DEBUG    |   403 | urllib3.connectionpool | https://api.mycroft.ai:443 "POST /v1/stt?lang=en-US&limit=1 HTTP/1.1" 200 3
12:22:07.351 - urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "POST /v1/stt?lang=en-US&limit=1 HTTP/1.1" 200 3
2021-08-26 12:22:07.417 | DEBUG    |   403 | urllib3.connectionpool | Starting new HTTPS connection (1): api.mycroft.ai:443
12:22:07.417 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai:443
2021-08-26 12:22:08.365 | DEBUG    |   403 | urllib3.connectionpool | https://api.mycroft.ai:443 "POST /v1/stt?lang=en-US&limit=1 HTTP/1.1" 200 3
12:22:08.365 - urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "POST /v1/stt?lang=en-US&limit=1 HTTP/1.1" 200 3
2021-08-26 12:22:08.626 | ERROR    |   403 | mycroft.client.speech.listener:transcribe:239 | 0
2021-08-26 12:22:08.897 | ERROR    |   403 | mycroft.client.speech.listener:transcribe:240 | Speech Recognition could not understand audio
2021-08-26 12:22:23.825 | INFO     |   403 | mycroft.client.speech.__main__:handle_wakeword:71 | Wakeword Detected: hey jarvis
2021-08-26 12:22:23.833 | DEBUG    |   403 | mycroft.client.speech.mic:listen:725 | Recording...
2021-08-26 12:22:24.388 | INFO     |   403 | mycroft.client.speech.__main__:handle_record_begin:41 | Begin Recording...
2021-08-26 12:22:25.863 | INFO     |   403 | mycroft.client.speech.__main__:handle_record_end:49 | End Recording...
2021-08-26 12:22:25.951 | DEBUG    |   403 | urllib3.connectionpool | Starting new HTTPS connection (1): api.mycroft.ai:443
12:22:25.951 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai:443
2021-08-26 12:22:26.802 | DEBUG    |   403 | urllib3.connectionpool | https://api.mycroft.ai:443 "POST /v1/stt?lang=en-US&limit=1 HTTP/1.1" 200 3
12:22:26.802 - urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "POST /v1/stt?lang=en-US&limit=1 HTTP/1.1" 200 3
2021-08-26 12:22:26.818 | DEBUG    |   403 | mycroft.client.speech.mic:listen:712 | Waiting for wake word...
2021-08-26 12:22:26.910 | DEBUG    |   403 | urllib3.connectionpool | Starting new HTTPS connection (1): api.mycroft.ai:443
12:22:26.910 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai:443
2021-08-26 12:22:27.824 | DEBUG    |   403 | urllib3.connectionpool | https://api.mycroft.ai:443 "POST /v1/stt?lang=en-US&limit=1 HTTP/1.1" 200 3
12:22:27.824 - urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "POST /v1/stt?lang=en-US&limit=1 HTTP/1.1" 200 3
2021-08-26 12:22:27.842 | ERROR    |   403 | mycroft.client.speech.listener:transcribe:239 | 0
2021-08-26 12:22:27.844 | ERROR    |   403 | mycroft.client.speech.listener:transcribe:240 | Speech Recognition could not understand audio
2021-08-26 12:22:29.494 | INFO     |   403 | mycroft.client.speech.__main__:handle_wakeword:71 | Wakeword Detected: hey jarvis
2021-08-26 12:22:29.530 | DEBUG    |   403 | mycroft.client.speech.mic:listen:725 | Recording...
2021-08-26 12:22:30.063 | INFO     |   403 | mycroft.client.speech.__main__:handle_record_begin:41 | Begin Recording...
2021-08-26 12:22:40.118 | INFO     |   403 | mycroft.client.speech.__main__:handle_record_end:49 | End Recording...
2021-08-26 12:22:40.436 | DEBUG    |   403 | urllib3.connectionpool | Starting new HTTPS connection (1): api.mycroft.ai:443
12:22:40.436 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai:443
2021-08-26 12:22:41.014 | DEBUG    |   403 | mycroft.client.speech.mic:listen:712 | Waiting for wake word...
2021-08-26 12:22:41.859 | DEBUG    |   403 | urllib3.connectionpool | https://api.mycroft.ai:443 "POST /v1/stt?lang=en-US&limit=1 HTTP/1.1" 200 3
12:22:41.859 - urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "POST /v1/stt?lang=en-US&limit=1 HTTP/1.1" 200 3
2021-08-26 12:22:42.733 | INFO     |   403 | mycroft.client.speech.__main__:handle_wakeword:71 | Wakeword Detected: hey jarvis
2021-08-26 12:22:42.754 | DEBUG    |   403 | mycroft.client.speech.mic:listen:725 | Recording...
2021-08-26 12:22:42.906 | DEBUG    |   403 | urllib3.connectionpool | Starting new HTTPS connection (1): api.mycroft.ai:443
12:22:42.906 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai:443
2021-08-26 12:22:43.357 | INFO     |   403 | mycroft.client.speech.__main__:handle_record_begin:41 | Begin Recording...
2021-08-26 12:22:44.266 | DEBUG    |   403 | urllib3.connectionpool | https://api.mycroft.ai:443 "POST /v1/stt?lang=en-US&limit=1 HTTP/1.1" 200 3
12:22:44.266 - urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "POST /v1/stt?lang=en-US&limit=1 HTTP/1.1" 200 3
2021-08-26 12:22:44.295 | ERROR    |   403 | mycroft.client.speech.listener:transcribe:239 | 0

I'd say the mic is overly sensitive perhaps, but it doesn't respond to when I say 'hey jarvis', it only "detects the wake word" when there is continuous loud sound playing from it's self. It will also detect the wake word when there is silence.

Build errors

Build Environment

  • Raspberry pi 4 2 GB

  • Ubuntu 20.04.2 LTS

  • gcc, gcc++

  • subversion

  • qttools5-dev

  • qttools5-dev-tools

  • python

  • git clone latest copy of OpenVoiceOS as per README

warning occurs when running make rpi4_64-gui-config: -

config rpi4_64-gui
make -C buildroot BR2_EXTERNAL=../buildroot-external "rpi4_64-gui_defconfig"
make[1]: Entering directory '/home/ubuntu/OpenVoiceOS/buildroot'

WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_PROTOBUF
  Depends on [n]: (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=y]) && (BR2_HOSTARCH [=aarch64]=x86_64 || BR2_HOSTARCH [=aarch64]=x86)
  Selected by [y]:
  - BR2_PACKAGE_PYTHON_PYCHROMECAST [=y]

WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_PROTOBUF
  Depends on [n]: (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=y]) && (BR2_HOSTARCH [=aarch64]=x86_64 || BR2_HOSTARCH [=aarch64]=x86)
  Selected by [y]:
  - BR2_PACKAGE_PYTHON_PYCHROMECAST [=y]
#
# configuration written to /home/ubuntu/OpenVoiceOS/buildroot/.config
#
make[1]: Leaving directory '/home/ubuntu/OpenVoiceOS/buildroot'

Then after running make rpi4_64-gui the following error occurs: -


/home/ubuntu/OpenVoiceOS/buildroot/output/host/bin/ccache /usr/bin/g++ -fno-PIE -c   -O2 -I/home/ubuntu/OpenVoiceOS/buildroot/output/host/include -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include -I/home/ubuntu/OpenVoiceOS/buildroot/output/host/include -I/home/ubuntu/OpenVoiceOS/buildroot/output/host/include -I/home/ubuntu/OpenVoiceOS/buildroot/output/host/include  -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc/../libbacktrace   -o caller-save.o -MT caller-save.o -MMD -MP -MF ./.deps/caller-save.TPo ../../gcc/caller-save.c
/home/ubuntu/OpenVoiceOS/buildroot/output/host/bin/ccache /usr/bin/g++ -fno-PIE -c   -O2 -I/home/ubuntu/OpenVoiceOS/buildroot/output/host/include -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include -I/home/ubuntu/OpenVoiceOS/buildroot/output/host/include -I/home/ubuntu/OpenVoiceOS/buildroot/output/host/include -I/home/ubuntu/OpenVoiceOS/buildroot/output/host/include  -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc/../libbacktrace   -o calls.o -MT calls.o -MMD -MP -MF ./.deps/calls.TPo ../../gcc/calls.c
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[4]: *** [Makefile:1117: insn-emit.o] Error 1
make[4]: *** Waiting for unfinished jobs....
rm gcc.pod
make[3]: *** [Makefile:4376: all-gcc] Error 2
make[2]: *** [package/pkg-generic.mk:250: /home/ubuntu/OpenVoiceOS/buildroot/output/build/host-gcc-initial-10.2.0/.stamp_built] Error 2
make[1]: *** [Makefile:84: _all] Error 2
make[1]: Leaving directory '/home/ubuntu/OpenVoiceOS/buildroot'

Not sure what dependency i am missing re: warning? Or if I am doing anything obviously wrong?

Thank you!

privacy edition image

Some ideas for a privacy enhanced image

Bundled plugins

https://github.com/HelloChatterbox/dummy_wakeword_plugin - disable wake word
https://github.com/JarbasLingua/jarbas-stt-plugin-vosk - offline STT (make default ? )

Extra software

https://github.com/OpenJarbas/mock-backend - no phoning home

Patches (waiting for mycroft....)

MycroftAI/mycroft-core#2698 - skill settings GUI

Default config

TODO

System tweaks

  • firewall blocking messagebus
  • firewall blocking GUI messagebus
  • firewall blocking mock-backend

For discussion

  • blacklist https://github.com/MycroftAI/skill-installer , the voice search sucks and its tied to mycroft marketplace, might end up with accidental skill installs
  • replace wolfram alpha and weather with alternative that dont use mycroft backend
  • what models should we include for vosk/offline stt ?
  • change messagebus port to specifically avoid connection attempts
  • change GUI port to specifically avoid connection attempts, NOTE: not sure this can be done, does the mycrof-gui also allow changing this?
  • bundle hivemind to encourage proper secure bus connections, so people dont allow mycroft bus and are instead pointed to this
  • blacklist https://github.com/JarbasHiveMind/skill-hivemind because hivemind master is running system wide
  • can we add some warning when users make firewall changes? specifically is allowing any of the blocked ports?

almost-alpha long running issues

Mk2-devkit on usb drive, network cable
seems there are long term (> 12 hrs ??) issues creeping in

  1. the other day I put it to 'go to sleep' ["naptime" didn't work] but the next morning I had 'standby face'
    no audio or mic connected (cept SJ)
  2. just now attempted to do 2 or 3 [gui-menu] restarts and a stop - got no results
    . yesterday it would act appropriately - a long green acitivity pi-led, then 28-31 short leds, then blank & restart !
    .
    ** - thot - maybe the midnight rollover ?? in the time
    mycroft-longterm.tar.gz

catalan language image

Bellow are the current steps needed to make an image tuned for catalan language

Bundled Plugins

Patches

  • MycroftAI/mycroft-core#2772 core support for lingua_franca 0.3.X
  • lingua_franca from source to include catalan, while next version isnt released

Additional dependencies

Skill alternatives

For official skills not supporting catalan

Default config

under /etc/mycroft/mycroft.conf

{
  "lang": "ca-es",
  "stt": {
      "module": "chromium_stt_plug",
      "chromium_stt_plug": {
          "lang": "ca-ES"
      },
      "vosk_streaming_stt_plug": {
          "model_folder": "path/to/bundled/catalan/model/folder"
      },
      "vosk_stt_plug": {
          "model_folder": "path/to/bundled/catalan/model/folder"
      }
   },
  "tts": {
      "module": "festival",
      "festival": {
          "lang": "catalan",
          "encoding": "ISO-8859-15//TRANSLIT"
      },
      "voicerss_tts_plug": {
          "voice": "Rut",
          "lang": "ca-es"
      }
   },
  "skills": {
    "blacklisted_skills": [
          "mycroft-npr-news.mycroftai", 
          "mycroft-fallback-duck-duck-go.mycroftai", 
          "mycroft-joke.mycroftai",
          "fallback-wolfram-alpha.mycroftai"
    ]
  },
  "listener": {
      "stand_up_word": "desperta"
  },
  "hotwords": {
     "desperta": {
        "module": "snowboy_ww_plug",
        "models": [
            {"sensitivity": 0.5, "model_path": "desperta_jm.pmdl"},
            {"sensitivity": 0.5, "model_path": "desperta_jm2.pmdl"}
         ]
      },
      "no_wake_word": {
        "module": "dummy_ww_plug"
      }
   },
  "Audio": {
    "backends": {
      "vlc": {
        "active": true
      }
    },
    "default-backend": "vlc"
  }

}

Install fails when 1.1.1.1 is down

IP is hard coded in /etc/systemd/system/multi-user.target.wants/mycroft.service and was unreachable for me... so installation hung. Maybe ping a DNS name?

pre-alpha 08092005 mycroft backend issues

on a M2-devkit, with the pre-alpha, selected the mycroft backend
got device paired
later wanted to load ssh key - BUT ALL the Geo Location data was missing
. AND I couldn't save any of the re-entered data - mycroft through an "error updating device"
EDIT >> {I had selected 'enable SSH' from the menu - FWI no confirmation or anything}
.
will try the local backend and get the logs

prealpha-0819-udev : shutdown/restart menu options not working

MK2-devkit w/ network w/usb-flash [and a usb-headset]
{j1nx added a udev rule for my headset into what I assume tobe the 0819 latest image from google.drive}
I have waited at least 4 minutes for each of the options to do something
'
both of these functions fail to do anything to the unit as indicated by the time on the standby face updating
ovos-0819-udev-noshutdown-restart.tar.gz

****** this works ** there are about 31 short writes to media then a few others before blank/no pwer to screen

mycroft@OpenVoiceOS-e37cd7:~ $ shutdown now -h
Failed to set wall message, ignoring: Interactive authentication required.
Failed to power off system via logind: Interactive authentication required.
Failed to talk to init daemon.
mycroft@OpenVoiceOS-e37cd7:~ $ sudo shutdown now -h
Connection to 192.168.2.9 closed by remote host.
Connection to 192.168.2.9 closed.
[olzeke51@Linuxer ~]$

this set of logs are from the above successful shutdown
having troulble getting an archive

Mycroft: Mycroft CLI doesn't "look good".

Information

Running the Mycroft CLI does work, however it doesn't look as it should.

Bug description

When Mycroft is fully booted and loaded up. Start the Mycroft CLI with the command;

  • start-mycroft.sh cli

The lines and stuff does not as expected. The layout is I believe drawn by ncurses, so we should search into that area. As everything does work, this is not a big issue at the moment. Just needs fixing before the release matures.

How it should look;

How it looks;

The messages from the bus do show up though.

Create a MycroftOS enclosure

Information

Mark-1, Mark-2 and Picroft all have their own configured "enclosure" which allows to run hardware specific code for that specific hardware combo. We can and should do the same for MycroftOS.

German text but american voice

Hello Peter,
MycroftOS does not want to speak german with me anymore. I don't know exactly since when - lately I could hardly deal with MycroftOS - but I get the TTS output announced with an American voice. In the mycroft-cli-client console I see German texts but the voice output is with American intonation. What do I have to do so that the answers are in German? I have already changed the following in mycroft.conf but only it c(marked with #####), but this only changed that Mycroft now "understands" German but does not answer in German:
`{
"play_wav_cmdline": "paplay %1",

"play_mp3_cmdline": "mpg123 %1",
"ipc_path": "/ramdisk/mycroft/ipc/",
"enclosure": {
"platform": "MycroftOS",
"platform_build": 1
},
"lang": "de-de", #####
"listener": {
"mute_during_output": false,
"device_name": "pulse"
},
"tts": {
"module": "mimic2",
"mimic2": {
"lang": "de-de", #####
"url": "https://mimic-api.mycroft.ai/synthesize?text=",
"preloaded_cache": "/opt/mycroft/preloaded_cache/Mimic2"
},
"pulse_duck": true
},
"skills": {
"priority_skills": [
"mycroftos-enclosure-skill",
"mycroft-pairing",
"mycroft-volume"
]
},
"log_level": "INFO",
"max_allowed_core_version": 20.8
}`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.