Re: why this API (SetSystemPowerState) can not change the system power state??



Suspend/Resume is board (hardware) specific. You'd have to debug exactly where it stops and ask a targeted question (with all necessary info like BSP used, hardware used, GPIO setup, interrupt (wake source) setup etc).


Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE Ltd.
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.

Hzh wrote:
Hi, Michel
Could you help me again? I got another problem, and maybe this problem has relationship with the PM too.

When my system get in suspend mode, I can not resume it. This function, OEMPowerOff(), has been called, and I used a GPIO interrupt as a wake up source to wake up my system, and the system can recognize this wake up source, those functions, XXX_PowerUp, has been called too, but not all those functions had been called. Could you tell me what and how we should do when we want to wake up our system?

Could you give me some advice? Thank you.

Best Regards

Ricky

.



Relevant Pages

  • Re: A question about acpi suspend.-follow-up
    ... things you indicate but i can't wake the machine up. ... Any script that you may have probably does the preparation work before ... type of registered hardware event. ... ACPI is a standard/spec. ...
    (Fedora)
  • Re: [opensuse] Building a MthTV system
    ... On Sunday 22 April 2007 11:00, Carlos E. R. wrote: ... some kind of timer hardware that can issue the necessary wake-up ... "wake on lan" ethernet cards. ... If the BIOS or some mainboard or compatible add-in hardware can produce ...
    (SuSE)
  • Re: ACPI event testing needed
    ... > I've just finished a lot of work on acpi events. ... > things like the lid switch and device wake capabilities. ... > works for suspend/resume, please make sure it still behaves correctly over ... I did try the sysctl to disable wake on lid switch and it worked as ...
    (freebsd-current)
  • Re: good notebook for Linux
    ... C'mon man, wake up. ... People who love hardware love hardware. ... Linux is cool. ... anything about virtual servers thats why you are getting flammed. ...
    (microsoft.public.windowsxp.hardware)
  • Re: Flames over -- Re: Which is simpler?
    ... I can _also_ trigger it to wake by leaving it closed and connecting an external VGA and USB. ... Because of that, and the fact that not all systems even support such wake modes, the kernel must reprobe all hardware when it wakes up, and hopefully finds the same devices that were there when it went to sleep. ...
    (Linux-Kernel)