22 lines
908 B
Diff
22 lines
908 B
Diff
|
From 58d4aabedd415a735efeb8c2608ee73618c07f78 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
||
|
Date: Mon, 22 Sep 2014 22:14:39 -0400
|
||
|
Subject: [PATCH] logind: add support for Triton2 Power Button
|
||
|
|
||
|
https://bugs.freedesktop.org/show_bug.cgi?id=84201
|
||
|
---
|
||
|
src/login/70-power-switch.rules | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/src/login/70-power-switch.rules b/src/login/70-power-switch.rules
|
||
|
index 36fb827315..a6997f7788 100644
|
||
|
--- a/src/login/70-power-switch.rules
|
||
|
+++ b/src/login/70-power-switch.rules
|
||
|
@@ -9,5 +9,6 @@ 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"
|
||
|
|
||
|
LABEL="power_switch_end"
|