wok-6.x diff python-rpi-pyglow/stuff/pyglow @ rev 22970
updated jpeg, jpeg-dev and libjpeg (9c -> 9d)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 29 14:32:09 2020 +0100 (2020-02-29) |
parents | 7b9df94be9aa |
children |
line diff
1.1 --- a/python-rpi-pyglow/stuff/pyglow Thu Apr 24 20:43:02 2014 +0200 1.2 +++ b/python-rpi-pyglow/stuff/pyglow Sat Feb 29 14:32:09 2020 +0100 1.3 @@ -5,8 +5,9 @@ 1.4 1.5 ex="/usr/share/pyglow" 1.6 1.7 -# Make sure we have i2c-dev module loaded 1.8 -if ! lsmod | fgrep -q 'i2c_dev'; then 1.9 +# Make sure we have i2c-* module loaded 1.10 +if ! lsmod | grep -q 'i2c_dev'; then 1.11 + modprobe i2c-bcm2708 1.12 modprobe i2c-dev 1.13 fi 1.14