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?
- Yes!
- No, let’s repeat the test.
- 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.