Skip to content

Commit 27342d2

Browse files
committed
make install.sh enable the videocore i2c also
1 parent 9795410 commit 27342d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ echo -n "Update config.txt... "
3434
if (grep -q "^dtoverlay=${DRV_NAME}" /boot/config.txt); then
3535
echo "line already present, no change"
3636
else
37-
sudo echo "dtoverlay=cm4io-fan,minrpm=500,maxrpm=2500" >> /boot/config.txt
37+
sudo echo -e "dtparam=i2c_vc=on\ndtoverlay=cm4io-fan,minrpm=500,maxrpm=2500" >> /boot/config.txt
3838
echo "line added, edit to adjust rpm/temp settings."
3939
fi
4040

0 commit comments

Comments
 (0)