1
0
Fork 0
mirror of https://github.com/RobotechLille/cdf2018-principal synced 2025-09-07 18:30:24 +02:00
This commit is contained in:
Geoffrey Frogeye 2018-05-05 15:56:39 +02:00
parent 98c2f27358
commit 678b7e939b
13 changed files with 167 additions and 49 deletions

View file

@ -6,17 +6,16 @@
start() {
printf "Starting hardware handling: "
modprobe pl2303 # USB↔Serial cable
modprobe i2c-bcm2708 # I2C
modprobe i2c-dev # I2C
# I2C
modprobe i2c-bcm2708 # RPi2
modprobe i2c-bcm2835 # RPi3
modprobe i2c-dev # Both
/opt/chef/lcdOff.sh
echo "OK"
}
stop() {
printf "Stopping hardware handling: "
rmmod i2c-dev # I2C
rmmod i2c-bcm2708 # I2C
rmmod pl2303 # USB↔Serial cable
echo "OK"
}