Power On/OFF Issue ?

From: Yu (Yu.Mails_at_msa.hinet.net)
Date: 02/26/05


Date: Sat, 26 Feb 2005 16:46:27 +0800

Hi,

I found a strange situation.
In kernel\hal\oemioctl.c , there is some global variables, such as
HALVendorStr.

If I declare as following, system can not wakeup after suspend.
const WCHAR HALVendorStr[] = L"Abcd\0";

If I declare as following, system can wakeup after suspend.
const WCHAR HALVendorStr[] = L"Abcd\0\0\0\0";

What's the reason ?
Why is the OAL so sensitive?

Thanks.

Yu.



Relevant Pages

  • Re: Power On/OFF Issue ?
    ... beitman AT applieddata DOT net ... > If I declare as following, system can not wakeup after suspend. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: klists and struct device semaphores
    ... Conversely, we only want to automatically suspend the device, or allow the ... > And even pass the wakeup events up the hardware connectivity tree. ... > controller, then the CPU can enter C3 state and save a few more Watts. ...
    (Linux-Kernel)
  • Re: [linux-pm] sleepy linux self-test
    ... Well, I'd say that timing has bigger problem, right? ... start and end of the "suspend devices" steps; ... test RTC wakeup from 'mem' suspend ... suspend devices took 0.000 seconds ...
    (Linux-Kernel)
  • Re: [linux-pm] sleepy linux self-test
    ... Well, I'd say that timing has bigger problem, right? ... start and end of the "suspend devices" steps; ... test RTC wakeup from 'mem' suspend ... suspend devices took 0.000 seconds ...
    (Linux-Kernel)
  • Re: 2.6.28-rc4 suspend issues on Lenovo X200
    ... suspend and wakeup on console works ... before screen was black after wakeup ... wakeup on x11 freezes, causes automatic reboot ...
    (Linux-Kernel)