I'm trying to implement a Power key. I know its' virtual key has to be
VK_OFF, but I'm not sure what else has to be in place for it to work.
What happens now is that it does power off, but does not power on. I
have KernelIoControl call with IOCTL_HAL_ENABLE_WAKE in my ISR thread
and I thought that is all I need to be able to wake the system up from
suspend. Is there anything else I need to set or call for power-on to
work?
Thanks!

Re: Power key implementation question by K

K
Tue May 04 05:23:36 CDT 2004

But the IOCTL_HAL_ENABLE_WAKE is implemented by OAL.
is your BSP implement this ioctl code??

"Sarah" <sarah.c@safe-mail.net>
???????:d5511d26.0404300835.5af429bc@posting.google.com...
> I'm trying to implement a Power key. I know its' virtual key has to be
> VK_OFF, but I'm not sure what else has to be in place for it to work.
> What happens now is that it does power off, but does not power on. I
> have KernelIoControl call with IOCTL_HAL_ENABLE_WAKE in my ISR thread
> and I thought that is all I need to be able to wake the system up from
> suspend. Is there anything else I need to set or call for power-on to
> work?
> Thanks!