Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2004 17:15:29 -0500
From:      Scott Lambert <lambert@lambertfam.org>
To:        FreeBSD-mobile@FreeBSD.org
Subject:   Re: PowerNow in mobile AthlonXP
Message-ID:  <20040317221529.GD53072@www.lambertfam.org>
In-Reply-To: <20040317220838.GA5647@trimind.de>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040317221529.GD53072>