backlight_dimmer icon indicating copy to clipboard operation
backlight_dimmer copied to clipboard

Touch display sys path change

Open alanjfogarty opened this issue 2 years ago • 1 comments

A quick note to say thank you for your work! I am a complete Luddite when it comes to coding, but I note that the more recent version of Raspberry OS has changed the folder structure from this; /sys/class/backlight/rpi-backlight/brightness

to this; /sys/class/backlight/rpi_backlight/brightness

Accordingly your script throws an unable to find error; ./timeout 10 event0

I tried updating the timeout.c on line 104 to the new location by that didn’t seem to work either. Any thoughts would be most appreciated and hope all is well

alanjfogarty avatar Oct 19 '22 13:10 alanjfogarty

I've implemented a PR which properly fixes this issue — it will work with any available backlight device. @alanjfogarty, feel free to use my version until this PR is merged.

MarSoft avatar Aug 20 '23 12:08 MarSoft