kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: joy2sun127@gmail.com (Joy Sun)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How to debug /sys/power/state?
Date: Tue, 17 May 2011 07:40:52 -0700	[thread overview]
Message-ID: <BANLkTimqZX0Xm4T-Sc1CX9Aiv=YB6-fr7Q@mail.gmail.com> (raw)

 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 

             reply	other threads:[~2011-05-17 14:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-17 14:40 Joy Sun [this message]
2011-05-17 15:02 ` How to debug /sys/power/state? Haojian Zhuang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTimqZX0Xm4T-Sc1CX9Aiv=YB6-fr7Q@mail.gmail.com' \
    --to=joy2sun127@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).