From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 17 14:15:31 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 138EF16A4CE for ; Wed, 17 Mar 2004 14:15:31 -0800 (PST) Received: from mail.lambertfam.org (www.lambertfam.org [216.223.208.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id DECC843D45 for ; Wed, 17 Mar 2004 14:15:30 -0800 (PST) (envelope-from lambert@lambertfam.org) Received: from localhost (localhost [127.0.0.1]) by mail.lambertfam.org (Postfix) with ESMTP id 0DFB834D52 for ; Wed, 17 Mar 2004 17:15:30 -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 58195-04 for ; Wed, 17 Mar 2004 17:15:29 -0500 (EST) Received: by mail.lambertfam.org (Postfix, from userid 999) id 2C34034D50; Wed, 17 Mar 2004 17:15:29 -0500 (EST) Date: Wed, 17 Mar 2004 17:15:29 -0500 From: Scott Lambert To: FreeBSD-mobile@FreeBSD.org Message-ID: <20040317221529.GD53072@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> <20040317192650.GB41487@www.lambertfam.org> <20040317202916.GA5235@trimind.de> <20040317211359.GB53072@www.lambertfam.org> <20040317220838.GA5647@trimind.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040317220838.GA5647@trimind.de> 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 22:15:31 -0000 On Wed, Mar 17, 2004 at 11:08:38PM +0100, Sascha Klauder wrote: > On Wed, Mar 17, 2004 at 04:13:59PM -0500, Scott Lambert wrote: > > > On Wed, Mar 17, 2004 at 02:26:50PM -0500, Scott Lambert wrote: > > > > 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 > > > Uh...that sounds pretty cool. Where to pick up the patches? > > > Please? :) > > http://poupinou.org/cpufreq/bsd/powernow_k7.tar.gz > > Loads fine on my HP nx9005 (5.0-CURRENT just a few days old), > but does not register the sysctl OIDs. Quickly inserting a > few printf()'s indicates that retrieve_conf_from_bios() fails > somehow, but I'm at a loss at how to fix that right now. Bruno apparantly didn't take my gross hack to double the number of pst entries to search. In retrieve_conf_from_bios(), try changing : for (i = 0; i < psb->numpst; i++) { to: for (i = 0; i < psb->numpst * 2 ; i++) { On my laptop the matching entry is at i = 16 even though psb->numpst = 14. > But it's pretty cool that Bruno ported it nonetheless! Maybe > I get it running on my nx9005 somehow. > > > Bruno also found a little bug in sys/dev/acpica/acpi_cpu.c > > that was preventing my machine from showing the C2 option on > > hw.acpi.cpu.cx_supported. > > Is this in CVS already? Nate committed it just a few minutes ago. -- Scott Lambert KC5MLE Unix SysAdmin lambert@lambertfam.org http://www.lambertfam.org/~lambert/resume.html