On Sat, Feb 18, 2006 at 11:35:12AM +0000, Dag-Erling Smorgrav wrote:
> des         2006-02-18 11:35:12 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     usr.sbin/powerd      powerd.c 
>   Log:
>   Load cpufreq at startup if it isn't there already.
>   
>   Revision  Changes    Path
>   1.18      +4 -0      src/usr.sbin/powerd/powerd.c

> | @@ -432,6 +432,10 @@ main(int argc, char * argv[])
> |             }
> |  
> |     mode = mode_none;
> | +
> | +   /* Make sure the cpufreq module is loaded */
> | +   if (!kld_isloaded("cpu/p4tcc") && kld_load("cpufreq") == -1)
                           ^^^^^^^^^

Did you really mean that?  I have powerd working great on a machine here
with nothing like that module loaded:

% kldstat -v |grep cpu
                243 cpu/cpufreq
                335 legacy/cpu
                13 acpi/cpu
                16 cpu/acpi_perf
                17 cpu/acpi_throttle

Apologies in advance if I am being extra stupid here; I haven't been
using powerd for much more than a week.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere

Attachment: pgpJUUBhJ0wbp.pgp
Description: PGP signature

Reply via email to