Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Feb 2006 11:52:30 +0000
From:      Ceri Davies <ceri@submonkey.net>
To:        Dag-Erling Smorgrav <des@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/powerd powerd.c
Message-ID:  <20060218115230.GI80729@submonkey.net>
In-Reply-To: <200602181135.k1IBZCOR021711@repoman.freebsd.org>
References:  <200602181135.k1IBZCOR021711@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--m0XfRaZG5aslkcJX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

> | @@ -432,6 +432,10 @@ main(int argc, char * argv[])
> |  		}
> | =20
> |  	mode =3D mode_none;
> | +
> | +	/* Make sure the cpufreq module is loaded */
> | +	if (!kld_isloaded("cpu/p4tcc") && kld_load("cpufreq") =3D=3D -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
--=20
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere

--m0XfRaZG5aslkcJX
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (FreeBSD)

iD8DBQFD9wp9ocfcwTS3JF8RAmEHAKCDRYy8x3aSEOviZBKFgNRDswmNeQCgiGGv
NARbFrrUmw8Pq0kzmsEtslY=
=qhVv
-----END PGP SIGNATURE-----

--m0XfRaZG5aslkcJX--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060218115230.GI80729>