* How to debug /sys/power/state?
@ 2011-05-17 14:40 Joy Sun
2011-05-17 15:02 ` Haojian Zhuang
0 siblings, 1 reply; 2+ messages in thread
From: Joy Sun @ 2011-05-17 14:40 UTC (permalink / raw)
To: kernelnewbies
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110517/12632952/attachment.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* How to debug /sys/power/state?
2011-05-17 14:40 How to debug /sys/power/state? Joy Sun
@ 2011-05-17 15:02 ` Haojian Zhuang
0 siblings, 0 replies; 2+ messages in thread
From: Haojian Zhuang @ 2011-05-17 15:02 UTC (permalink / raw)
To: kernelnewbies
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-17 15:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-17 14:40 How to debug /sys/power/state? Joy Sun
2011-05-17 15:02 ` Haojian Zhuang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).