I’m using Respeaker-4Mic on a Raspberry Pi 4 with 4 GByte memory and Picroft 20.8. The installation documentation says:
I’ve done this after changing some values in alsamixer. But after restart the file /var/lib/alsa/asound.state is the old version with standard values (CH1 … CH4 87). And this didn’t work:
sudo rm /var/lib/alsa/asound.state
sudo ln -s /home/pi/seeed-voicecard/ac108_asound.state /var/lib/alsa/asound.state
The link /var/…/asound.state was overwritten with a hard file again.
This is my solution:
Editing .bashrc and inserting a line before the line source auto_run.sh with
alsactl --file ~/seeed-voicecard/ac108asound.state restore.
So everytime Picroft is started (or logging in by ssh) alsamixer is reconfigured. That’s not very fine but it works. Is there another way?