From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 24 11:07:08 2007 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D858916A4ED for ; Mon, 24 Dec 2007 11:07:08 +0000 (UTC) (envelope-from andrey.kosachenko@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 4D13E13C474 for ; Mon, 24 Dec 2007 11:07:08 +0000 (UTC) (envelope-from andrey.kosachenko@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so1474933uge.37 for ; Mon, 24 Dec 2007 03:07:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:from; bh=MV4GVyCgRFyoUV3q+aonwqx+lU+DxzL9YsoFg+AsRtE=; b=OmCY2vAcO+0GRC6wPRDveoguyAxMpJ946CXzaL895jgOvx7vHY11ISrMRM+G4WSzuZjb7qiYkn948c4WXq0Hqragw3qoKVmUG8tAtFi5xSg7frdD8H9in+9FC25HdQtpCfNojftdkDVeHQTltTnRaJrChMoqxQewMMCzPNDLBhY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=Dg9Vefm9e64AfOwGXUHBkwQLZzAsO63ty7lrgg3cmjZRSYPq3sB/fSFNKKjgSNzVcQkIZIKfrt0WnCtn9AtdyWqvzGzsKkUi58gfGhqEpXBB5i079VMat7XrWZcjhGgkWFKXlGWuVwyC/FSBiwcoEEHaYx3Rsz3EUx7EGLUB2Bw= Received: by 10.67.20.3 with SMTP id x3mr2961378ugi.3.1198494427144; Mon, 24 Dec 2007 03:07:07 -0800 (PST) Received: from beastie.lan ( [194.9.14.78]) by mx.google.com with ESMTPS id b35sm19839973ugd.33.2007.12.24.03.07.04 (version=SSLv3 cipher=RC4-MD5); Mon, 24 Dec 2007 03:07:05 -0800 (PST) Message-ID: <476F929E.70006@gmail.com> Date: Mon, 24 Dec 2007 13:06:06 +0200 User-Agent: Thunderbird 2.0.0.9 (X11/20071129) MIME-Version: 1.0 To: freebsd-acpi@FreeBSD.org References: <476E8674.5000303@gmail.com> <20071224091511.GA25786@phat.za.net> In-Reply-To: <20071224091511.GA25786@phat.za.net> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit From: Andrey Cc: Subject: Re: powerd doesn't decrease CPU frequency in some cases X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Dec 2007 11:07:09 -0000 Hi, Thank you, Aragon. Actually, your patch does the same as mine (but in a different way). Thus we have at least 2 cases so far when the challenge is appeared. But I'm not sure if our solutions are the best way out. And... I believe, that it would be wonderful if Nate Lawson take a look here and evaluate the things we are talking through. Aragon Gouveia wrote: > Hi, > > I recently experienced the exact same behaviour as you are experiencing. > I'm running an HP Pavilion dv2610ei. In my case, dev.cpu.0.freq_levels > shows frequencies 2201 and 2200 (2.2 GHz Core2Duo CPU), and setting > frequency to 2200 jumps to 2201. This was completely messing with powerd as > it does not expect a frequency change to jump to another level. > > I wrote a powerd patch a while ago which adds a check condition and removes > a frequency level if it fails to get set. It's attached. Please feel free > to test it and report back. :) > > > Regards, > Aragon -- Sincerely, Andrey Kosachenko