[systemd-bugs] [Bug 84201] New: Support shutting down when pressing the twl4030_pwrbutton

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 22 14:51:34 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84201

          Priority: medium
            Bug ID: 84201
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: Support shutting down when pressing the
                    twl4030_pwrbutton
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: gostrc at gmail.com
          Hardware: ARM
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

Created attachment 106696
  --> https://bugs.freedesktop.org/attachment.cgi?id=106696&action=edit
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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140922/9ff33f85/attachment.html>


More information about the systemd-bugs mailing list