From owner-freebsd-current@FreeBSD.ORG Fri Mar 11 23:42:06 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4531616A4CE for ; Fri, 11 Mar 2005 23:42:06 +0000 (GMT) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCDC543D1F for ; Fri, 11 Mar 2005 23:42:05 +0000 (GMT) (envelope-from freebsd-current@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1D9tkm-0004Rt-D1 for freebsd-current@freebsd.org; Sat, 12 Mar 2005 00:41:12 +0100 Received: from rms.gnu-rox.org ([62.212.121.152]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Mar 2005 00:41:12 +0100 Received: from zedek by rms.gnu-rox.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Mar 2005 00:41:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: freebsd-current@freebsd.org To: freebsd-current@freebsd.org From: Xavier Maillard Date: Fri, 11 Mar 2005 22:41:52 +0100 Organization: GNU Rox ! Lines: 47 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: rms.gnu-rox.org X-Face: "qG{UC8GPzro#PZ!Jgisuj0]=k10 f#d596CJMPGOGwB'j\^JR2g0']N%L:ylC`?.l8u#JuS#CygUA}avHHVJJ!#ub7CxX#u]g}?z,hQ;c q%v]"[$!BfS Mail-Copies-To: never X-Attribution: zeDek X-Accept-Language: fr-fr, en-en, en-fr User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:u+Dh9OxpfqDk1G6z1S6W8d3cql0= Sender: news X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-MailScanner-From: freebsd-current@m.gmane.org X-MailScanner-To: freebsd-current@freebsd.org X-Mailman-Approved-At: Sat, 12 Mar 2005 12:51:51 +0000 Subject: Re: Using cpufreq X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 23:42:06 -0000 On 11 Mar 2005, Alexander S. Usov wrote: > Hi! Hi, > I have upgraded to 5.4-PRERELEASE this weekend, and can't > figure out how to use/enable cpufreq framework. > > With my standart kernel config I have no cpufreq.ko not > acpi_perf.ko. Adding "device cpufreq" (mentioned in cpufreq(4)) > to the kernel config does not work either. > > How does one enables it at all? what does : locate cpufreq.ko say ? It should tell: ,----[ locate cpufreq.ko ] | /boot/kernel/cpufreq.ko | /boot/kernel.old/cpufreq.ko | /usr/obj/usr/src/sys/MONNOYAU/modules/usr/src/sys/modules/cpufreq/cpufreq.ko `---- Then, all you have to do is to put a line along your /boot/loader.conf: ,----[ loader.conf ] | splash_bmp_load="YES" | vesa_load="YES" | bitmap_load="YES" | bitmap_name="/boot/splash.bmp" | acpi_load="YES" | cpufreq_load="YES" `---- and tweak your power_profile* in /etc/rc.conf Hope that will help. Cheers, -- .o. | Hacker wonderland ..o | ooo |