Regarding the CPUFreq interface in HAL
Richard Hughes
hughsient at gmail.com
Sat Jul 7 03:16:55 PDT 2007
On Thu, 2007-07-05 at 17:44 -0700, Anup Pemmaiah wrote:
> Hi,
>
> I'm working with a group inside of Sun Microsystems to port Gnome Power
> Manager to Solaris.
Cool! Yell if you guys need a hand getting changes upstream :-)
> This effort will require me to implement one of the
> HAL interfaces,"org.freedesktop.Hal.Device.CPUFreq", on Solaris. As I've
> been considering how we might use this interface with our governors,
> I've begun to think that the interface, as it is currently defined, is
> not very flexible in its ability to handle multiple properties.
>
> For example, while considering one of our governors (one that is similar
> to the Linux OnDemand governor), it occurred to me that we might want
> the ability to configure properties related to threshold and sampling
> rates (and possibly others). While the "SetCPUFreqPerformance" method
> does provide a mechanism for defining at least one of these properties,
> it doesn't seem like a good solution for multiple properties.
Do you _need_ to be able to change all the parameters from the session -
the idea of SetCPUFreqPerformance was to set a general "setting" rather
than be able to tweak every single knob.
> I'm curious whether or not there are any plans to extend this interface
> in the future to better support more properties. I'd be happy to discuss
> this further if you are interested.
Sure, suggest away.
Richard.
More information about the hal
mailing list