cvs commit: src/usr.sbin/powerd powerd.c
Ceri Davies
ceri at submonkey.net
Sat Feb 18 03:52:32 PST 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20060218/a2a3f9ef/attachment.bin
More information about the cvs-src
mailing list