-
Notifications
You must be signed in to change notification settings - Fork 296
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
v5.5 Fork does not work with ReSpeaker 4-Mic Array #236
Comments
And reboot and? |
Nothing.
|
It is working with the master branch But with an update, the kernel is also updated and then it no longer works |
What is your current kernel version? |
@HinTak I'm running into this issue as well. I'm on Raspbian Buster with kernel 5.4.51-v7l+. Looking at the journal for seeed-voicecard it is exiting with a failure right these messages on you v5.5 branch
arecord -l and arecord -L both look good to me. Switching to master forced a kernel downgrade to 4.19 but things work. Let me know if you want additional debugging info. |
@DerT94 I updated my v5.5 branch yesterday with I think a fix. Give it a try? |
@HinTak git clone command: Rapsberry Pi 3 + 2-MIC HATSame as in #239 Installation output
sudo journalctl -xe
Rapsberry Pi 3 + 4-MIC HATSame as in #239 The microhpnes do not work.
Installation output
sudo journalctl -xe Rapsberry Pi 4 + 2-MIC HATSame as in #239 Installation output
sudo journalctl -xe Rapsberry Pi 4 + 4-MIC HATDoes not Work Installation output
|
@DerT94 your install procedure for the last entry, Rapsberry Pi 4 + 4-MIC HAT, was wrong - you must run inside the source directory, not elsewhere. As for the service start failure, that seems to be just from the amixer line - I picked up the "-c 1" change from somebody else. Need revisit. |
@DerT94 I pushed a fix to v5.5 for #239 - I think it is the mixer line - you have a 3rd audio device connected, besides the built-in pi on-board Broadcom audio and the seeed studio, or did you disable the on-board audio? Anyway, it looks like your 2-mics device is working okay, but one of your two 4-mic setup was a user error. So if you could post |
I just tested v5.5 with my 4mic linear array and it works. No issues so far. |
@lxne thanks for trying. It looks like 2-mics and linear 4-mics and the 6-mics are okay with the v5.5 driver, but the square 4-mics isn't, and there is a 64-bit issue (#240 ) somewhere. edit: fixed - it is just amixer accidentally turning recording volume of channel 3 really low, rather than selecting headphone for output, when run against newer kernel. works perfectly for me on the 6-mic device with ubuntu 64-bit now. |
@HinTak Hi, I tried your fork branch v5.5 and it work. I can see the correct output when I Update: |
@Alex-Beh It is most definitely #251 then. You can downgrade slightly with https://github.com/HinTak/RaspberryPi-Dev/releases/tag/Ubuntu-raspi-5.4.0-1028.31 . After downgrading and "apt-mark hold ..."; reboot, reinstall the driver as unusual. You do need to mark hold |
I'll probably make a more recent build at some point. |
Sorry I am a bit confused on the instruction. So I need to
Then "sudo ./install.sh" to install the driver as usual. Am I correct? |
I'd love the ability to use a current build of Raspbian, I saw your v5.6-v5.9 and was hoping that one of them would have made all this go away. I'm inferring from your comment it does not? |
Only 4 deb files (no need to do buildinfo), and step 4 before step 3. Step 5 is Also Raspbian has moved to v5.10 already, so my repo now defaults to v5.9. Just stay with your existing clone - if you are doing a fresh new clone, you need to do |
32-bit raspbian is not (yet) affected by #251 . |
I don't follow. I switched to your fork as the official repo didn't work with the current release of Raspbian as of ~late-mid last year. I had to roll back to Linux raspberrypi 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l GNU/Linux and would really love to update and use the current 5.4.x+ kernel in the more recent official releases. |
@baileyji current raspbian is 5.10 (since Feb 2021, 6 weeks ago). Ubuntu groovy is 5.8 based and ubuntu focal is 5.4 based. Seeed studio's repo defaults to 5.4 since autumn 2020; my repo have branches for v4.19/v5.5/v5.8/v5.9 (v5.5 branch works for 5.4 kernels, while v5.9 branch works for 5.10 kernels). The default is v5.9 since a few weeks ago, switched over from v5.5. |
@HinTak I tried the steps, git checkout v5.5. And the OS still crash after I After I completed the step 1 to step 5, the kernel version supposed downgrade to |
@Alex-Beh yup, you are seeing bug #251 ... Apologies - when I made them they were the newest (so they worked as upgrades), apparently one needs to add "--force-downgrade" to "dpkg -i ..." to actually downgrade. Mind you I have not tried downgrading the kernel on ubuntu raspberrypi yet (ubuntu x86_64 desktop is well-tested, and so is raspbian). Do you want to give that a try, or wait for me to make a even newer set so you could just do plain upgrade (without "--force-downgrade")? |
Hi @HinTak, I tried to add --force-downgrade on the 4 deb file.
After reboot, |
@Alex-Beh okay, thanks for trying the downgrade route. The ubuntu raspberrypi boot process is different from both ubuntu desktop/x86_64 and raspbian so it is not clear how one can boot an older kernel on ubuntu pi. Give me a couple of days to make another set of those debs. |
Thanks for your help. Let me know if anything I can help. |
@Alex-Beh I made 5.4.0-1030 - |
Hi,
I have the ReSpeaker 4-Mic Array and cannot install the driver.
The driver was already installed for the 2-Mic-Array
I use this fork
https://github.com/HinTak/seeed-voicecard/tree/v5.5
If i run "sudo ./install.sh" it stucks at the following point.
The text was updated successfully, but these errors were encountered: