I have the official 7" touchscreen installed on a Pi 3B running Strech V9.
I have installed the touchscreen-dimmer project from the Github repository & followed the readme.me
the screen dims OK when I run
sudo ./timeout 10 15 event0
I have copied timeout & run-dimmer.sh to /etc/ & added: /etc/run-dimmer.sh to /etc/rc.local
I have run the command:
sudo su -c 'echo SUBSYSTEM==\"backlight\", RUN+=\"/bin/chmod 0666 /sys/class/backlight/%k/brightness /sys/class/backlight/%k/bl_power\" > /etc/udev/rules.d/99-backlight.rules'
I got no feedback or error when I ran this command? Is this right?
I have ls installed & working.
I am using the default time & levels in run-dimmer.sh.
The upshot is that the screen does not dim after 30 secs.
What am I doing wrong?
sudo udevadm control --reload-rules
or reboot to make it effective.