Handling transition into suspend through keyboard driver

2 messages, 2 authors, 2007-10-09 · open the first message on its own page

Handling transition into suspend through keyboard driver

From: Kristoffer Ericson <kristoffer.ericson@gmail.com>
Date: 2007-10-08 07:25:10

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

Re: Handling transition into suspend through keyboard driver

From: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>
Date: 2007-10-09 18:39:38

Hi Kristoffer,

On 10/8/07, Kristoffer Ericson [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help