This commit is contained in:
HinTak 2020-01-28 14:53:28 +00:00 committed by Baozhu Zuo
parent 873580cfd5
commit d6f808b278

View file

@ -167,7 +167,7 @@ cp seeed-8mic-voicecard.dtbo /boot/overlays
# install -D ac108_plugin/libasound_module_pcm_ac108.so /usr/lib/arm-linux-gnueabihf/alsa-lib/ # install -D ac108_plugin/libasound_module_pcm_ac108.so /usr/lib/arm-linux-gnueabihf/alsa-lib/
rm -f /usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_pcm_ac108.so rm -f /usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_pcm_ac108.so
#set kernel moduels #set kernel modules
grep -q "^snd-soc-seeed-voicecard$" /etc/modules || \ grep -q "^snd-soc-seeed-voicecard$" /etc/modules || \
echo "snd-soc-seeed-voicecard" >> /etc/modules echo "snd-soc-seeed-voicecard" >> /etc/modules
grep -q "^snd-soc-ac108$" /etc/modules || \ grep -q "^snd-soc-ac108$" /etc/modules || \