X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Flogin%2F70-power-switch.rules;h=e2855b50f7c4b7bbc2c22f0158c1bc55eb6baa32;hp=a6997f7788fc5d8e7bec7a7a44492f51f8c1ec6c;hb=dfc15f0ea42513f256e636ee78991e637b67be34;hpb=58d4aabedd415a735efeb8c2608ee73618c07f78 diff --git a/src/login/70-power-switch.rules b/src/login/70-power-switch.rules index a6997f778..e2855b50f 100644 --- a/src/login/70-power-switch.rules +++ b/src/login/70-power-switch.rules @@ -10,5 +10,9 @@ ACTION=="remove", GOTO="power_switch_end" SUBSYSTEM=="input", KERNEL=="event*", SUBSYSTEMS=="acpi", TAG+="power-switch" SUBSYSTEM=="input", KERNEL=="event*", KERNELS=="thinkpad_acpi", TAG+="power-switch" SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="twl4030_pwrbutton", TAG+="power-switch" +SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="tps65217_pwr_but", TAG+="power-switch" +SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="* WMI hotkeys", TAG+="power-switch" +SUBSYSTEM=="input", KERNEL=="event*", \ + SUBSYSTEMS=="platform", DRIVERS=="gpio-keys", ATTRS{keys}=="*,116|116,*|116|*,116,*", TAG+="power-switch" LABEL="power_switch_end"