From 40cad1b03bfd1a3d0ee297e80f79221140e03199 Mon Sep 17 00:00:00 2001 From: Ben Parmeter Date: Wed, 1 Jun 2022 16:17:47 -0700 Subject: [PATCH] Fix I2C Enabling During Install Additional step required to add a line to the /etc/modules file for enabling the I2C devices. --- auto-install/install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/auto-install/install.sh b/auto-install/install.sh index 203e6e3a..8291bf80 100755 --- a/auto-install/install.sh +++ b/auto-install/install.sh @@ -95,6 +95,7 @@ echo "*************************************************************************" echo "dtparam=spi=on" | $SUDO tee -a /boot/config.txt > /dev/null # Enable I2C - Needed for some displays, ADCs, distance sensors echo "dtparam=i2c_arm=on" | $SUDO tee -a /boot/config.txt > /dev/null +echo "i2c-dev" | $SUDO tee -a /etc/modules > /dev/null # Grab project files clear