On Wednesday, January 12, 2011, Daniel Drake wrote: > Hi Rafael, > > On 16 December 2010 14:39, Daniel Drake <dsd@xxxxxxxxxx> wrote: > > On 15 December 2010 22:33, Rafael J. Wysocki <rjw@xxxxxxx> wrote: > >> I guess it's sufficient to read the article at http://lwn.net/Articles/416690/ > >> (or the PDF linked from there is that's not enough :-)). > > > > Thanks, that helps a lot. > > > >> I don't really think it solves your problem right now, because it's only a > >> high-level framework and it's missing some mechanics for this purpose. > > > > OK, so we'll push for a sysfs node that can be used by userspace to > > determine the wakeup source. > > How do you feel about us using power_kobj to create > /sys/power/wakeup_source from inside our OLPC code? > This would include a textual representation of the last wakeup source. > > Alternatively we could put it as a sysfs attribute of our own platform device. I'm basically fine with /sys/power/source as long as its contents are generally suitable. What exactly do you want to show up in that file? Rafael _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm