Handling transition into suspend through keyboard driver
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
Hi Kristoffer,
Quoted 5 lines · Kristoffer Ericson
Greetings,
Dmitry, Im implementing suspend for hp7xx currently. I've added
EV_PWRto bitflags and linked soPOWER_KEYgets 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.
Signature · 1 line
Dmitry