From owner-freebsd-stable@FreeBSD.ORG Thu Dec 13 23:22:40 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A8CA16A419 for ; Thu, 13 Dec 2007 23:22:40 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from mail.barafranca.com (mail.barafranca.com [67.19.101.164]) by mx1.freebsd.org (Postfix) with ESMTP id E9C9813C43E for ; Thu, 13 Dec 2007 23:22:39 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from localhost (localhost [127.0.0.1]) by mail.barafranca.com (Postfix) with ESMTP id 06E3CC4F2F for ; Thu, 13 Dec 2007 23:28:57 +0000 (UTC) Received: from mail.barafranca.com ([67.19.101.164]) by localhost (mail.barafranca.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06054-03 for ; Thu, 13 Dec 2007 23:28:18 +0000 (UTC) Received: from [192.168.200.26] (a213-22-38-76.cpe.netcabo.pt [213.22.38.76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.barafranca.com (Postfix) with ESMTP id 0D292C4F0D for ; Thu, 13 Dec 2007 23:28:17 +0000 (UTC) Message-ID: <4761BE90.3040001@barafranca.com> Date: Thu, 13 Dec 2007 23:21:52 +0000 From: Hugo Silva User-Agent: Thunderbird 2.0.0.9 (X11/20071213) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at barafranca.com X-Spam-Status: No, score=0 tagged_above=-1 required=4 tests=[none] X-Spam-Score: 0 X-Spam-Level: Subject: BETA4 and powerd (not doing anything) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2007 23:22:40 -0000 Hi, Reporting another issue on BETA4, powerd isn't adapting the cpu frequency at all on my system - running it with -v shows that it selects APM, and then sits doing nothing. If if would check AC status via hw.acpi.battery.state (2=AC power 1=battery), (at least on) this system it would work::: From powerd.c: #define ACPIAC "hw.acpi.acline" (...) if (sysctlnametomib(ACPIAC, acline_mib, &len) == 0) { hw.acpi.acline does not exist (on this system, at least) but hw.acpi.battery.state does, and is immediatly changed as soon as I plug/unplug ac power. Best regards, Hugo