From owner-freebsd-acpi@FreeBSD.ORG Tue Feb 8 14:23:22 2005 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E34316A4CE; Tue, 8 Feb 2005 14:23:22 +0000 (GMT) Received: from phoenix.gargantuan.com (phoenix.gargantuan.com [24.73.171.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 046D243D54; Tue, 8 Feb 2005 14:23:22 +0000 (GMT) (envelope-from michael@gargantuan.com) Received: from localhost (localhost.gargantuan.com [127.0.0.1]) by spamassassin-injector (Postfix) with SMTP id 11D0840F; Tue, 8 Feb 2005 09:23:21 -0500 (EST) Received: by phoenix.gargantuan.com (Postfix, from userid 1001) id 37F83256; Tue, 8 Feb 2005 09:23:10 -0500 (EST) Date: Tue, 8 Feb 2005 09:23:10 -0500 From: "Michael W. Oliver" To: Nate Lawson Message-ID: <20050208142310.GA24565@gargantuan.com> Mail-Followup-To: Nate Lawson , acpi@freebsd.org, amd64@freebsd.org References: <42068A5C.1030300@root.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline In-Reply-To: <42068A5C.1030300@root.org> X-WWW-URL: http://michael.gargantuan.com X-GPG-PGP-Public-Key: $X-WWW-URL/gnupg/pubkey.asc X-GPG-PGP-Fingerprint: 2694 0179 AE3F BFAE 0916 0BF5 B16B FBAB C5FA A3C9 X-Home-Phone: +1-863-816-8091 X-Mobile-Phone: +1-863-738-2334 X-Mailing-Address0: 8008 Apache Lane X-Mailing-Address1: Lakeland, FL X-Mailing-Address2: 33810-2172 X-Mailing-Address3: United States of America X-Guide-Questions: http://www.catb.org/~esr/faqs/smart-questions.html X-Guide-Netiquette: http://www.ietf.org/rfc/rfc1855.txt User-Agent: Mutt/1.5.6i X-Spam-DCC: dcc.uncw.edu: phoenix.gargantuan.com 1201; Body=1 Fuz1=1 Fuz2=1 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on phoenix.gargantuan.com X-Spam-Level: X-Spam-Status: No, score=-106.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.2 X-Spam-Pyzor: Reported 0 times. cc: acpi@freebsd.org cc: amd64@freebsd.org Subject: Re: HEADSUP: cpufreq import complete, acpi_throttling changed X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2005 14:23:22 -0000 --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2005-02-06T13:21:32-0800, Nate Lawson wrote: > I've finished the major work of importing cpufreq. As part of this, the= =20 > sysctls for acpi throttling have been removed. The power_profile script= =20 > has been updated, so you can use performance/economy_cpu_freq=3D in=20 > rc.conf to set AC on/offline cpu frequencies. The acpi throttling=20 > support has been compiled into acpi_perf.ko so load that to get=20 > throttling. Do a sysctl dev.cpu to get an understanding of the cpufreq= =20 > sysctls. Nate, Thanks for the hard work on cpufreq! I am running an AMD64 3400 CPU in my lappy, and I don't see any difference in dev.cpu with cpufreq and/or acpi_perf loaded. This is all I have: dev.cpu.0.%desc: ACPI CPU (2 Cx states) dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=3D\_PR_.CPU0 dev.cpu.0.%pnpinfo: _HID=3Dnone _UID=3D0 dev.cpu.0.%parent: acpi0 The above is the same for the following conditions: o cpufreq AND acpi_perf NOT loaded o cpufreq (without acpi_perf) loaded o acpi_perf (without cpufreq) loaded o cpufreq AND acpi_perf loaded The acpi_ppc module does continue to work for me, however, yielding the following additional OIDs from hw.acpi: ----------8<-------------- # sysctl hw.acpi.cpu hw.acpi.cpu.cx_supported: C1/0 C2/80 hw.acpi.cpu.cx_lowest: C2 hw.acpi.cpu.cx_usage: 2.36% 97.63% # kldload acpi_ppc # sysctl hw.acpi.cpu hw.acpi.cpu.cx_supported: C1/0 C2/80 hw.acpi.cpu.cx_lowest: C2 hw.acpi.cpu.cx_usage: 2.32% 97.67% hw.acpi.cpu.px_control: -1 hw.acpi.cpu.px_highest: 0 hw.acpi.cpu.px_lowest: 2 hw.acpi.cpu.px_current: 2 hw.acpi.cpu.px_supported: 2200 1800 800 hw.acpi.cpu.px_usage: 3.33% 3.33% 93.33% ----------8<-------------- All the stuff you would normally ask for can be found here: http://michael.gargantuan.com/sager_4750v/index.htm#Utility_Command_Output Also, I had to build the cpufreq and acpi_perf modules manually, as they weren't built automatically. Maybe they aren't "connected" to the build for AMD64? Thanks again, great work! --=20 Mike Oliver [see complete headers for contact information] --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCCMtOsWv7q8X6o8kRAqGMAKCtd4fCdKSZe7GSdqpUpPyDS58r1ACeK+ax xhbdGDguQJQc/UwYPk/u7KU= =vNlu -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm--