Introspection is of limited usability -- it is ultimately up to the end user or the distro to decide what level of power management makes sense for a given use case. I prefer the more complete documentation option.
Posted Jun 24, 2010 23:04 UTC (Thu) by hummassa (subscriber, #307)
[Link]
I disagree strongly. I think this kind of parameters should be enumerable in a ALSA mixer like way.
A single power preference knob
Posted Jun 25, 2010 1:20 UTC (Fri) by nescafe (subscriber, #45063)
[Link]
Enumerable is fine -- exposing them all in a /sys/power/powersave_knobs directory (or wherever) would be awesome. Once that is done, we can work on adding features that make it easier to introspect on them.
A single power preference knob
Posted Jun 25, 2010 0:12 UTC (Fri) by Tobu (subscriber, #24111)
[Link]
Hopefully the userland can figure out a value from the introspection. If the knob exposes a range with two examples, a powersave value and a balanced value, the userland can pick the powersave value for powersave and more energy-efficient modes, and the balanced value for balanced and more performance-oriented modes. Generally: pick the example nearest the desired mode.
If you have a more advanced user willing to figure things out, you can let them view the range, pick values and submit a patch, but that doesn't need to be the default user experience.