From: ??? <ikhwan.lee@samsung.com>
To: linux-pm@lists.osdl.org
Subject: sysfs power/state file & dpm_runtime_suspend()
Date: Thu, 27 Jul 2006 20:34:08 +0900 [thread overview]
Message-ID: <019501c6b170$93eb6950$4686190c@dsn.sec.samsung.com> (raw)
Hi,
It seems that we have a consensus on the obsoleteness of the sysfs
power/state
file and dev->power.power_state.event. Could anybody explain why? I have
recently
joined this mailing list and I would like to follow up with the technical
background of
this agreement.
If the sysfs mechanism is deprecated, the dpm_runtime_suspend() seems to be
the only method for runtime power management. But I think it's difficult for
a user-
space power manager to use this function because the caller needs to have
the pointer
to the device which it wants to control.
Lastly, shouldn't the dpm_runtime_suspend() move the device from dpm_active
list
to dpm_off list upon success? This would prevent suspending an
already-suspended
device again in the device_suspend() function.
Ikhwan
next reply other threads:[~2006-07-27 11:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-27 11:34 ??? [this message]
2006-07-27 14:43 ` sysfs power/state file & dpm_runtime_suspend() Alan Stern
2006-07-27 15:53 ` David Brownell
2006-08-16 7:17 ` Ikhwan Lee
2006-08-16 15:37 ` Alan Stern
2006-08-17 1:46 ` Ikhwan Lee
2006-08-17 14:18 ` Alan Stern
2006-08-16 19:09 ` David Brownell
2006-08-17 2:41 ` Ikhwan Lee
2006-08-17 6:31 ` Matthew Locke
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='019501c6b170$93eb6950$4686190c@dsn.sec.samsung.com' \
--to=ikhwan.lee@samsung.com \
--cc=linux-pm@lists.osdl.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