From owner-freebsd-acpi@FreeBSD.ORG Wed Nov 30 20:46:40 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org 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 87BDF16A41F for ; Wed, 30 Nov 2005 20:46:40 +0000 (GMT) (envelope-from marco.calviani@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE73643D77 for ; Wed, 30 Nov 2005 20:46:19 +0000 (GMT) (envelope-from marco.calviani@gmail.com) Received: by xproxy.gmail.com with SMTP id h27so109298wxd for ; Wed, 30 Nov 2005 12:46:15 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rsLp92ed5ZOto7ySW9Ja+fiN3EmBw1PNZ9yjBsaTbyjgjPWXAqpeKo5hgfBjF3GpjFkDfVkwGUMc/ENbnQuSCbcwUSwMzgHJ7IcESTwb7rKwsAecx44PiuVaZyjgRPwxeY037KG1H18myzHiwrrSwgaV2rQKM6iuivsramF1ELM= Received: by 10.65.96.7 with SMTP id y7mr410897qbl; Wed, 30 Nov 2005 12:05:59 -0800 (PST) Received: by 10.65.243.16 with HTTP; Wed, 30 Nov 2005 12:05:59 -0800 (PST) Message-ID: Date: Wed, 30 Nov 2005 20:05:59 +0000 From: Marco Calviani To: freebsd-questions@freebsd.org, freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org In-Reply-To: <438DE9D0.6080107@root.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051130133224.GA4713@poupinou.org> <438DE9D0.6080107@root.org> Cc: Subject: Re: cpufreq and changing driver X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Nov 2005 20:46:40 -0000 Hi Nate, 2005/11/30, Nate Lawson : > > You should send the full output of "sysctl dev.cpu". There is no > cpufreq driver (est, acpi_perf, or other) driver running. Perhaps look > at your dmesg to see if one is probing/attaching. > > sysctl dev.cpu dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=3D\_PR_.CPU0 dev.cpu.0.%pnpinfo: _HID=3Dnone _UID=3D0 dev.cpu.0.%parent: acpi0 dev.cpu.0.freq: 1000 dev.cpu.0.freq_levels: 1800/24000 1600/20000 1400/18000 1225/15750 1050/13500 1000/16000 875/14000 750/12000 625/10000 600/12000 525/10500 450/9000 375/7500 300/6000 225/4500 150/3000 75/1500 and if useful, > dmesg | grep -i acpi Features=3D0xafe9f9bf acpi0: on motherboard acpi0: Power Button (fixed) pci_link0: irq 6 on acpi0 pci_link1: irq 10 on acpi0 pci_link2: irq 6 on acpi0 pci_link3: irq 6 on acpi0 pci_link4: irq 10 on acpi0 pci_link5: irq 0 on acpi0 pci_link6: irq 0 on acpi0 pci_link7: irq 10 on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 acpi_perf0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib2: at device 30.0 on pci0 pci2: on pcib2 acpi_lid0: on acpi0 acpi_acad0: on acpi0 battery0: on acpi0 battery1: on acpi0 acpi_button0: on acpi0 acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 ppc0: port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on acpi0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acp= i0 sio1 port 0x2f8-0x2ff irq 3 drq 1 on acpi0 > If you are using acpi and load cpufreq.ko, you've got all the cpufreq > drivers in one package. The right one for your platform will > automatically probe/attach. It seems that my system has recognized acpi_perf as the appropriate driver. But since my CPU is a dothan type centrino i would like to understand why is not possible to use the est driver. > I have no idea what you mean by "on-demand governor". The only > automated control of cpu speed is either by the BIOS (which we can't > control) or the TM/TM2 (and that one is heat-based, not load-based). > I was referring to this http://www.intel.com/cd/ids/developer/asmo-na/eng/195910.htm?prn=3DY and http://lwn.net/Articles/55589/ introduced in linux kernel 2.6.9 . Just to remind: sorry if this is not applicable to the freeBSD kernel. In the linux case the system is much more responsive to actual user actions in respect to what i'm experiencing with powerd. If i can help in some way in testing i would like to contribute. > -- > Nate > Regards, MC