6-Mic Circular Array and Pi 4

Hi,



We bought a few Raspberry Pi 4 (new models) and a few 6-Mic-Circular-Arrays.



However when we try to load the drivers things don’t seem to work.

The LED test app works fine. However, it seems the audio driver is not working correctly.



Any one has any experienc ewith this ?



See below


</s><i> </i>pi@raspberrypi:~ $ arecord -l **** List of CAPTURE Hardware Devices **** <e>

</s>pi@raspberrypi:~ $ arecord -L null Discard all samples (playback) or generate zero samples (capture) jack JACK Audio Connection Kit pulse PulseAudio Sound Server default ac108 dmixer ac101 usbstream:CARD=ALSA bcm2835 ALSA USB Stream Output<e>

</s>pi@raspberrypi:~ $ arecord -Dac108 -f S32_LE -r 16000 -c 8 a.wav ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card arecord: main:828: audio open error: No such device<e>

</s>pi@raspberrypi:~ $ uname -a Linux raspberrypi 4.19.57-v7l+ #1244 SMP Thu Jul 4 18:48:07 BST 2019 armv7l GNU/Linux pi@raspberrypi:~ $<e>



Also during installation i got: [code] ... depmod... Job for systemd-modules-load.service failed because the control process exited with error code. See "systemctl status systemd-modules-load.service" and "journalctl -xe" for details. .... [/code]
When i run this i get:

[code]
pi@raspberrypi:~/seeed-voicecard $ sudo systemctl status systemd-modules-load.service
● systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2019-07-16 16:34:36 BST; 51s ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Main PID: 4744 (code=exited, status=1/FAILURE)

Jul 16 16:34:36 raspberrypi systemd[1]: Starting Load Kernel Modules…
Jul 16 16:34:36 raspberrypi systemd-modules-load[4744]: Failed to find module ‘snd-soc-seeed-voicecard’
Jul 16 16:34:36 raspberrypi systemd-modules-load[4744]: Failed to find module ‘snd-soc-ac108’
Jul 16 16:34:36 raspberrypi systemd-modules-load[4744]: Failed to find module ‘snd-soc-wm8960’
Jul 16 16:34:36 raspberrypi systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Jul 16 16:34:36 raspberrypi systemd[1]: systemd-modules-load.service: Failed with result ‘exit-code’.
Jul 16 16:34:36 raspberrypi systemd[1]: Failed to start Load Kernel Modules.
[/code]

Got it to work.



If anyone is interested you just have to make sure the new kernel is detected int he installation file.

You can do this by assigning the correct kernel variable.


locate currently installed kernels (may be different to running kernel if

it’s just been updated)

base_ver=$(get_kernel_version)

base_ver=${base_ver%%[-+]*}

kernels=“PUT YOUR KERNEL HERE”