From owner-freebsd-questions@FreeBSD.ORG Sun Jan 28 06:31:22 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D067116A403 for ; Sun, 28 Jan 2007 06:31:22 +0000 (UTC) (envelope-from fk@rosy.dyndns.org) Received: from rosy.dyndns.org (softbank220038116052.bbtec.net [220.38.116.52]) by mx1.freebsd.org (Postfix) with SMTP id 3E84113C474 for ; Sun, 28 Jan 2007 06:31:22 +0000 (UTC) (envelope-from fk@rosy.dyndns.org) Received: (qmail 44362 invoked from network); 28 Jan 2007 06:07:15 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 28 Jan 2007 06:07:15 -0000 To: applecom@inbox.ru In-Reply-To: References: <20070128014602A.fk@rosy.dyndns.org> X-Mailer: Mew version 1.94.2 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20070128150715A.fk@rosy.dyndns.org> Date: Sun, 28 Jan 2007 15:07:15 +0900 From: FK X-Dispatcher: imput version 20000228(IM140) Lines: 79 Cc: fk@rosy.dyndns.org, questions@freebsd.org Subject: Re: Pentium 3 Clock Frequency Control X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2007 06:31:22 -0000 Dear all, Thank you for your information. From: applecom@inbox.ru Subject: Re: Pentium 3 Clock Frequency Control Date: Sun, 28 Jan 2007 00:14:54 +0500 Message-ID: applecom> FK wrote: applecom> applecom> > Is it posible to control Pentium 3 clock frequency on FreeBSD? applecom> > The purpose is to reduce the power consumption and lengthen battery applecom> > life. applecom> > In addition, how can we know what speed of cpu clock frequecy a cpu applecom> > supports and what speed a cpu take at any given time? I suppose applecom> > that a command which returns each information exist. applecom> > Well, a couple years ago I patched to, if I remember correctly, applecom> > 5.4 kernel and it made this need possible at least on Pentium M. applecom> > I tried to find the web page but I failed. applecom> > I am using FreeBSD6.0-RELEASE now. applecom> applecom> Look at applecom> http://lists.freebsd.org/pipermail/freebsd-acpi/2005-March/001346.html applecom> Hope it helps. I thought cpufreq.ko is a driver for cpu frequecy control, as its man page says. I loaded it to the kernel, with nothing changed like below. The output of my sysctl is differen from the website you showed me. The sysctl of his mentioned acpi, which I disabled. I chose apm, because it turned off the TFT backlight, which acpi failed. TFT backlight off is also critical for the power-saving. Any suggetions? Still, I would like to know what cpu the cpufreq.ko supports. Its man page does not say anything. And I would like to know whether we have any other drivers on which this function is implemented. -- FK. -- Quoted from Man -- DESCRIPTION The cpufreq driver provides a unified kernel and user interface to CPU frequency control drivers. It combines multiple drivers offering differ- ent settings into a single interface of all possible levels. Users can access this interface directly via sysctl(8) or by indicating to /etc/rc.d/power_profile that it should switch settings when the AC line state changes via rc.conf(5). -- End of quatation -- >sysctl dev.cpu dev.cpu.0.%driver: cpu dev.cpu.0.%parent: legacy0 >sysctl dev | grep apm dev.apm.0.%desc: APM BIOS dev.apm.0.%driver: apm dev.apm.0.%parent: legacy0 >kldstat Id Refs Address Size Name 1 12 0xc0400000 3d5e94 kernel 2 1 0xc07d6000 51f8 snd_t4dwave.ko 3 2 0xc07dc000 1d9c8 sound.ko 4 1 0xc07fa000 57ac apm.ko 5 2 0xc15d7000 c000 ipfw.ko 6 1 0xc15e5000 4000 ipdivert.ko 7 1 0xc163b000 4000 logo_saver.ko 8 1 0xc1643000 15000 linux.ko 9 1 0xc2011000 8000 cpufreq.ko