From owner-cvs-all@FreeBSD.ORG Sat Feb 18 11:52:31 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB5CA16A423; Sat, 18 Feb 2006 11:52:31 +0000 (GMT) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc2-cdif2-0-0-cust107.cdif.cable.ntl.com [81.104.168.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30D3343D48; Sat, 18 Feb 2006 11:52:31 +0000 (GMT) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FAQda-000DBT-44; Sat, 18 Feb 2006 11:52:30 +0000 Date: Sat, 18 Feb 2006 11:52:30 +0000 From: Ceri Davies To: Dag-Erling Smorgrav Message-ID: <20060218115230.GI80729@submonkey.net> Mail-Followup-To: Ceri Davies , Dag-Erling Smorgrav , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200602181135.k1IBZCOR021711@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="m0XfRaZG5aslkcJX" Content-Disposition: inline In-Reply-To: <200602181135.k1IBZCOR021711@repoman.freebsd.org> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.11 Sender: Ceri Davies Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/powerd powerd.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2006 11:52:32 -0000 --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--