Closed nciervo closed 5 years ago
Hi @nciervo,
Apologies that I didn't see your issue until now. Are you still having the same trouble?
Edit: Short answer, no.
Spent most of the morning trying to get it working with the Picroft Stable 2018-09-12 image and Andlo's updated auto_run.sh and AIY-asound.conf. When I first let the auto_run go, I selected option 4 for the AIY VoiceHat installation. When prompted by the installer to restart, I did. The next time around, I selected 4, again and it froze. After 15 minutes I hit ctrl+c, went into the mycroft-core folder and tried starting Mycroft manually. It told me to run the dev-setup.sh again. I tried that and I got the protobuf error. I tried following the directions here to fix it, but couldn't get the protobuf error to go away. Finally I ran "./dev_setup.sh -n" telling it to skip errors instead of quitting. This allowed me to start MyCroft, but it couldn't hear me and I couldn't hear it.
I will try installing MyCroft from the latest AIYProjects image from 2018-11-16 the next day that I have free.
I am looking for a spare sd card to use, and will then flash a new picroft with AIY to se how it goes. Last time (now some time ago) i worked, but something could be broken.
Just reflashed and dosnt have have any problems....What I did was:
Downoaded the stable image Flashed and booted up ssh pi@picroft Ctrl+C to enter the shell run sh ./update.sh to update picroft (the autorun.sh) exit the ssh ssh pi@picroft followed the guide and choose 4 for Google AIY /lots of updating and downloads) R for reboot ssh pi@picroft follow the guide choose 4 for Google AIY paired when asked hey mycroft what version are you running to update to latest mycroft-core hey mycroft install google aiy voice kit skill hey mycroft install auto volume skill
But I doo have other issue where mycroft isnt speaking last part of long sentences, but tha is a hole other problem.....
But I doo have other issue where mycroft isnt speaking last part of long sentences, but tha is a hole other problem.....
I suspect this is something that @Ruthvicp identified and which should be fixed in the next release.
Mimic2 long sentences are handled in this PR. @andlo Please try with the latest dev branch & let us know if you find any error
Yep I know. I were concentrating on tis issye where @nciervo have problems installing picroft and getting the AIY installed. That were why I did a reflash to see how things were dooing and it seems to work for me. Well - my mi is just a pi3 and not a pi3+
Following @andlo 's directions, I was able to get through the installation process, Mycroft can hear me, but I cannot hear it. After the second time of choosing "4 for Google" I was able to hear the microphone test. However, as Mycroft started up there were a few lines of: "amixer unable to find simple control 'pcm' 0" "Unable to find the given element from control default"
A few differences from what @andlo 's - as he said I am using RPi3+. Also, instead of SSH, I connected directly to the device. Whenever his instructions recommended disconnected and reconnecting, I did "sudo shutdown -r now" -> I doubt this was a different maker. Instead of using ssh, I was connected directly to the device
I gave it another go this morning and it seems to be working. When I ask it its IP address it says "192.1" and stops - which seems to be related to the other issue mentioned in this thread. But the main issue is solved. I must have been missing a step somewhere. I apologize for wasting everyone's time.
On Wed, Mar 27, 2019 at 5:06 AM Andreas Lorensen notifications@github.com wrote:
Yep I know. I were concentrating on tis issye where @nciervo https://github.com/nciervo have problems installing picroft and getting the AIY installed. That were why I did a reflash to see how things were dooing and it seems to work for me. Well - my mi is just a pi3 and not a pi3+
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MycroftAI/enclosure-picroft/issues/89#issuecomment-477049674, or mute the thread https://github.com/notifications/unsubscribe-auth/Ad_l0bXFLyREk0xjy_vqMu3qOLCpBUiqks5vazSMgaJpZM4Zou-- .
Just reflashed and dosnt have have any problems....What I did was:
Downoaded the stable image Flashed and booted up ssh pi@picroft Ctrl+C to enter the shell run sh ./update.sh to update picroft (the autorun.sh) exit the ssh ssh pi@picroft followed the guide and choose 4 for Google AIY /lots of updating and downloads) R for reboot ssh pi@picroft follow the guide choose 4 for Google AIY paired when asked hey mycroft what version are you running to update to latest mycroft-core hey mycroft install google aiy voice kit skill hey mycroft install auto volume skill
But I doo have other issue where mycroft isnt speaking last part of long sentences, but tha is a hole other problem.....
When doing the sh ./update.sh I got this:
pi@picroft:~ $ sh ./update.sh
Would you like to install Picroft on this machine?
Choice [Y/N]: ./update.sh: 31: read: Illegal option -N
Aborting install.
I can't write the Y it does all that automatically
EDIT:
I used bash update.sh
and it worked.
I'll leave this here to future people.
I just tried the new unstable image (https://mycroft.ai/to/picroft-unstable) on my AIY v1. It seems to work, but I would appreciate another giving it a shot.
I just did a first-time install on a new AIY platform yesterday using the new unstable image, and ran into a few issues:
Got stuck in a reboot loop with the AIY hardware selection because of https://github.com/MycroftAI/enclosure-picroft/issues/109 (https://github.com/MycroftAI/enclosure-picroft/pull/110 would resolve this).
The error E: Unable to locate package aiy-voicebonnet-routes
from https://github.com/MycroftAI/enclosure-picroft/blob/stretch/home/pi/auto_run.sh#L314
Compile failure from installing aiy-dkms
(see make-aiy-dkms.log)
Compile failure from installing aiy-voicebonnet-soundcard-dkms
(see
make-aiy-voicebonnet-soundcard-dkms.log)
FWIW the install worked, but the microphone was very quiet, and I had to run pactl set-source-volume 1 300%
to get any kind of acceptable levels from it.
Update: Looks like the module build failures are for a kernel other than what's running. dpkg-reconfigure shows:
It is likely that 4.14.98-v7+ belongs to a chroot's host
Building for 4.14.98+, 4.14.98-v7+, 4.19.57+ and 4.19.57-v7+
Module build for kernel 4.14.98+ was skipped since the
kernel headers for this kernel does not seem to be installed.
Module build for kernel 4.14.98-v7+ was skipped since the
kernel headers for this kernel does not seem to be installed.
Building initial module for 4.19.57+
Error! Bad return status for module build on kernel: 4.19.57+ (armv7l)
But uname says:
Linux mycroft 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux
and those headers don't seem to be installed:
$ ls -1 /usr/src/
aiy-1.1
aiy-voicebonnet-soundcard-1.0
leds-ktd202x-1.1
linux-headers-4.19.57+
linux-headers-4.19.57-v7+
Probably because the installed kernel is out of sync with the installed headers:
$ dpkg -l 'raspberrypi-kernel*' | grep '^i'
ii raspberrypi-kernel 1.20190401-1 armhf Raspberry Pi bootloader
ii raspberrypi-kernel-headers 1.20190709~stretch- armhf Header files for the Raspberry Pi Linux kernel
I addressed the reboot boneheadness. I was able to successfully get it running on an AIY using this image, although I'll admit that I walked away during the install process so there might be some warnings I missed.
For now I'm pushing this out as both stable and unstable (since the old stable was nearly a year old). If this needs modifications we can iterate from here, but I also want to attempt to move to Raspbian Buster very soon.
I'm trying to get Mycroft to work over the Magpi AIY kit (v1).
I tried using the the 09-12 stable image and Andlo's wgets. Unfortunately, after the "4) for Google Voice hat" reboot, the installation stalls on that same exact step the next go around.
I reloaded the fresh image, tried again without rebooting, but got the protobuf error. I tried using the install_AIY.sh script Andlo prepared (with AIY-python-wheels) commented out, but my system seemed to still want to try and install them (even after removing and reloading the apt repository list multiple times).
I also tried using the latest AIY image and installing Mycroft over top of that image as described in these instructions, but upon reboot, it went straight into the OS GUI and MyCroft didn't start on it's own.
Thoughts? Ideas?