-
Notifications
You must be signed in to change notification settings - Fork 693
Audio does not work after re-imaging/installing voice kit 2 Pi Zero (Original HW) #515
Comments
@tibre Can you paste the complete error ? And can you also share the output of the command "lsmod". |
I made it work in a couple of ways:
So I don't know why 2018-08-03 does not work with the kit right off the bat, but thanks for following up. |
Well, with #2 above (Fresh copy of rasbian and following HACKING) I am able to test speaker and record but when trying the assistant_grpc_demo I get an error message: Failed to import google.cloud.speech. Try: I am not running a virtual environment. Also, just replying to your previous ask here the lsmod output of my current configuration: |
@tibre Can you please confirm that you used 2018-08-03 image with the VisionBonnet (v2.0) and sound check failed with Can you please also attach the output of |
@dmitriykovalev Yes, that's the file: MD5 VoiceBonnet (v2.0) not VisionBonnet I will reimage an SD with that build and will give you details. Now, the only difference that I recall and that might be creating the problem is updates. When installing 08-03, updates are an option and they are executed right away compared to 04-13. |
@tibre Sorry, right, that was a typo, VoiceBonnet :) Please do not install any updates for now (we are working to fix this) That could be exactly the source of problems. |
@dmitriykovalev Thanks for the update. Failed to import google.cloud.speech. Try: |
@tibre That's weird, how do you run cloud speech example, what's the command line? This error message is obsolete but still shouldn't happen. Are you using |
@dmitriykovalev It seemed odd to me as well. Yes, I am executing using python3 as usual. To recap:
_I tried a number of things to no avail. I even bypassed the call in the speech script (if I remember correctly...) but that created other issues. |
@tibre Have you installed https://pypi.org/project/google-cloud-speech/ library? sudo pip3 install google-cloud-speech |
I've noticed certain programs no longer produce sound from 4-13-18 to 8-3-18. I'm not certain but it seems the culprit has something to do with switching to PulseAudio from ALSA? I don't know much about the subject. |
wow that's awesome! I'm new to the subject, but is there a way to have its model so I can run on device? like a small subset that recognizes common commands. |
@andrewtvuong Yes, we switched to PulseAudio (it still uses ALSA underneath). Which programs don't work for you? |
@dmitriykovalev Not part of AIY or Rasbian images: Raspotify - https://github.com/dtcooper/raspotify |
I am having the same issue with two out of the box AIY kits, using the 2018-11-16 build. You do not have any sound cards installed. Please check that AIY sound card is For some Voice HATs (not Voice Bonnets!) you need to add the following line dtoverlay=googlevoicehat-soundcard To do that simply run from a separate terminal: echo "dtoverlay=googlevoicehat-soundcard" | sudo tee -a /boot/config.txt I have updated the firmware, APT-upgrade, and checked the help forum. Still no go. |
I loaded AIY Kits Release 2018-04-13 and things work. I am not sure the difference. |
I have this "You do not have any sound cards installed." issue as well with the check_audio script on the v2 pi zero kit |
Hi, I'm having the same issues as everyone else. I have the AIY Voice Kit 2.0 and when I run cat /etc/aiyprojects.info this is the output: Here's the dmesg output after check_audio fails: Any help with this bug would be much appreciated :) |
Hi, I think that the cause is that the driver disappears by updating firmware. cd /usr/src The name of the driver changes depending on the AIY Kits OS version, check with 'ls /usr/src' |
thanks, this one did it for my project, once I made it 1.1 sound worked again. Oddly, all the other modules that were useful for the voice kit were already installed! |
Hi @mongonta0716 , thanks for sharing.
I'm getting this message for every command you listed. Should I uninstall and reinstall? If so I'm not familiar and don't want to mess up dependencies or some kind of problem, would it be safe to uninstall and how? rm -rf? |
Sorry I couldn't help you. My environment |
After a fresh install of 11-16 image, an update, then running the above driver installs, and it works. |
This solved for me. Thanks |
Why would an image created by starting with AIY Voice then adding Shairport-Sync and Homebridge with V2 voicebonnet, work in another 3b but not the Zero WH that came with the voicebonnet? I tried the above steps but it recognizes a Google soundcard in the Zero instead of the voicebonnet in both 3b's. |
@jreyn88 Very strange, but I had a lot of problems on 3A+, that resolved itself after several reimages. Keep downloading and changing SD cards, update etcher. I don’t understand the reasons, but all my problems are gone. |
I downloaded the 2018-08-03 build and ended up repeating timbre's experience. Could you remove that build to avoid that other people experience the same problems, please? |
I am having this same issue on the 2019-11-13 build, should I just flash the older version? Edit: Nevermind.. I had to reboot after adding dtoverlay=googlevoicehat-soundcard to the config. It works now. |
I'm having this same issue on a V2 voice bonnet with the 2019-11-13 build running: This seems to have been a update issue. I reinstalled a fresh flash of the 2019-11-13 |
Hi, I have a problem with audio, after intalling aiy-2019-11-13.img.xz on the raspberrypi the icon for the speaker on the navigation bar dissaperas, also I have that same message (you so not have any sound card installed. Please check that AIY sound card is properly connected. I wanted to use the speakers of a samsung TV, but it didnt work, so I connected a speaker in the AUX and it still doesnt work when I check the audio. Help please! |
by the way Im using a raspberry pi 4 |
I have spent a few hours chasing this one without luck, so decided to ask for some guidance...
Problem
'Do not have sound card error message' - after reimaging the SD card and installing with the latest build available.
Error/Details
You do not have any sound cards installed. Please check that AIY sound card is
properly connected.
For some Voice HATs (not Voice Bonnets!) you need to add the following line
to /boot/config.txt:
dtoverlay=googlevoicehat-soundcard
To do that simply run from a separate terminal:
echo "dtoverlay=googlevoicehat-soundcard" | sudo tee -a /boot/config.txt
Press Enter to close...
Any help will be appreciated!
The text was updated successfully, but these errors were encountered: