diff --git a/README.md b/README.md index 1b74317..dcd158e 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,10 @@ Get the seeed voice card source code. and install all linux kernel drivers ```bash git clone https://github.com/respeaker/seeed-voicecard cd seeed-voicecard -sudo ./install.sh +sudo ./install.sh sudo reboot ``` +It may probably happen that the driver won't compile with the latest kernel when raspbian rolls out new patches to the kernel. If so, please try `sudo ./install.sh --compat-kernel` which uses an older kernel but ensures that the driver can work. ## ReSpeaker Mic Hat diff --git a/uninstall.sh b/uninstall.sh index e9159ba..c9491d6 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -73,9 +73,9 @@ echo "remove dkms" rm -rf /var/lib/dkms/seeed-voicecard || true echo "remove kernel modules" -rm /lib/modules/${uname_r}/kernel/sound/soc/codecs/snd-soc-wm8960.ko || true -rm /lib/modules/${uname_r}/kernel/sound/soc/codecs/snd-soc-ac108.ko || true -rm /lib/modules/${uname_r}/kernel/sound/soc/bcm/snd-soc-seeed-voicecard.ko || true +rm /lib/modules/*/kernel/sound/soc/codecs/snd-soc-wm8960.ko || true +rm /lib/modules/*/kernel/sound/soc/codecs/snd-soc-ac108.ko || true +rm /lib/modules/*/kernel/sound/soc/bcm/snd-soc-seeed-voicecard.ko || true echo "remove $CONFIG configuration" for i in $RPI_HATS; do