# Picroft 2018-09-12 and the Google AIY Voice Hat

**URL:** https://community.openconversational.ai/t/picroft-2018-09-12-and-the-google-aiy-voice-hat/4725
**Category:** Picroft
**Created:** [October 5, 2018, 8:32am UTC](https://community.openconversational.ai/t/picroft-2018-09-12-and-the-google-aiy-voice-hat/4725 "2018-10-05T08:32:29Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![guidol](https://community.openconversational.ai/user_avatar/community.openconversational.ai/guidol/32/960_2.png) [@guidol](https://community.openconversational.ai/u/guidol)
#### Post date: [October 5, 2018, 8:34pm UTC](https://community.openconversational.ai/t/picroft-2018-09-12-and-the-google-aiy-voice-hat/4725/3 "2018-10-05T20:34:36Z")

</div>

Hi Andreas - Thanks for the information, but I couldnt get it to work ☹

I flashed the MicroSD card newly with the actual image and did a  
apt update && apt upgrade  
as root

Then I did get your two files in /home/pi  
Your auto\_run.sh was saves as auto\_run.sh.1 (Saving to: ‘auto\_run.sh.1’)  
so I had to  
root@picroft:/home/pi# mv auto\_run.sh auto\_run.sh\_org  
root@picroft:/home/pi# mv auto\_run.sh.1 auto\_run.sh  
root@picroft:/home/pi# chmod 666 auto\_run.sh

After a reboot and selecting 4 for the AIY Hat the system did install much files and finally told me

Adding user pulse to group audio  
Processing triggers for libc-bin (2.24-11+deb9u3) …  
Processing triggers for dbus (1.10.26-0+deb9u1) …  
-bash: /boot/config.txt: Permission denied  
-bash: /boot/config.txt: Permission denied  
-bash: mycroft-core/dev\_setup: No such file or directory  
Reboot is neded !

After reboot the speaker of the AIY Hat doesnt work ☹  
Let’s test and adjust the volume:  
1-9) Set volume level (1-quietest, 9=loudest)  
T)est  
R)eboot (needed if you just installed Google Voice Hat or plugged in a USB speaker)  
D)one!  
Level [1-9/T/D/R]: 7amixer: Unable to find simple control ‘PCM’,0

The Mic seems to record, but cant play back the file (couldnt hear it):

Starting audiotest

# == STARTING TO RECORD, MAKE SOME NOISE! == == DONE RECORDING, PLAYING BACK… ==

Playing WAVE ‘/tmp/test.wav’ : Signed 16 bit Little Endian, Rate 16000 Hz, Mono

Did you hear the yourself in the audio?

1. Yes!
2. No, let’s repeat the test.
3. No ☹ Let’s move on and I’ll mess with the microphone later.

At the end mycroft wouldnt start because of errors:

Double requirement given: pip (already in pip==18.0.0, name=‘pip’)  
Initializing…  
Starting cli  
Traceback (most recent call last):  
File “/usr/lib/python3.5/runpy.py”, line 183, in \_run\_module\_as\_main  
mod\_name, mod\_spec, code = \_get\_module\_details(mod\_name, \_Error)  
File “/usr/lib/python3.5/runpy.py”, line 109, in \_get\_module\_details  
**import** (pkg\_name)  
File “/home/pi/mycroft-core/mycroft/ **init**.py”, line 17, in   
from mycroft.api import Api  
File “/home/pi/mycroft-core/mycroft/api/ **init**.py”, line 26, in   
from mycroft.identity import IdentityManager, identity\_lock  
File “/home/pi/mycroft-core/mycroft/identity/ **init**.py”, line 21, in   
from mycroft.util.combo\_lock import ComboLock  
File “/home/pi/mycroft-core/mycroft/util/combo\_lock.py”, line 16, in   
from fasteners.process\_lock import InterProcessLock  
ImportError: No module named ‘fasteners’

And aplay wouldnt find any soundcard, but your asound.conf is copied to /etc/asound.conf  
Level [1-9/T/D/R]: 8(.venv) pi@picroft:~ $ aplay -l  
aplay: device\_list:270: no soundcards found…

(.venv) pi@picroft:~ $ more /etc/asound.conf  
defaults.ctl.card 0  
defaults.pcm.card 0  
defaults.pcm.device 0

(.venv) pi@picroft:~ $ more AIY-asound.conf  
defaults.ctl.card 0  
defaults.pcm.card 0  
defaults.pcm.device 0

I dont know whats wrong here - normally thing would go better ☹  
My AIY Hat did work before with the January 2018 AIY Hat image - so I think I got a v1 AIY Hat.

---

_[View the full topic](https://community.openconversational.ai/t/picroft-2018-09-12-and-the-google-aiy-voice-hat/4725)._
