Aiyprojects-raspbian: voiceHAT not working

Created on 26 Dec 2017  Â·  7Comments  Â·  Source: google/aiyprojects-raspbian

I bought the MagPi with the AIY voice kit months ago and completely forgot about it. I tried to set it up today but I'm having zero luck.

I installed the latest image and all I get is "Failed to find the voiceHAT soundcard"
I followed the instructions in Hacking.md, but the problem persists.
arecord --list-devices returns "no soundcards found..."

Any ideas?

Most helpful comment

I also saw this issue. Are you using the most recent image (12/18)

I checked my /boot/config.txt and found a few things commented out . After I enabled

dtoverlay=i2s-mmap
dtoverlay=googlevoicehat-soundcard

and rebooted, it appeared to work.

pi@raspberrypi:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpigooglevoi [snd_rpi_googlevoicehat_soundcar], device 0: Google voiceHAT SoundCard HiFi voicehat-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
pi@raspberrypi:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: sndrpigooglevoi [snd_rpi_googlevoicehat_soundcar], device 0: Google voiceHAT SoundCard HiFi voicehat-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

All 7 comments

Can you check to see if your config.txt has the driver overlay enabled for
the soundcard?

On Dec 26, 2017 07:04, "vipersgratitude" notifications@github.com wrote:

I bought the MagPi with the AIY voice kit months ago and completely forgot
about it. I tried to set it up today but I'm having zero luck.

I installed the latest image and all I get is "Failed to find the voiceHAT
soundcard"
I followed the instructions in Hacking.md, but the problem persists.
arecord --list-devices returns "no soundcards found..."

Any ideas?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/aiyprojects-raspbian/issues/210, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AB1MI62Mfs3Ew7RpfLpZ_zflnlY1qdUgks5tEQr2gaJpZM4RM0ll
.

Ahhh...what lines need to be enabled?

try adding these 2 to /boot/config.txt

dtoverlay=i2s-mmap
dtoverlay=googlevoicehat-soundcard

@vipersgratitude did you make any progress? I'd recommend trying with the official image as there's less room for error.

I also saw this issue. Are you using the most recent image (12/18)

I checked my /boot/config.txt and found a few things commented out . After I enabled

dtoverlay=i2s-mmap
dtoverlay=googlevoicehat-soundcard

and rebooted, it appeared to work.

pi@raspberrypi:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpigooglevoi [snd_rpi_googlevoicehat_soundcar], device 0: Google voiceHAT SoundCard HiFi voicehat-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
pi@raspberrypi:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: sndrpigooglevoi [snd_rpi_googlevoicehat_soundcar], device 0: Google voiceHAT SoundCard HiFi voicehat-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Sorry for the late reply, guys. Yes, I got it to work. It was just a matter of editing the config file.

The image I used was freshly downloaded, so I assumed everything was set up to work in tandem with the magazine's instructions. That's why, when I ran in to the error, my brain skipped the obvious and went straight to wondering if it was a hardware problem...or something.

Good to hear it. We try to make sure the magazine instructions continue to work, but 2017-12-18 image was missing something. We've fixed that in the 2018-01-03 image: the Check Audio script will make this change automatically.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

themaire picture themaire  Â·  3Comments

t1m0thyj picture t1m0thyj  Â·  10Comments

pghardy picture pghardy  Â·  3Comments

nmbrdco picture nmbrdco  Â·  12Comments

noajshu picture noajshu  Â·  4Comments