From owner-freebsd-acpi@FreeBSD.ORG Mon Feb 7 00:26:49 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 BB64F16A4CE for ; Mon, 7 Feb 2005 00:26:49 +0000 (GMT) Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65B0A43D3F for ; Mon, 7 Feb 2005 00:26:49 +0000 (GMT) (envelope-from pawel.worach@telia.com) Received: from [127.0.0.1] (81.225.14.129) by pne-smtpout1-sn2.hy.skanova.net (7.1.026.7) (authenticated as u86211448) id 41E32167003AF163; Mon, 7 Feb 2005 01:26:17 +0100 Message-ID: <4206B5A6.20100@telia.com> Date: Mon, 07 Feb 2005 01:26:14 +0100 From: Pawel Worach User-Agent: Mozilla Thunderbird 1.0 (X11/20050204) 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 cc: acpi@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 00:26:49 -0000 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. > Tried this on my ThinkPad T41, seems to work great except I managed to produce this message one time. -- Power is plugged in here, freq=1700 acpi_acad0: Off Line cpu0: Performance states changed -- Power unplugged, power_profile adjusted freq to 75 :) acpi_acad0: On Line -- Power reconnected, freq stayed at 75 acpi_perf0: Px transition to 1700 failed acpi_perf0: set freq failed, err 6 stray irq7 stray irq7 stray irq7 stray irq7 too many stray irq 7's: not logging anymore cpu0: Performance states changed -- Manually pushed freq back to 1700 without problems CPU: Intel(R) Pentium(R) M processor 1700MHz (1698.56-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x695 Stepping = 5 # sysctl dev.cpu dev.cpu.0.%desc: ACPI CPU (3 Cx states) dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.CPU_ dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.freq: 1700 dev.cpu.0.freq_levels: 1700/24500 1487/21437 1400/19500 1275/18375 1225/17062 1200/16000 1062/15312 1000/13000 900/12000 875/12187 850/12250 800/9500 750/10000 700/9750 637/9187 600/6000 525/7312 500/6500 450/6000 425/6125 400/4750 375/4875 350/4875 300/4000 250/3250 212/3062 175/2437 150/2000 125/1625 100/1187 75/750 Both acpi_perf.ko and cpufreq.ko loaded. -- Pawel