How to debug /sys/power/state?
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.) Cheers, - Joy
On Tue, May 17, 2011 at 10:40 PM, Joy Sun <joy2sun127@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
participants (2)
-
Haojian Zhuang -
Joy Sun