Created attachment 106696 [details] udevadm info -a -p $(udevadm info -q path -n /dev/input/event0) Current Behavior: When pressing the power switch, my system does not shut down. Expected Behavior: The system should shut down. Fix: I had to add the following line to http://cgit.freedesktop.org/systemd/systemd/tree/src/login/70-power-switch.rules SUBSYSTEMS=="input", ATTRS{name}=="twl4030_pwrbutton", TAG+="power-switch" Additional Info: I don't know if I used the best attributes so I attached the output for udevadm info -a -p $(udevadm info -q path -n /dev/input/event0) Please let me know the best course of action is. I can provide a patch if you would like.
Thank you for the report. I added your rule with a small modification in http://cgit.freedesktop.org/systemd/systemd/commit/?id=58d4aabedd. BTW, 'udevadm info -a /dev/input/event0' now also works.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.