build/config/71-axp-power-button.rules
2016-05-01 15:41:33 +03:00

5 lines
287 B
Text

# Handle AXP power button with systemd
ACTION=="remove", GOTO="power_switch_end"
SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="axp20x-pek", TAG+="power-switch"
SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="axp[12][890]-supplyer", TAG+="power-switch"
LABEL="power_switch_end"