edmw/volumio-diy

Set brightness of touch display on startup

Closed this issue · 1 comments

edmw commented

Only works with version 1.1 of touch display:

echo n > /sys/class/backlight/rpi_backlight/brightness

edmw commented

Add an udev rule to dim at startup

vim /etc/udev/rules.d/80-backlight-dim.rules

SUBSYSTEM=="backlight", RUN+="/bin/echo 20 > /sys/class/backlight/rpi_backlight/brightness"