From owner-freebsd-current@FreeBSD.ORG Sun Feb 6 21:21:37 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 742B716A4CE; Sun, 6 Feb 2005 21:21:37 +0000 (GMT) Received: from ylpvm01.prodigy.net (ylpvm01-ext.prodigy.net [207.115.57.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 166FD43D2D; Sun, 6 Feb 2005 21:21:37 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.51] (adsl-64-171-186-189.dsl.snfc21.pacbell.net [64.171.186.189])j16LLZvE027151; Sun, 6 Feb 2005 16:21:35 -0500 Message-ID: <42068A5C.1030300@root.org> Date: Sun, 06 Feb 2005 13:21:32 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041205) X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: acpi@freebsd.org Subject: HEADSUP: cpufreq import complete, acpi_throttling changed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2005 21:21:37 -0000 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, -- Nate