[systemd-bugs] [Bug 82347] gpio-controlled shutdown power mechanism
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Aug 12 19:20:50 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=82347
--- Comment #3 from dann frazier <dannf at dannf.org> ---
Right, that wasn't intended to be an upstream patch submittal, just a
description of the problem.
My best guess at a "good" solution would be something like this:
SUBSYSTEM=="input", KERNEL=="event*", SUBSYSTEMS=="platform",
ATTRS{keys}=="116", TAG+="power-switch"
Which would obviously require some new support in gpio-keyboard-polled to
expose the ATTRS{keys}. But I don't know if it is safe to assume that KEY_POWER
is always a graceful powerdown request.
--
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/20140813/4e67088c/attachment.html>
More information about the systemd-bugs
mailing list