gjdwebserver-overlay/app-mobilephone/pinephone-meta/files/10-pinephone-brightness.rules
Gerben Jan Dijkman a7f7a7f86b Version Bump
2021-10-03 17:58:12 +02:00

2 lines
240 B
Plaintext

ACTION=="add", KERNEL=="backlight", SUBSYSTEM=="platform", DRIVER=="pwm-backlight", TEST=="lth_brightness", ATTR{lth_brightness}=="*?", RUN+="/bin/sh -c 'echo 12 > /sys/devices/platform/backlight/backlight/backlight/device/lth_brightness'"