Re: :How do I move the system to idle mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 3/10/07, Sridhar Rao V <sridharraov@xxxxxxxxxxxxxxx> wrote:

HI,

 

I am working on optimizing the power consumption on the system.

 

I need to detect when the system is idle and move it to standby state.


 u define the system states and cause a transition acordingly

i do not know ur board details

do
cat /sys/power/state
to know the current supported states
and an
echo standby > /sys/power/state
to trigger a transition

And when there is an interrupt, it needs to be brought back to run state.


 for that u need to configure the required  gpio's  to be able to cause a wakeup
before u go to idle or sleep

I have an application which is waiting on a message. When it gets idle message, it needs to move the system to idle state.

 

I have two questions:

1. How do we detect the idle mode.

2. Can I call the acpi_suspend() function from my driver to move the system to different states. If not what is the preferred way.

 

Sridhar.

 


_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxx
https://lists.osdl.org/mailman/listinfo/linux-pm




--
abrarahmed
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxx
https://lists.osdl.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux