Hello,
I have a problem with the integration of the WM8960 DAC HAT module with balenaOs. I use balena-blocks audio to be able to make sound on the machine. The audio managed to find my audio card but I can’t manage to use the card to make sound.
This doesn’t work my balenablock-audio can’t use my sound card I don’t know why. Can you enlighten me step by step how I can use my WM8960 DAC HAT module with balenaOS.
Here is my error returned by balenablocks-audio
I see from their documentation that there are drivers required for this HAT [1]. Have you installed them by chance?
If not, you can test them using our Kernel Module Build [2] to ensure it’s working as expected, and then if so, you can submit a Pull Request to our Raspberry Pi repo [3] on GitHub so that we can include those going forward in future iterations of the hostOS.
Let us know how things go and if you have any trouble testing the drivers or getting them added!
Thank you for your answer, however I can’t install the driver on balena, it complains that I’m not on raspbian
That said, in the resin boot overlay folder of my sd card, I already have the file wm8960-soundcard.dtbo
I absolutely don’t know how to use the kernel modules repository, do you have more documentation?
When I do an aplay -l in the audio container, I can see my sound card (card 1)
The WM8960 codec is already supported on the Linux kernel that BalenaOS is using. The only missing pieces that are provided by the manufacturer are the asound.conf and asound.state files.
Could you try to copy them into the host OS and verify the playback and recording?
To copy them, log into the hostOS and type the following:
mount -o remount,rw /
And then, from your workstation clone the project and copy the files to the device:
Thanks for your reply, but I can’t run this.
I use a microservice architecture, connected through a compose docker. Among it’s microservices, there is a textopeech which generates wav files and uses the audio container for the sound to work.
To be a little clearer, in my docker-compose , about the audio, I have: