[PATCH 0/3] CPU frequency scaling addon

Holger Macht hmacht at suse.de
Tue Aug 15 03:24:44 PDT 2006


On Mon 14. Aug - 23:50:44, Richard Hughes wrote:
> On Mon, 2006-08-14 at 20:22 +0200, Holger Macht wrote:
> > Maybe. At least the hald --verbose=yes output gives me the following
> > line
> > when inserting a governor:
> > 
> > 20:19:42.288 [I] osspec.c:232: SEQNUM=1585, ACTION=add,
> > SUBSYSTEM=module, DEVPATH=/sys/module/cpufreq_powersave, DEVNAME=,
> > IFINDEX=0
> > 
> > But I currently don't now how to catch this in an fdi file or the
> > like. You have to check if the addon is already running and only if
> > not,
> > start it.
> 
> Hmm, interesting. I'll see what I can find out.
> 
> On a related note, shouldn't the addon emit signals when the cpu speed
> changes? This would mean stuff like the cpu scaling applet in GNOME
> could be patched to use the new HAL interface (as it shows the current
> frequency updated in real time in the toolbar).

The addon would only be able to send such signals if the userspace
governor is active. And there would be really frequent signals, up to a
maximum of three per second. So I'm not sure if it would make sence from a
performance point of view.

> 
> Not required for the initial patch I guess, but might be a nice feature
> considering we'll have a nice little cpufreq addon soon.

Yes, not mandatory for the initial patch, so I will think about this a
little bit more for the future.

Regards,
	Holger



More information about the hal mailing list