From owner-freebsd-acpi@FreeBSD.ORG Sat Feb 19 18:11:58 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 F27D316A4CE; Sat, 19 Feb 2005 18:11:57 +0000 (GMT) Received: from bgo1smout1.broadpark.no (bgo1smout1.broadpark.no [217.13.4.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02FE143D1D; Sat, 19 Feb 2005 18:11:57 +0000 (GMT) (envelope-from morten@rodal.no) Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IC6000HJ7MLP380@bgo1smout1.broadpark.no>; Sat, 19 Feb 2005 19:06:21 +0100 (CET) Received: from slimy.rodal.no ([80.202.56.120]) by bgo1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IC600KGQ7Z7PIA0@bgo1sminn1.broadpark.no>; Sat, 19 Feb 2005 19:13:55 +0100 (CET) Received: from burton.rodal.no (burton.rodal.no [192.168.20.70]) by slimy.rodal.no (8.12.11/8.12.11) with ESMTP id j1JIBcKD070719; Sat, 19 Feb 2005 19:11:38 +0100 (CET envelope-from morten@rodal.no) Received: from localhost (localhost [[UNIX: localhost]]) by burton.rodal.no (8.13.1/8.13.1/Submit) id j1JIBaBS020089; Sat, 19 Feb 2005 19:11:36 +0100 (CET envelope-from morten@rodal.no) Date: Sat, 19 Feb 2005 19:11:35 +0100 From: Morten Rodal In-reply-to: <42068A5C.1030300@root.org> To: Nate Lawson Message-id: <200502191911.36228.morten@rodal.no> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Content-disposition: inline X-Virus-Scanned: by amavisd-new References: <42068A5C.1030300@root.org> X-Authentication-warning: burton.rodal.no: morten set sender to morten@rodal.no using -f User-Agent: KMail/1.7.2 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: Sat, 19 Feb 2005 18:11:58 -0000 On Sunday 06 February 2005 22:21, Nate Lawson wrote: > 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. > Throttling used to work on my Dell Inspiron 8200, but with the new cpufreq/acpi_perf I only get errors when trying to set a new cpu frequency, like this: # sysctl dev.cpu.0.freq=1200 acpi_perf0: Px transition to 1200 failed acpi_perf0: set freq failed, err 6 Regardless of what value I use, it either says 'Px transition to 1200 failed' or 'Px transition to 1700 failed.' Here's more info from various sysctl's: # sysctl hw.acpi.cpu hw.acpi.cpu.cx_supported: C1/0 C2/50 hw.acpi.cpu.cx_lowest: C2 hw.acpi.cpu.cx_usage: 0.00% 100.00% # sysctl dev.cpu dev.cpu.0.%desc: ACPI CPU (2 Cx states) dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.CPU0 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.freq: 1700 dev.cpu.0.freq_levels: 1700/0 1487/0 1275/0 1200/0 1062/0 900/0 850/0 750/0 637/0 600/0 450/0 425/0 300/0 212/0 150/0 If I remember correctly the old interface said something about 8 throttling states ranging from 12.X% to 100%, but I seem to have many more freq_levels now? The CPU is a Pentium 4 Mobile 1.7GHz # dmesg | grep -i cpu CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz (1695.01-MHz 686-class CPU) cpu0: on acpi0 acpi_perf0: on cpu0 acpi_throttle0: on cpu0 -- Morten Rodal "A supercomputer is a device for turning compute-bound problems into I/O bound problems." -- Ken Batcher (Goodyear Aerospace)