From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 17 11:26:54 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D70D216A4CE for ; Wed, 17 Mar 2004 11:26:54 -0800 (PST) Received: from mail.lambertfam.org (www.lambertfam.org [216.223.208.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id AED9E43D1D for ; Wed, 17 Mar 2004 11:26:52 -0800 (PST) (envelope-from lambert@lambertfam.org) Received: from localhost (localhost [127.0.0.1]) by mail.lambertfam.org (Postfix) with ESMTP id 86DFA34D5E for ; Wed, 17 Mar 2004 14:26:51 -0500 (EST) Received: from mail.lambertfam.org ([127.0.0.1]) by localhost (www.lambertfam.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 49872-01 for ; Wed, 17 Mar 2004 14:26:50 -0500 (EST) Received: by mail.lambertfam.org (Postfix, from userid 999) id 9174D34D59; Wed, 17 Mar 2004 14:26:50 -0500 (EST) Date: Wed, 17 Mar 2004 14:26:50 -0500 From: Scott Lambert To: freebsd-mobile@freebsd.org Message-ID: <20040317192650.GB41487@www.lambertfam.org> Mail-Followup-To: freebsd-mobile@freebsd.org References: <74EC3F3BA88A824FA61D3FD88097DB821915EF@ITIServer03.iti> <20040311180557.GB78217@www.lambertfam.org> <20040313000147.GQ28592@poupinou.org> <1079517975.10165.0.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1079517975.10165.0.camel@localhost> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at lambertfam.org Subject: Re: PowerNow in mobile AthlonXP X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2004 19:26:55 -0000 On Wed, Mar 17, 2004 at 10:06:15AM +0000, Simon Dick wrote: > On Sat, 2004-03-13 at 00:01, Bruno Ducrot wrote: > > On Thu, Mar 11, 2004 at 01:05:57PM -0500, Scott Lambert wrote: > > > On Thu, Mar 11, 2004 at 09:17:11AM +0100, antic_eye wrote: > > > > Hi there, > > > > > > > > I googled all the web for a solution, so I hope you could help me. I > > > > have a PackardBell Laptop with a mobile athlon xp inside. I installed > > > > FreeBSD 5.2.1 3 weeks ago and everything works fine. Even the screen > > > > flickering under x I fixed (it lasts me one week :o)). > > > > > > > > My problem is, that I dont know how to trottle the cpu frequency. Linux > > > > has the cpufreqd. Is there anything appropriate in BSD? ACPI is up and > > > > running (expect the StandBy mode - it doesn't work) > > > > > > I think Nate Lawson is working on getting a generic CPU frequency > > > maniplation system added. My athlon laptop also runs full speed all the > > > time and has no throttle options in the acpi sysctls. > > > > > > hw.acpi.cpu.cx_supported: C1/0 > > > hw.acpi.cpu.cx_lowest: 0 > > > hw.acpi.cpu.cx_history: 42619368/0 > > > > > > > That strange. I would expect that your laptop will support at least C2 > > since without it a laptop based on Athlon is somewhat overheaten. > > My XP2400+ laptop does show C2: > simond@laptop:~$ sysctl hw.acpi.cpu > hw.acpi.cpu.cx_supported: C1/0 C2/90 > hw.acpi.cpu.cx_lowest: 0 > hw.acpi.cpu.cx_history: 62780232/0 0/0 My DSDT may be messed up. However, thanks to Bruno, I now have the ability to set my processor speed to six different levels without going through ACPI. This has significantly cooled my lap, reduced local noise pollution, and enhanced battery run times. 14:19:41 Wed Mar 17 $ sysctl hw.powernow hw.powernow.frequency: 532000 hw.powernow.voltage: 1200 hw.powernow.max_states: 6 hw.powernow.state: 5 hw.powernow.table: fsb 133MHz latency 100.000us 0 1862000kHz FID 16 (14.0) VID 0b (1450mV) 1 1463000kHz FID 00 (11.0) VID 0d (1350mV) 2 1064000kHz FID 0a ( 8.0) VID 13 (1200mV) 3 798000kHz FID 06 ( 6.0) VID 13 (1200mV) 4 665000kHz FID 04 ( 5.0) VID 13 (1200mV) 5 532000kHz FID 12 ( 4.0) VID 13 (1200mV) -- Scott Lambert KC5MLE Unix SysAdmin lambert@lambertfam.org http://www.lambertfam.org/~lambert/resume.html