PowerNow in mobile AthlonXP
Scott Lambert
lambert at lambertfam.org
Wed Mar 17 14:15:31 PST 2004
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 at lambertfam.org http://www.lambertfam.org/~lambert/resume.html
More information about the freebsd-mobile
mailing list