linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>
To: Kristoffer Ericson <kristoffer.ericson@gmail.com>
Cc: linux-input-list <linux-input@atrey.karlin.mff.cuni.cz>
Subject: Re: Handling transition into suspend through keyboard driver
Date: Tue, 9 Oct 2007 14:39:38 -0400	[thread overview]
Message-ID: <d120d5000710091139t1af3bb64scce55d5005cc32f6@mail.gmail.com> (raw)
In-Reply-To: <20071008002510.d3ce4591.Kristoffer.ericson@gmail.com>

Hi Kristoffer,

On 10/8/07, Kristoffer Ericson <kristoffer.ericson@gmail.com> wrote:
> Greetings,
>
> Dmitry, Im implementing suspend for hp7xx currently. I've added EV_PWR to bitflags and linked so POWER_KEY gets reported correctly.
> Is this the correct approach?
>

Yes, it is. Keyboard drivers sghoudl just emit proper events and we expect
userspace to react on those properly. Look at corgi and spitz drivers.

-- 
Dmitry

      reply	other threads:[~2007-10-09 18:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-08  7:25 Handling transition into suspend through keyboard driver Kristoffer Ericson
2007-10-09 18:39 ` Dmitry Torokhov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d120d5000710091139t1af3bb64scce55d5005cc32f6@mail.gmail.com \
    --to=dmitry.torokhov@gmail.com \
    --cc=kristoffer.ericson@gmail.com \
    --cc=linux-input@atrey.karlin.mff.cuni.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).