[systemd-devel] [PATCH 1/2] logind: add support for TPS65217 Power Button
Lennart Poettering
mzqohf at 0pointer.de
Wed Oct 1 14:52:39 PDT 2014
On Sat, 27.09.14 09:55, Koen Kooi (koen at dominion.thruhere.net) wrote:
> diff --git a/src/login/70-power-switch.rules b/src/login/70-power-switch.rules
> index a6997f7..695d246 100644
> --- a/src/login/70-power-switch.rules
> +++ b/src/login/70-power-switch.rules
> @@ -10,5 +10,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"
> +SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="tps65217_pwr_but", TAG+="power-switch"
If the input masking kernel patch David did won't get applied anytime
soon it might be worth moving these tags to the hwdb, so that we don't
have to list tons of devices explicitly here.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list