From: "Jordan Crouse" <jordan.crouse@amd.com>
To: David Brownell <david-b@pacbell.net>
Cc: linux-pm@lists.linux-foundation.org, devel@laptop.org,
linux-acpi@vger.kernel.org, linux-pm@lists.osdl.org
Subject: Re: Power Mangement Interfaces
Date: Sat, 31 Mar 2007 12:16:12 -0600 [thread overview]
Message-ID: <20070331181612.GD8091@cosmic.amd.com> (raw)
In-Reply-To: <200703310952.43696.david-b@pacbell.net>
On 31/03/07 09:52 -0700, David Brownell wrote:
> USB once worked fine (I spent more than enough time testing it in all
> kinds of configs) but usbcore has changed a lot since then ... I hear
> that some of the root hub stuff got broken.
Marcelo is working hard on the USB. I'm sure he wouldn't say no if you
offered your particular expertise on the matter. :)
>
> > I am now turning my attention to handling wakeup events - in particular,
> > events that we can set at run-time. My thoughts on the matter are
> > detailed here:
> >
> > http://wiki.laptop.org/go/Power_Management_Interface
>
> You seem to be completely ignoring the /sys/devices/..../power/wakeup
> event attributes. Why?
Complete and total ignorance that they even existed. I guess I should
pay more attention to linux-pm then I do.. :(. My impression is that
this infrastructure allows the devices to configure themselves to wake
up the system, but it doesn't seem to address enabling the system to
allow those events to wake it. It is the latter that I am concerned about.
The Geode (and most other platforms, I presume) allows us to configure
which wakeup events are actually allowed to wake the system. Currently,
we are permanently enabling the power button as a wakeup source, but I
want to eventually be able to pick and chose from any of our main wakeup
sources:
* Power button
* RTC Alarm
* LID event (GPIO26)
* wake event from the EC (GPIO27)
Of the four, the only device that can actually be configured to do anything
is the RTC alarm, and for that we would use the /sys/devices/../power/wakeup
infrastructure, but we would still need something in place to allow the
software to tell the hardware to enable the RTC event to wake the system.
I suppose we could just globally enable all sources, but that seems silly,
seeing as though we do have very fine tuned control over the wake sources.
I'm sure other platforms have this concern as well - what do they do?
--
Jordan Crouse
Senior Linux Engineer
Advanced Micro Devices, Inc.
<www.amd.com/embeddedprocessors>
next prev parent reply other threads:[~2007-03-31 18:15 UTC|newest]
Thread overview: 126+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-30 23:57 Power Mangement Interfaces Jordan Crouse
2007-03-31 0:18 ` Johannes Berg
2007-03-31 0:21 ` Johannes Berg
2007-03-31 4:33 ` [linux-pm] " Gopi P.M.
2007-03-31 15:20 ` Jordan Crouse
2007-03-31 16:12 ` David Brownell
2007-03-31 15:16 ` Jordan Crouse
2007-04-02 7:38 ` [linux-pm] " Pavel Machek
2007-03-31 16:57 ` David Brownell
2007-04-04 16:15 ` Johannes Berg
2007-04-04 18:44 ` David Brownell
2007-04-04 21:49 ` Johannes Berg
2007-04-05 5:05 ` David Brownell
2007-04-05 8:02 ` Johannes Berg
2007-04-05 8:32 ` Zhang Rui
2007-03-31 16:52 ` David Brownell
2007-03-31 18:16 ` Jordan Crouse [this message]
2007-03-31 18:57 ` David Brownell
2007-04-01 1:01 ` Jordan Crouse
2007-04-01 3:01 ` David Brownell
2007-04-01 3:01 ` David Brownell
2007-04-01 16:56 ` Jordan Crouse
2007-04-01 16:56 ` Jordan Crouse
2007-04-02 0:28 ` David Brownell
2007-04-02 16:55 ` Jordan Crouse
2007-04-02 17:53 ` David Brownell
2007-04-02 17:53 ` David Brownell
2007-07-08 3:46 ` rtc-cmos not supporting RTC_AIE? Marcelo Tosatti
2007-07-08 3:46 ` Marcelo Tosatti
2007-07-08 5:26 ` David Brownell
2007-07-08 19:03 ` Marcelo Tosatti
2007-07-08 19:03 ` Marcelo Tosatti
2007-07-08 19:17 ` David Brownell
2007-07-08 19:31 ` Richard Hughes
2007-07-08 20:15 ` Hibernate after alarm wakes from STR David Brownell
2007-07-08 22:31 ` Marcelo Tosatti
2007-07-09 2:44 ` David Brownell
2007-07-09 8:34 ` Richard Hughes
2007-07-09 8:34 ` Richard Hughes
2007-07-09 15:40 ` Marcelo Tosatti
2007-07-09 15:40 ` Marcelo Tosatti
2007-07-09 16:26 ` David Brownell
2007-07-10 2:45 ` Nigel Cunningham
2007-07-10 2:45 ` [linux-pm] " Nigel Cunningham
2007-07-10 16:51 ` David Brownell
2007-07-10 16:51 ` [linux-pm] " David Brownell
2007-07-10 22:16 ` Nigel Cunningham
2007-07-10 22:16 ` [linux-pm] " Nigel Cunningham
2007-07-11 0:45 ` Matthew Garrett
2007-07-11 0:53 ` Nigel Cunningham
2007-07-11 1:23 ` Matthew Garrett
2007-07-11 1:39 ` Nigel Cunningham
2007-07-11 1:39 ` [linux-pm] " Nigel Cunningham
2007-07-11 1:59 ` Matthew Garrett
2007-07-11 3:14 ` Nigel Cunningham
2007-07-11 10:09 ` Rafael J. Wysocki
2007-07-11 10:14 ` Nigel Cunningham
2007-07-11 10:14 ` [linux-pm] " Nigel Cunningham
2007-07-11 10:31 ` Rafael J. Wysocki
2007-07-11 10:31 ` [linux-pm] " Rafael J. Wysocki
2007-07-11 10:09 ` Rafael J. Wysocki
2007-07-11 3:14 ` Nigel Cunningham
2007-07-11 1:59 ` Matthew Garrett
2007-07-11 1:23 ` Matthew Garrett
2007-07-11 0:53 ` Nigel Cunningham
2007-07-11 0:45 ` Matthew Garrett
2007-07-11 16:04 ` [linux-pm] " David Brownell
2007-07-11 22:48 ` Nigel Cunningham
2007-07-11 22:48 ` [linux-pm] " Nigel Cunningham
2007-07-11 16:04 ` David Brownell
2007-07-09 16:26 ` David Brownell
2007-07-09 2:44 ` David Brownell
2007-07-08 22:31 ` Marcelo Tosatti
2007-07-08 20:15 ` David Brownell
2007-07-08 19:31 ` rtc-cmos not supporting RTC_AIE? Richard Hughes
2007-07-08 19:17 ` David Brownell
2007-07-08 5:26 ` David Brownell
2007-07-08 3:49 ` [PATCH] rtc-cmos: use cmos_rtc_board_info to determine wake_on callback Marcelo Tosatti
2007-07-08 3:49 ` Marcelo Tosatti
2007-07-08 5:06 ` David Brownell
2007-07-08 5:06 ` David Brownell
2007-07-08 3:55 ` [PATCH] OLPC rtc-cmos support Marcelo Tosatti
2007-07-08 3:55 ` Marcelo Tosatti
2007-07-08 5:13 ` David Brownell
2007-07-08 18:40 ` Marcelo Tosatti
2007-07-08 18:40 ` Marcelo Tosatti
2007-07-08 19:10 ` David Brownell
2007-07-08 20:17 ` Marcelo Tosatti
2007-07-08 20:47 ` David Brownell
2007-07-08 20:47 ` David Brownell
2007-07-08 20:17 ` Marcelo Tosatti
2007-07-08 19:10 ` David Brownell
2007-07-08 5:13 ` David Brownell
2007-04-02 16:55 ` Power Mangement Interfaces Jordan Crouse
2007-06-19 17:00 ` Marcelo Tosatti
2007-06-19 17:00 ` Marcelo Tosatti
2007-06-19 19:17 ` Jens Axboe
2007-06-19 19:17 ` Jens Axboe
2007-06-19 19:41 ` Woodruff, Richard
2007-06-21 1:30 ` David Brownell
2007-06-21 1:30 ` David Brownell
2007-07-08 22:10 ` [PATCH] add powerbutton and lid platform devices Marcelo Tosatti
2007-07-09 15:05 ` Jordan Crouse
2007-07-09 16:30 ` David Brownell
2007-07-09 16:30 ` David Brownell
2007-07-09 16:36 ` Jordan Crouse
2007-07-09 16:36 ` Jordan Crouse
2007-07-16 8:51 ` Richard Hughes
2007-07-16 8:51 ` Richard Hughes
2007-07-16 17:11 ` C. Scott Ananian
2007-07-16 17:11 ` C. Scott Ananian
2007-07-09 15:05 ` Jordan Crouse
2007-07-08 22:10 ` [PATCH] " Marcelo Tosatti
2007-04-02 0:28 ` Power Mangement Interfaces David Brownell
2007-04-02 10:23 ` Zhang Rui
2007-04-02 18:24 ` David Brownell
2007-04-02 18:24 ` David Brownell
2007-04-02 19:40 ` Matthew Garrett
2007-04-02 19:40 ` Matthew Garrett
2007-04-02 21:31 ` David Brownell
2007-04-02 21:31 ` David Brownell
2007-04-05 8:20 ` Zhang Rui
2007-04-05 8:20 ` Zhang Rui
2007-04-02 10:07 ` Zhang Rui
2007-03-31 19:14 ` Jim Gettys
2007-04-02 9:36 ` Zhang Rui
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=20070331181612.GD8091@cosmic.amd.com \
--to=jordan.crouse@amd.com \
--cc=david-b@pacbell.net \
--cc=devel@laptop.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.