Skip to content

Commit

Permalink
Merge pull request #526 from tracerrx/update-installer-soundcard
Browse files Browse the repository at this point in the history
Add blacklist snd_bcm2835 module to installer
  • Loading branch information
ty-porter authored Mar 10, 2024
2 parents a3c2c30 + fc5d6f0 commit 156920c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,19 @@ if [ "$SKIP_MATRIX" = false ]; then
sudo make install-python PYTHON="$PYTHON"

cd ../..

echo "------------------------------------"
echo " Checking for snd_bcm2835"
echo "------------------------------------"
if [ -f /etc/modprobe.d/blacklist-rgbmatrix.conf ]; then
echo "Sound Blacklist File not found, Creating."
echo "blacklist snd_bcm2835" | sudo tee /etc/modprobe.d/blacklist-rgbmatrix.conf
sudo modprobe -r snd_bcm2835
sudo depmod -a
else
echo "Sound Blacklist File found, skipping creation."
fi

fi

if [ "$SKIP_CONFIG" = true ]; then
Expand Down

0 comments on commit 156920c

Please sign in to comment.