1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2025-07-31 05:00:42 +02:00

fix lcd backlight problem

This commit is contained in:
DanyLE
2023-07-09 18:28:04 +02:00
parent 2f8f6f5542
commit d63ce8ee33
2 changed files with 7 additions and 7 deletions

View File

@ -6,8 +6,9 @@ DESC="Auto deployment configuration from media"
case "$1" in
start)
echo -n "Start $DESC: "
dmesg | tee /boot/kern.log
lsmod | tee /boot/lsmod.txt
# for some reason the LCD backlight is turned off
# need to turn it on manually
echo 0 > /sys/class/backlight/backlight/bl_power
if [ -f "/boot/fs_resize" ]; then
/usr/bin/expandfs.sh
touch /boot/home_partition_should_be_formated