From owner-freebsd-acpi@FreeBSD.ORG Mon Feb 7 12:00:07 2005 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F68B16A4CE; Mon, 7 Feb 2005 12:00:07 +0000 (GMT) Received: from www.portaone.com (web.portaone.com [195.70.151.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E96043D31; Mon, 7 Feb 2005 12:00:04 +0000 (GMT) (envelope-from sobomax@portaone.com) Received: from [192.168.0.128] ([192.168.2.2]) (authenticated bits=0) by www.portaone.com (8.12.11/8.12.11) with ESMTP id j17BvlrE077817 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 7 Feb 2005 12:57:49 +0100 (CET) (envelope-from sobomax@portaone.com) Message-ID: <420757AD.9060603@portaone.com> Date: Mon, 07 Feb 2005 13:57:33 +0200 From: Maxim Sobolev Organization: Porta Software Ltd User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nate Lawson References: <42068A5C.1030300@root.org> In-Reply-To: <42068A5C.1030300@root.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.80/685/Wed Jan 26 10:08:24 2005 clamav-milter version 0.80j on www.portaone.com X-Virus-Status: Clean cc: acpi@freebsd.org cc: current@freebsd.org Subject: Re: HEADSUP: cpufreq import complete, acpi_throttling changed X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2005 12:00:07 -0000 Great! It would be nice if you can document this new facility in the Handbook, since it is likely to be of interest for very large percentage of FreeBSD users. Also, it should be mentioned in the release notes. -Maxim Nate Lawson wrote: > I've finished the major work of importing cpufreq. As part of this, the > sysctls for acpi throttling have been removed. The power_profile script > has been updated, so you can use performance/economy_cpu_freq= in > rc.conf to set AC on/offline cpu frequencies. The acpi throttling > support has been compiled into acpi_perf.ko so load that to get > throttling. Do a sysctl dev.cpu to get an understanding of the cpufreq > sysctls. > > If you have throttling, please test the new configuration to be sure it > still works as before. Final upcoming work will be manpage support and > bugfixing as necessary. > > I'd also like to issue a call for developers to help by porting older > drivers (like longrun) and out-of-tree new drivers (like powernow-k7/k8 > and speedstep-m) to the cpufreq interface. It's very simple and you > just have to figure out if your driver is absolute or relative, and > convert values to the proper units (percent in hundredths, power in mW, > etc.) Once that is done, please send me the diff for review before > commit so I can make sure it works properly. > > Thanks,