[Pm-utils] [PATCH] Better PMU

Michael Biebl mbiebl at gmail.com
Sun Mar 16 14:39:59 PDT 2008


2008/3/16, Victor Lowther <victor.lowther at gmail.com>:
> On Sun, 2008-03-16 at 19:04 +0100, Michael Biebl wrote:
>  > Hi,
>  >
>  > I improved the pmu support a bit (for uswsusp/kernel)
>  >
>  > - If /dev/pmu is existent, assume we can suspend
>  > - Don't try to run pm-pmu for non-pmu machines. The majority of
>  > machines nowadays doesn't have a pmu, so always running pm-pmu for
>  > them is just wasting cpu cycles.
>
>
> Patch?

Argh, missed it. Attached now.

I haven't changed do_suspend for uswsusp, as my uswsusp patch will use
s2ram (which deals with pmu machines transparently).

Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Better-PMU-support.patch
Type: text/x-diff
Size: 1714 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080316/4dec5a3a/attachment.patch 


More information about the Pm-utils mailing list