[PATCH 0/3] CPU frequency scaling addon

Richard Hughes hughsient at gmail.com
Mon Aug 14 15:50:44 PDT 2006


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).

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

Richard.




More information about the hal mailing list