From owner-freebsd-amd64@FreeBSD.ORG Thu Jan 27 19:56:43 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B426A16A4CE; Thu, 27 Jan 2005 19:56:43 +0000 (GMT) Received: from phoenix.gargantuan.com (phoenix.gargantuan.com [24.73.171.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13FD543D5F; Thu, 27 Jan 2005 19:56:41 +0000 (GMT) (envelope-from michael@gargantuan.com) Received: from localhost (localhost.gargantuan.com [127.0.0.1]) by spamassassin-injector (Postfix) with SMTP id F3FE3495; Thu, 27 Jan 2005 14:56:39 -0500 (EST) Received: by phoenix.gargantuan.com (Postfix, from userid 1001) id 92F29287; Thu, 27 Jan 2005 14:56:33 -0500 (EST) Date: Thu, 27 Jan 2005 14:56:33 -0500 From: "Michael W. Oliver" To: Jung-uk Kim Message-ID: <20050127195633.GA32179@gargantuan.com> Mail-Followup-To: Jung-uk Kim , freebsd-amd64@freebsd.org, acpi@freebsd.org References: <1b1b33f10501270752473093ea@mail.gmail.com> <200501271359.30721.jkim@niksun.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ikeVEW9yuYc//A+q" Content-Disposition: inline In-Reply-To: <200501271359.30721.jkim@niksun.com> 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: sgs_public_dcc_server: phoenix.gargantuan.com 1199; Body=1 Fuz1=1 Fuz2=1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on phoenix.gargantuan.com X-Spam-Level: X-Spam-Status: No, score=-105.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Pyzor: Reported 0 times. cc: acpi@freebsd.org cc: freebsd-amd64@freebsd.org Subject: AMD64 CPU and ACPI (was Re: Configuration of Compaq R3000) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2005 19:56:43 -0000 --ikeVEW9yuYc//A+q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2005-01-27T13:59:29-0500, Jung-uk Kim wrote: > On Thursday 27 January 2005 10:52 am, Kelly Black wrote: > > Hello, > Did you use 'acpi_ppc' driver? > http://www.spa.is.uec.ac.jp/~nfukuda/software/ > You need this driver to run your laptop at full speed. CPU speed will=20 > be automatically adjusted by CPU load. However, it may take few=20 > seconds to get to the speed. You can set the speed manually by: > sysctl hw.acpi.cpu.px_control=3D0 > Please read comment in the acpi_ppc.c for more info. Whoo-hoo!!! This works on my machine (Sager 4750V) so far, and gives wonderful information: hw.acpi.cpu.px_control: -1 hw.acpi.cpu.px_highest: 0 hw.acpi.cpu.px_lowest: 2 hw.acpi.cpu.px_current: 1 hw.acpi.cpu.px_supported: 2200 1800 800 hw.acpi.cpu.px_usage: 4.62% 25.70% 69.66% (running `make clean' in /usr/ports just to push it a little) This is great! Thanks so much for posting this! This completely makes sense now that I would see the CPU speed reported as ~801MHz when the machine would boot up. I can't thank you enough. What are the chances that this could be imported into current? I am running... # uname -a FreeBSD gambit.gargantuan.com 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Mon Jan 10 18:33:07 EST 2005 mwoliver@gambit.gargantuan.com:/usr/obj/usr/src/sys/GAMBIT amd64 > Unfortunately if you run this laptop under heavy CPU load, CPU will=20 > heat up pretty fast and 'acpi_ec' will adjust delay to prevent=20 > excessive heat. You can ignore this behavior by hacking acpi_ec.c, I=20 > believe but it's really bad idea. I do see some ACPI errors on my laptop when I boot it up, such as: (dmesg -a | grep -i acpi): acpi_cmbat0: battery initialization start acpi_acad0: acline initialization start acpi_tz0: _CRT value is absurd, ignored (154.8C) acpi_acad0: On Line acpi_acad0: acline initialization done, tried 1 times acpi_ec0: info: new max delay is 70 us acpi_ec0: info: new max delay is 100 us acpi_cmbat0: battery initialization failed, giving up <-- ugh! acpi_ec0: info: new max delay is 130 us acpi_ec0: info: new max delay is 170 us acpi_tz0: _CRT value is absurd, ignored (154.8C) acpi_tz0: _CRT value is absurd, ignored (154.8C) acpi_ec0: info: new max delay is 900 us acpi_ec0: info: new max delay is 11000 us acpi_tz0: _CRT value is absurd, ignored (154.8C) acpi_tz0: _CRT value is absurd, ignored (154.8C) acpidump stuff is here: http://michael.gargantuan.com/sager_4750v/acpidump.asl http://michael.gargantuan.com/sager_4750v/dsdt.out http://michael.gargantuan.com/sager_4750v/sysctl_hw.acpi > Laptop is not for number crunching after all. ;-) ooops! ;) --=20 Mike Oliver [see complete headers for contact information] --ikeVEW9yuYc//A+q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFB+UdxsWv7q8X6o8kRAvfFAJ9tljqGbXALfrM8n2ehKOQ34y20LwCfUDJ0 57YQ3eM50tbmS8PklRL85pA= =+nS0 -----END PGP SIGNATURE----- --ikeVEW9yuYc//A+q--