How to debug /sys/power/state?

Haojian Zhuang haojian.zhuang at gmail.com
Tue May 17 11:02:19 EDT 2011


On Tue, May 17, 2011 at 10:40 PM, Joy Sun <joy2sun127 at gmail.com> wrote:
> Hi,
>
> I'm a newbie, and trying to understand the power control over linux.
>
> It looks that the basic power control would be achieved by /sys/power/state,
> but I can't find the starting point to look at it.
>
> Could somebody help me to find where takes the input from /sys/power/state
> in linux kernel code, please?
>
> (I've posted this before, but it doesn't look it appear in the list, so I
> re-post again.)
>
$LINUX/kernel/power/main.c



More information about the Kernelnewbies mailing list