From owner-freebsd-acpi@FreeBSD.ORG Thu Feb 24 21:02:32 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 9F94F16A4CE; Thu, 24 Feb 2005 21:02:32 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 492A043D2D; Thu, 24 Feb 2005 21:02:32 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id j1OL2UZj016741 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 24 Feb 2005 13:02:30 -0800 Message-ID: <421E40E6.9010804@root.org> Date: Thu, 24 Feb 2005 13:02:30 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tobias Grosser References: <4213F066.2050708@root.org> <4214119B.2010909@telia.com> <421537E9.8050203@root.org> <1108749117.981.1.camel@tobias.home.web-wahnsinn.de> In-Reply-To: <1108749117.981.1.camel@tobias.home.web-wahnsinn.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: acpi@freebsd.org cc: current@freebsd.org Subject: Re: patch: p4tcc and speedstep cpufreq drivers 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: Thu, 24 Feb 2005 21:02:32 -0000 Tobias Grosser wrote: > with patch: "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: -1 > -------------------------------------------------------------------- This should be fixed now in -current. > without patch: "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 12 00/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 > -------------------------------------------------------------------- > > 3. Since always my CPU gets different numbers of Cx states, if connected > to power during boot or not. 3 states with power 4 without. The number > of the states doesn't change, if I plug or unplug the power connection. That is a function of the BIOS. It decides what states you get at various times. The acpi_perf driver should successfully adjust when things change at runtime. The other drivers have no way of knowing. > 4. One question. Under Windows my battery should reach about 4.7 hrs > under FBSD i reached about 3 hrs with est. Will your new patches change > the BSD values? I don't know but things should be getting better. -- Nate