-
Notifications
You must be signed in to change notification settings - Fork 299
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]: ReSpeaker 4-Mic Array Driver does not work with latest raspbian kernel #327
Comments
Fixed months ago in https://github.com/HinTak/seeed-voicecard . |
yea, just tried your repo and it works with newer headers and on 64 Bit Raspi. Thanks :) |
same here, tried @HinTak's fork and it's not working. Any idea? |
Little vague. If you see the same messages above, your are out of date. Otherwise, what |
Hi, I am using a Raspberry Pi Zero W along with the ReSpeaker 4-mic linear array HAT. I have followed all instructions for getting started on Wiki Seeed Studio website (https://wiki.seeedstudio.com/ReSpeaker_4-Mic_Linear_Array_Kit_for_Raspberry_Pi/) but I am getting a lot of warnings/errors when running this file. The output when running python3 recording_examples/get_device_index.py is as follows: ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port I first started using the 32-bit Bullseye OS and after having little success I have also tried with the 32-bit Buster OS. Nothing has changed and I can't find solutions on any forums - a lot of people seem to have the same problem. Any help would be greatly appreciated ! |
Two things:
On the 2nd point, the linux kernel itself has changed slightly to allow multi-seats (two displays two keyboards for two users on the same pi). As a result audio device enumerations changed - back when those scripts etc were written, it was a setting to one logical audio device to direct audio between on-board phone jack, hdmi audio, or the seeed studio device. Now they are 3 separate logical audio devices. Your scripts might need updating. Disclaimer: I don't work for seeed studio. Just another user. |
Hi there, I suspect this is going to be an eternal struggle of driver vs os, which makes this device unsuitable for a long-lifetime project but I'll give it a go: I have a raspberry pi 4B 4gb and have tried both 32bit and 64bit versions of current raspberry pi os (Bullseye). Also tried both the official (64 and 32bit) and the HinTak fork (default branch 5.9) of the driver installs. In all cases in which the installation succeeds:
Uninstalling and rebooting resolves the lxpanel issue. Checking the lxpanel .cache file shows a sequence of messages akin to: 'lxpanel CRITICAL dhcpcd_open inappropriate ioctl for device. I would actually be ok with two channels for now if I could have the lxpanel working. Any suggestions welcome; I appreciate that the most active contributor doesn't actually work for them :) |
I too am experiencing the same problem as participant Feles-Mala. We have been chatting about this bug over on reddit and have been experimenting to solve this issue. Today I decided to try installing the 4mic driver on a brand new installation of Ubuntu 22.04 but while the panel doesn't disappear after the driver installation, Alsamixer still doesn't display the card as being installed. I also became aware today that a "4mics_hat" directory had been installed but it's external to the seeed-voicecard directory. Would following the README.md instructions located in the "4mics_hat" be of any use towards solving this problem? |
I hit this error and used your fork, seems to have worked, here is the full install script log for reference: Click me
|
I think upstream supports up to v5.12 . There is adjustments required for the kernel for 5.13, which in my fork was done in a "if kernel >=5.13" manner so my v5.9 branch supports v5.9 to v5.19, actually. (Upstream only up to 5.12, and not beyond). There is a separate v6.0 branch in my repo for v6.0+, because the difference between 5.19 and 6.0 is a bit large and ugly if I have to do a lot of "if kernel >5.19 ... else...". Summary, 5.12 or below, either mine or upstream seedstudio should work. If you have v5.13 to v5.19, use my default v5.9 branch (I actually have alias to v5.13 etc branches to the same thing) - upstream won't work.if you are using v6.0+, use my 6.0 branch. |
Just for the record, the lxpanel crash is pulseaudio related and not specific the seeed driver. See for example , |
My rasp OS is bullseye and the kernel version is 5.10.92. But when I run Logout is below:
|
It is as I already stated, use the v5.9 branch , https://github.com/HinTak/seeed-voicecard/tree/v5.9 , and just do |
Thx! Should I choice branch v6.1 If I wanna use the OS with kernel v6.1? |
Yes. |
Describe the bug
To Reproduce
Steps to reproduce the behavior:
After reboot the respeaker 4-Mic Array is not available any more
Building a functional driver does also not work on a fresh installed raspberry os.
Also tried HinTak's fork with no success
Expected behavior
dkms builds the driver without error
Platform
Relevant log output
The text was updated successfully, but these errors were encountered: