The story goes that I had a working screen that I was quite happily able to turn on and off via a cronjob, but then I broke something accidently, but no worries I had backups so nothing was lost, so I wiped the card and reinstalled raspbian stretch lite, this was what was on the card when I broke the install.
However despite putting raspbian stretch lite back on the card and installing the screen which does work partly as it did before I can’t turn the backlight off or back on.
The link above shows how to do the backlight control which was working perfectly fine, but on the new raspbian stretch lite it doesn’t.
The commands that I was using before were: -
To turn the backlight off run
sudo sh -c 'echo "0" > /sys/class/backlight/soc\:backlight/brightness'
To turn it back on, run
sudo sh -c 'echo "1" > /sys/class/backlight/soc\:backlight/brightness'
Both of these commands now give the error message below.
sh: 1: cannot create /sys/class/backlight/soc:backlight/brightness: Directory nonexistent
Is there something missing from raspbian stretch perhaps that I need to install? Any idea what that might be?
Any help/assistance is much appreciated.