Backlight on 7" Raspberry Pi Touchscreen

Hey guys,
I am using an official 7" touchscreen with the Raspberry Pi and openHABianPi. I tried to turn the backlight off, but the file is not available:

~$ echo 1 > /sys/class/backlight/rpi_backlight/bl_power
-bash: /sys/class/backlight/rpi_backlight/bl_power: No such file or directory

Is there another way to turn the backlight off?

On my Pi it’a a link and seems to work okay.

pi@ohpanel:~ $ ls -l /sys/class/backlight/rpi_backlight
lrwxrwxrwx 1 root root 0 Dec  2 13:03 /sys/class/backlight/rpi_backlight -> ../../devices/platform/rpi_backlight/backlight/rpi_backlight
pi@ohpanel:~ $ ls -l /sys/devices/platform/rpi_backlight/backlight//rpi_backlight/bl_power
-rw-r--r-- 1 root root 4096 Dec  2 13:05 /sys/devices/platform/rpi_backlight/backlight//rpi_backlight/bl_power
pi@ohpanel:~ $ cat /sys/devices/platform/rpi_backlight/backlight//rpi_backlight/bl_power
0

Perhaps this Post fix your Problem :slight_smile:

and than take this for perfekt Integration :slight_smile: