-
Notifications
You must be signed in to change notification settings - Fork 694
Voice Bonnet drivers won't install on Raspbian #727
Comments
I'm having the same issue, just a little different error. `DKMS make.log for aiy-voicebonnet-soundcard-3.0 for kernel 5.10.11+ (armv7l) I would love to use this` |
Hello I think I am having the same issue, I raised an issue #728 so I will close that one so there is just one issue. My make log is DKMS make.log for aiy-voicebonnet-soundcard-3.0 for kernel 5.10.11+ (armv7l) |
@WhyNine @CJConnor @builderjer I have created a deb file with fix for this issue. Feel free to install the same from here |
Thanks, I will give it a try in the next few days |
I tried this file. It installs without errors but the bonnet does not appear in the list of play/record devices. |
That's interesting. Could you please try rebooting your kit? Also could you please share the output of |
A reboot made no difference. 'aplay -l':
'dtoverlay -l': The output of lsmod and dmesg are in the attached files. |
What version of voice kit do you have? Is it v1 or v2/voice bonnet? Also which version of pi are you using? I am seeing that its a pi4, is that correct? These drivers are only needed for v2 kit. |
Yes I tried the .deb file and I experienced the same issues. I am using the v2 and a raspberry pi 3a+ |
My v2 is connected to the pi zero that came with it and that seems to be working fine. Let me dissassemble it and check with other 3b as well. I don't have a 3a+. But you are sure its v2 right and not this one? |
Yes definitely v2, and I had got it working before on the pi 3a+ so I know it should work but this time when I tried to install it, it just wouldn't work |
OK. I tried and almost broke my pi zero pin trying to disassemble the bonnet. The pins have gone weak because of the number of times I have disassembled it in the past. As I didn't wanted to break the same, I am not going to disassemble it again. Just to check if your hat is getting detected, can you share the output of |
I am using a Pi4. I know the Voice Bonnet is working as it is detected correctly when I use the Google Raspbian image. |
I never said that the voice bonnet won't work with Pi4. I have used it myself back in october last year. I just want to make sure you have voice bonnet. |
Yes, it's definitely a bonnet, ie v2. |
Could you please share the output of |
The result is |
Ok. Thats good.
Could you install leds-ktd202x-dkms and aiy-dkms packages and then share
the output of lsmod command? Those packages are available in google's
package repository.
This is to check if other modules are working correctly.
…On Wed, Mar 3, 2021, 11:19 PM Simon Waller ***@***.***> wrote:
The result is AIY VoiceBonnet
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#727 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTBO2AT56VNTTDNAUMWFETTBZZCFANCNFSM4XJM3QVA>
.
|
I installed these packages ok and rebooted, but no difference. |
Those are drivers to get the button and leds working. They won't make the card to appear in the aplay list, but I wanted to check if they are getting loaded automatically. Hence it will be great if you can share the Also have you made any modifications to the |
The output of lsmod is here: And the config.txt is here: |
Ok... those got loaded correctly What happens when you manually load the snd_aiy_voicebonnet module using |
It says "modprobe: ERROR: could not insert 'snd_aiy_voicebonnet': Invalid argument" |
Thats progress. That means its trying to initialize some value for the card and that, for some reason, is not recognized by the kernel. Now could you please share the output of also share the dmesg after running those commands |
sudo modprobe -v snd_aiy_voicebonnet sudo strace modprobe -v snd_aiy_voicebonnet 2> log.txt The output of dmesg is: |
There is something weird going on here. When I run
For you its only showing the last one and then failing. Can you check that the files that are listed in front of insmod above exists for you. If the files exists, can you run the above 4 insmod commands yourself and share the output. You have to run them as root. |
All 4 files exist but all except regmap-i2c.ko have a length of 0.
|
Here is how I fixed the build: put attached patches
After all that, just run |
If those files are of 0 bytes then your installation is corrupt. try removing and reinstalling the deb file. |
instead of running apt-get again, you could just call dpkg --configure and it will do the same thing. I have made similar changes and created the deb file of the same to make it easier for others. The code is hosted here in my git repository. Apart from changes that you have made, I have also synchronised the rl6232 and rt5645 files with the upstream kernel repository as they don't contain any changes specially made for the voice bonnet. |
Well, I deleted those 3 files and tried installing the deb file again, but it says that |
I guess you misunderstood me. Uninstall the deb and install again. |
That's done it, many thanks. But what were the critical steps so that I can reproduce it? |
Reproduce the issue or reproduce the working environment? If you are talking about working environment. uninstalling existing deb from google and installing mine fixes the dkms errors. if you are talking about the 0-byte file that you had, I have no clue. Looks like some kind of storage issue. either your storage was full or may be you had a power failure or something like that. I have no idea. |
Ok, I'll have a play with a clean install and try to isolate the correct steps. |
What you were following in your first post, were the right steps. Its just latest raspbian kernel is not compatible with the deb file that google has in their repository. And Google generally doesn't update things prompty when it breaks. Hence I try to provide fixed files for others to make it easier for them until official update is released by Google |
I have just tried with a clean install again. These are the steps I followed:
The only difference to what I did before, I think, is that I may not have done the reboot after the upgrade. But certainly it worked this time. |
We've updated sound driver and put all source code to https://github.com/google/aiyprojects-raspbian/tree/aiyprojects/drivers. |
My AIY case, install failed.
I tried
|
You don't need to install my package now that google has updated their own. Install it directly from their repository as mentioned in Hacking.md file.
Have you installed the |
I am having problems installed the Voice Bonnet driver, ie it fails.
I have written the latest Raspbian to an SD card, then:
This fails with:
The make is attached: make.log
The first error is:
This used to work but somehow is now broken. I have tried doing an upgrade before installed the driver but no difference. I have tried full Raspbian and also Lite with the same result.
What am I doing wrong?
Please help!
The text was updated successfully, but these errors were encountered: