MycroftAI / enclosure-picroft

Mycroft interface for Raspberry Pi environment
https://mycroft.ai/documentation/picroft
GNU Lesser General Public License v3.0
803 stars 191 forks source link

Fresh install of Picroft on RPI3 with Google AIY Voice Kit V1 errors #145

Closed nicolaevladescu closed 3 years ago

nicolaevladescu commented 3 years ago

Hello, my setup is Picroft on a RPI3 model B with Google AIY Voice Kit V1.

I manually patched /home/pi/auto_run.sh to fix the Google signing key and repository urls issues.

I have these errors with two systemd services:

systemctl status aiy_mcu_updater.service shows:

aiy_mcu_updater.py[575]: [2020-10-10 12:26:34,676-/opt/aiy/io-mcu-firmware/aiy_mcu_updater.py-ERROR] Hat overlay not loaded. MCU never flashed? Board connected?

systemctl status aiy_io_permission.service shows:

aiy_io_permission_service.py[410]: Traceback (most recent call last):
aiy_io_permission_service.py[410]:   File "/opt/aiy/io-mcu-firmware/aiy_io_permission_service.py", line 26, in <module>
picroft aiy_io_permission_service.py[410]:     import inotify.adapters
picroft aiy_io_permission_service.py[410]: ModuleNotFoundError: No module named 'inotify'

More relevant info below:

/boot/config.txt excerpt:

[all]
#dtoverlay=vc4-fkms-v3d
dtoverlay=i2s-mmap
dtoverlay=googlevoicehat-soundcard

The aiy dkms modules are built without errors.

(.venv) pi@picroft:~ $ sudo lsmod | grep -i google
snd_soc_googlevoicehat_codec    16384  1
snd_soc_core          200704  3 snd_soc_googlevoicehat_codec,snd_soc_bcm2835_i2s,snd_soc_rpi_simple_soundcard
(.venv) pi@picroft:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpigooglevoi [snd_rpi_googlevoicehat_soundcar], device 0: Google voiceHAT SoundCard HiFi voicehat-codec-0 [Google voiceHAT SoundCard HiFi voicehat-codec-0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0