From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 24 11:43:26 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 849E016A419 for ; Mon, 24 Dec 2007 11:43:26 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 112D413C468 for ; Mon, 24 Dec 2007 11:43:24 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id WAA23354; Mon, 24 Dec 2007 22:43:17 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 24 Dec 2007 22:43:16 +1100 (EST) From: Ian Smith To: Andrey In-Reply-To: <476F929E.70006@gmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org 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:43:26 -0000 On Mon, 24 Dec 2007, Andrey wrote: > 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. I've watched with amazement over the months seeing various problems with machines having such as 2201 and 2200, or 2001 and 2000MHz frequencies. It makes no sense to me at all that manufacturers would bother having a separate frequency just 1MHz higher. It seems ridiculous, and bogus. Just an observation .. Cheers, Ian > 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