From 277aeacb81f4252767f234ae813ea535411f6138 Mon Sep 17 00:00:00 2001 From: Baozhu Zuo Date: Thu, 25 Jul 2019 19:39:07 +0800 Subject: [PATCH] The latest kernel of raspberry PI is unstable, so do this anyway to make sure the driver loads correctly --- seeed-voicecard | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/seeed-voicecard b/seeed-voicecard index 8fa2fed..047474e 100755 --- a/seeed-voicecard +++ b/seeed-voicecard @@ -129,9 +129,10 @@ if [ "$overlay" ]; then do_overlay $i 1 fi done - else - dtoverlay $overlay fi + #make sure the driver loads correctly + dtoverlay $overlay || true + echo "create $overlay asound configure file" ln -s $asound_conf /etc/asound.conf