lkml.org 
[lkml]   [2015]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: A desktop environment[1] kernel wishlist
On Tue, 5 May 2015, Chirantan Ekbote wrote:

> This is our plan for the next version (see my email earlier in this
> thread). Keeping a hybrid power state with hacks in the drivers isn't
> really maintainable, scalable, or upstream-able and has caused us some
> headaches already. Unfortunately we were working with the 3.14 kernel
> at the time, which didn't have the framework necessary to do anything
> else. The new version of lucid sleep will have the power manager
> runtime suspend power-hungry devices before a suspend so that they
> remain powered off at resume time. The power manager can then decide
> to resume those devices based on whether the wakeup event was
> user-triggered.
>
> Being able to determine the wakeup type from userspace is the only
> functionality we need from the kernel that doesn't already exist in
> mainline.

Maybe you can simplify the problem. You don't really need to know the
wakeup type, or to determine which device was responsible for the
wakeup. All you really need to know is whether the wakeup was
user-triggered. That may be much easier to discover.

Alan Stern



\
 
 \ /
  Last update: 2015-05-05 22:01    [W:0.173 / U:1.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site