gjdwebserver-overlay/app-mobilephone/pinephone-meta/files/10-pinephone-brightness.rules

2 lines
240 B
Plaintext
Raw Normal View History

2021-10-03 17:58:12 +02:00
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'"