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

Google AIY v1 with Mycroft 20.08-no mic or top button #151

Closed nerlins closed 3 years ago

nerlins commented 3 years ago

First, I cannot find any way of downloading and testing prior images to 20.08. I’m not sure if anyone is aware, but if you go to a previous Github release page and click on either the stable or unstable it always redirects to the current Picroft_v20.08_2020-09-07.img.

If I install this image I can run Picroft, but the mic does not work. It acts like it sees it, but the dB level is always stock at 7 or something. Installing the Google AIY voicekit skillset doesn't enable the mic or the top button.

The only way the mic and top button work, are with this hacked image: https://community.mycroft.ai/t/mycroft-with-google-aiy-voice-kit-disk-image/2607 . This is based on 9.14 Mycroft. The image performs a LONG forced update to 20.08 upon reboot, and hangs up after a while.

Environment

nerlins commented 3 years ago

After hours of troubleshooting, this might be the fix: https://github.com/google/aiyprojects-raspbian/issues/724

The new PulseAudio breaks the AIY drivers. Running the command in that post makes the mic work. I am still making sure everything else works. I wouldn't call this fixed just yet.

nerlins commented 3 years ago

I believe this was primarily a Debian Buster problem, and not Mycroft. I am closing the issue.

quinnsam commented 3 years ago

I believe this was primarily a Debian Buster problem, and not Mycroft. I am closing the issue.

After hours of troubleshooting, this might be the fix: google/aiyprojects-raspbian#724

The new PulseAudio breaks the AIY drivers. Running the command in that post makes the mic work. I am still making sure everything else works. I wouldn't call this fixed just yet.

I have this exact issue and have been trying to fix it for a while now. I looked at the "google/aiyprojects-raspbian" issue that you referenced but didn't see any command to run. Do you mind sharing what steps you took to fix the PulseAudio driver?

aandroide commented 3 years ago

@quinnsam Sudo rm /lib/udev/rules.d/91-pulseaudio-rpi.rules Reboot and test.

quinnsam commented 3 years ago

@aandroide I started from scratch with a fresh image and after installation the mic was working out of the box. Could have been an upstream fix or something but I didn't even need to run the commands that you provided. But thank you anyway!

aandroide commented 3 years ago

@quinnsam you just succeeded if you downloaded after the day Jan 8 as we seem to have fixed that file.