From owner-freebsd-mobile@FreeBSD.ORG Sat Oct 20 23:29:40 2007 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CCD716A417 for ; Sat, 20 Oct 2007 23:29:40 +0000 (UTC) (envelope-from SRS0=53fc7473d7010d9152ac5774c2c403a7279a90e9=494=es.net=oberman@es.net) Received: from postal1.es.net (postal4.es.net [IPv6:2001:400:6000:1::66]) by mx1.freebsd.org (Postfix) with ESMTP id 2A21B13C447 for ; Sat, 20 Oct 2007 23:29:38 +0000 (UTC) (envelope-from SRS0=53fc7473d7010d9152ac5774c2c403a7279a90e9=494=es.net=oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal4.es.net (Postal Node 4) with ESMTP (SSL) id ZHX04037; Sat, 20 Oct 2007 16:29:37 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 0B19045010; Sat, 20 Oct 2007 16:29:36 -0700 (PDT) To: Zoran Kolic In-Reply-To: Your message of "Sat, 20 Oct 2007 15:39:44 +0200." <20071020133944.GB826@faust.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1192922976_61216P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sat, 20 Oct 2007 16:29:36 -0700 From: "Kevin Oberman" Message-Id: <20071020232936.0B19045010@ptavv.es.net> X-Sender-IP: 198.128.4.29 X-Sender-Domain: es.net X-Recipent: ;; X-Sender: X-To_Name: Zoran Kolic X-To_Domain: sbb.co.yu X-To: Zoran Kolic X-To_Email: zkolic@sbb.co.yu X-To_Alias: zkolic Cc: freebsd-mobile@freebsd.org Subject: Re: Powerd not working with C2D CPUs ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Oct 2007 23:29:40 -0000 --==_Exmh_1192922976_61216P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Date: Sat, 20 Oct 2007 15:39:44 +0200 > From: Zoran Kolic > Sender: owner-freebsd-mobile@freebsd.org > > > root@Rena.FStaals.net:/usr/obj/usr/src/sys/GENERIC i386 > > > > dev.cpu.0.freq_levels: 2001/32000 2000/31000 1750/27125 1600/22000 > > 1400/19250 1200/13000 1050/11375 900/9750 800/10000 700/8750 600/7500 > > 500/6250 400/5000 300/3750 > > dev.cpufreq.0.%driver: cpufreq > > Interesting. So, cpufreq is now part of generic kernel? > If not, how did you get here? > I saw reports on this list regarding c2d cpus. Current > was 7. Could you describe bios options, since a lot of > people concider such laptop in near future? Nope. cpufreq still must be added or loaded. Some laptops (including my T43 with updated BIOS) seem to show this and powerd works on them without powerd. If I load powerd, I lose all of the energy values and ACPI thinks that the top CPU speed is 1500, not 2000. In other words, loading cpufreq breaks power management. It also sets the top speed at 800MHz when on battery, although I have confirmed that, if set to 2G, it runs at 2G. But powerd will limit the system to the "advertised" 800M. Powerd works fine in this configuration, but gets confused at time about whether to use battery or AC settings. I have not had time to track this down, but I have run powerd with debug and it sometimes seems to miss power state transitions. I really don't understand how this is working, but it does. It started when the latest Intel ACPI code was placed into -current. Guess it can now do some stuff without cpufreq. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1192922976_61216P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFHGo9fkn3rs5h7N1ERAqb0AJ0VBXCWlj48f+MCCbzo7YQfu8MsvQCfbprx KtTdXJBYWGKPiYZ6iXSV2TA= =W4GS -----END PGP SIGNATURE----- --==_Exmh_1192922976_61216P--