<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - gpio-controlled shutdown power mechanism"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82347#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - gpio-controlled shutdown power mechanism"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82347">bug 82347</a>
              from <span class="vcard"><a class="email" href="mailto:dannf@dannf.org" title="dann frazier <dannf@dannf.org>"> <span class="fn">dann frazier</span></a>
</span></b>
        <pre>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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>