RFC: powerd Patch & proposed future changes

Rene Schickbauer cavac at magicbooks.org
Mon Jul 6 09:03:32 UTC 2009


Hi!

>> Yesterday i submitted a patch for powerd to set maximum allowed CPU
>> speed for adaptive modes (to keep the system cool and using less
>> power).
>>
>> PR: 136354
>
> I would like an option to set the minimum allowed CPU speed, instead
> the use of the sysctl debug.cpufreq.lowest.

This is so that powerd doesn't take so long to spin up power in the adaptive
modes?

Never thought of that, but makes sense to me. i will adapt the patch.

>> Would it also make sense to have powerd run an (optional) user
>> configureable script on ac state change? I'm thinking about things
>> like dimming TFT backlight, on EEE PC turning of the webcam and so on.
>
> We can do this with devd.

I'm not really familiar with devd. Could you give me a pointer how that
would work?

LLAP & LG
Rene Schickbauer
-- 
Hackerkey: http://tinyurl.com/pof37z



More information about the freebsd-current mailing list