Read the statement by Michael Teeuw here.
How do I get the Google AIY Voice HAT installed so that MMM can use it?
-
Hi @Sean
Thankyou for helping me.
Hmm:
pi@magicmirror:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
pi@magicmirror:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 7/7
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]
Subdevices: 1/1
Subdevice #0: subdevice #0
pi@magicmirror:~ $So the hat doesn’t appear at all as it is.
I guess I could get the AIY image, and start with that instead?
Then it should have the right setup. -
@fribse
Sorry, I have no experience of that HAT, so I don’t know its normal or not. -
-
So @sdetweil and @Sean
I started over, installed the last stretch.
Followed the guide on the link from @sdetweil , and Weheee:pi@raspberrypi:~ $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: sndrpigooglevoi [snd_rpi_googlevoicehat_soundcar], device 0: Google voiceHAT SoundCard HiFi voicehat-codec-0 [] Subdevices: 0/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-codec-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 pi@raspberrypi:~ $
Now I’ll go on, and start over with Magicmirror :-)
-
@fribse
There could be one problem. Your mic and speaker now have same idcard 0, device 0
When my module try to close the mic(plughw:0,0
) to output sound, the speaker(plughw:0,0
) will be closed together at same time, so error will occur.
I heard there is a way to assign different id or alias to devices, but don’t know how to do. -
@Sean said in How do I get the Google AIY Voice HAT installed so that MMM can use it?:
@fribse
There could be one problem. Your mic and speaker now have same idcard 0, device 0
When my module try to close the mic(plughw:0,0
) to output sound, the speaker(plughw:0,0
) will be closed together at same time, so error will occur.
I heard there is a way to assign different id or alias to devices, but don’t know how to do.Ok, so it doesn’t use the subdevices to distinguish them, I guess it’s google here I come :-)