-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Seeed-Voiceard broken on latest RPIZ2W & 84 kernel released a week ago #333
Comments
[ Duplicated from https://github.com/raspberrypi/linux/issues/5319 ] Wow - that overlay (and the driver change that supports it) hasn't existed since rpi-4.4.y, i.e. around 2017. My understanding based on this comment (raspberrypi/linux#1004 (comment)) is that MMAP is enabled by default so there is no need for the overlay. Having looked now, rpi-5.15.y still contains code in |
Thanks. That said: (1) Before the upgarde to 83, didn't get the error message. On a system I built a month ago (Clean RPI on Z2W then Seeed install, sound as working). Now, after I install Seeed on a clean RPI I eee the error and sound is not working. |
some more info in case it helps: From /var/log also from var/log: And: |
After downgrading kernel - audio works: uname -a sudo rpi-update a1658b86485225036eeaea7e0ad4438ed1ce3dd2 Now I need to go to 15.6X and try it... having problems with RPI-Update telling me the hash I use are wrong |
➤ uname -a 127 ↵
So figured I would post on this thread in hopes to save the next person some time: I was able to get this to build and install using the HinTak fork:
delete the following lines:
Issue the follwing and reboot:
|
Why do you need to delete those patch* lines? They are what they are, backport patches: if dkms detects you are running the older 4.19/5.4/5.8 kernels, they are applied. They are ignored with current kernels. |
I'm a newb to dkms; but the patch lines are improperly applying the patches to 5.15.84 kernel; so the kernel module fails to build because of the back-to-v5.8.diff reverts the mute_stream -> digital_mute. The changes above allow the module to build as expected. I am guessing the PATCH_MATCH lines are wrong but I would have to go readup on dkms to know what the contract is. |
Argh , I see "5.15.84“ contains "5.8" in the middle! Yes, it is a small oversight. |
Thanks guys... I am pretty new to all of this - can somebody edit the install script and commit a fix ? |
Committed a small change which should fix the mismatch of 5.15.84 to 5.8 backport. Have a go and see if that works better. |
Thanks HinTak. Can try to test it tonight. But embarrassed to say - which branch should I pull? Any instructions for a gray haired programmer who is more used to C then those modern Python/C+++++ or repositories ;-) |
Just read your The backport patch system is just a not very actively maintained mechanism for a later branch to support earlier kernels: basically if a later branch see that it is built against 5.8, it reverse-applies the difference. (The little bug was that |
The hint by UmbrellaCodr to delete some lines from dkms.conf worked for me. Thanks |
The deletion shouldn't be needed anymore - it was just confused by 5.15.84 having a "5.8" fragment in the middle, so it tried to change the code to be 5.8 compatible. I made some changes to avoid the confusion, so it should treat 5.15.84 as 5.15.x properly, rather than 5.8.x. |
@HinTak thank you for the work in your fork! I tried to clone the v5.15 branch and noticed, that it doesn't exist anymore. Should I use another branch? |
@jloewe hmm, I didn't notice - anyway the v5.9 , v5.12, v5.13, v5.16, v5.18,v5.19 are the same. Any of them would do. |
Hey, Retry your command then all looking good but after reboot system halted. black screen then powered off |
If all the files are size 0, likely your disk is full! |
Its impossible becuz its fresh raspi + driver only on 32gb sdcard. My problem is argonone case + respeaker i think. If i power on raspberry firstly then powerup respeaker with micro usb system works... but argone fan always on. when i try aplay or arecord cmd argone fan stop till cmd complete. I will try without argon case. |
Describe the bug
Getting: “failed to load overlay i2s-mmap”
To Reproduce
Clean install the OS on RPIZ2W
Clone and install.sh
the install script will ask you to reboot to upgrade Kernel and another reboot to finish install
“failed to load overlay i2s-mmap” will appear after boot + log files confirm a problem
I also posted on raspberrypi/linux#5319
Any suggestion on how resolve this?
Expected behavior
Audio wouldnt play... Was working on an RPI OS image I made a month ago without an issue. After some investogation seems like the new clean install or RPI and then SeeedVoiceCard is causing the fail to load I2S-MMAP error
Platform
RPI Zero 2W
WM8690 Audio board
Relevant log output
Let me know if you need specific log files
The text was updated successfully, but these errors were encountered: