linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Handling transition into suspend through keyboard driver
@ 2007-10-08  7:25 Kristoffer Ericson
  2007-10-09 18:39 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Kristoffer Ericson @ 2007-10-08  7:25 UTC (permalink / raw)
  To: Dmitry; +Cc: linux-input-list

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?

I want to make use of the generic pm code that exists for sa1100.

I know this is abit of your speciality but had a hard time finding examples.

Best wishes
Kristoffer Ericson

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Handling transition into suspend through keyboard driver
  2007-10-08  7:25 Handling transition into suspend through keyboard driver Kristoffer Ericson
@ 2007-10-09 18:39 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2007-10-09 18:39 UTC (permalink / raw)
  To: Kristoffer Ericson; +Cc: linux-input-list

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-09 18:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-08  7:25 Handling transition into suspend through keyboard driver Kristoffer Ericson
2007-10-09 18:39 ` Dmitry Torokhov

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).