Re: [PATCH 1/2] hwmon: Enhance the sysfs API for power meters.

From: Pavel Machek
Date: Sat Aug 08 2009 - 11:25:45 EST



> @@ -365,6 +373,16 @@ power[1-*]_average_lowest Historical average minimum power use
> Unit: microWatt
> RO
>
> +power[1-*]_average_max A notification is sent when power use
> + rises above this value.
> + Unit: microWatt
> + RW
> +

How is the notification sent?

> +power[1-*]_average_min A notification is sent when power use
> + sinks below this value.
> + Unit: microWatt
> + RW

And what is this good for? Will it wake from sleep? Will it wake from
C3?

...seems like good way to prevent deep sleep states.

> +power[1-*]_cap If power use rises above this limit, the
> + system should take action to reduce
> power use.

System as in 'hw'? Or who? And how?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/