Install kernel modules for respeaker mic arrays

Hi @diydsp – I’m guessing that the install.sh script you’re talking about comes from the original seeed-voicecard repo – is that correct?

Assuming I’ve got that right, there are a couple things to note here:

  • /mnt/boot is probably the partition you want – you can read more about that at our BalenaOS Masterclass.

  • However, the best way to add an out-of-tree kernel module (that is, a module that’s not included in the kernel by default) to your device is by building your own image. You can do that using the repo we linked to above, but there are other threads (like this one) showing other approaches.

  • Edit: Once you have the kernel module in a container, you can load it in a multicontainer application by adding the io.balena.features.kernel-modules label to your docker-compose.yml file - more details on that can be found here.

Hope that helps - please let us know how it works out!

All the best,
Hugh