bd85700dea
The udev file "20-tm2-touchkey-leds.rules" disables the leds of tm2-touchkey by default because they are in an unconfigured state. The udev file "95-rt5033-battery-refresh.rules" triggers a refresh of the rt5033-battery information within UPower 5 secs after initialization. This avoids a wrong battery icon after boot. The udev file "50-firmware.rules" was moved from /etc/udev/rules.d to /lib/udev/rules.d. Related: https://wiki.postmarketos.org/wiki/Packaging#Device_specific_quirks
3 lines
260 B
Text
3 lines
260 B
Text
# disable tm2-touchkey leds by default
|
|
# To change the default, copy the file to /etc/udev/rules.d, increase the file name number and change echo to 1.
|
|
ACTION=="add", KERNEL=="tm2-touchkey", RUN+="/bin/sh -c 'echo 0 > /sys/class/leds/tm2-touchkey/brightness'"
|