Hi Kristoffer, On 10/8/07, Kristoffer Ericson <[EMAIL PROTECTED]> 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